Mercurial > repos > blastem
comparison render.h @ 1804:34370330eaf3
Support controllers that have their dpad mapped to an axis
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 26 Mar 2019 23:26:08 -0700 |
parents | 51417bb557b6 |
children | 56a1171e29b9 |
comparison
equal
deleted
inserted
replaced
1803:a851d36e24bb | 1804:34370330eaf3 |
---|---|
84 NUM_VID_STD | 84 NUM_VID_STD |
85 } vid_std; | 85 } vid_std; |
86 | 86 |
87 #define RENDER_DPAD_BIT 0x40000000 | 87 #define RENDER_DPAD_BIT 0x40000000 |
88 #define RENDER_AXIS_BIT 0x20000000 | 88 #define RENDER_AXIS_BIT 0x20000000 |
89 #define RENDER_AXIS_POS 0x10000000 | |
89 #define RENDER_INVALID_NAME -1 | 90 #define RENDER_INVALID_NAME -1 |
90 #define RENDER_NOT_MAPPED -2 | 91 #define RENDER_NOT_MAPPED -2 |
91 #define RENDER_NOT_PLUGGED_IN -3 | 92 #define RENDER_NOT_PLUGGED_IN -3 |
92 | 93 |
93 typedef struct audio_source audio_source; | 94 typedef struct audio_source audio_source; |