summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/uiinput.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/emu/uiinput.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/emu/uiinput.c')
-rw-r--r--src/emu/uiinput.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/emu/uiinput.c b/src/emu/uiinput.c
index b29ae39714a..da6eb1efc24 100644
--- a/src/emu/uiinput.c
+++ b/src/emu/uiinput.c
@@ -18,13 +18,13 @@
CONSTANTS
***************************************************************************/
-#define EVENT_QUEUE_SIZE 128
+#define EVENT_QUEUE_SIZE 128
enum
{
- SEQ_PRESSED_FALSE = 0, /* not pressed */
- SEQ_PRESSED_TRUE, /* pressed */
- SEQ_PRESSED_RESET /* reset -- converted to FALSE once detected as not pressed */
+ SEQ_PRESSED_FALSE = 0, /* not pressed */
+ SEQ_PRESSED_TRUE, /* pressed */
+ SEQ_PRESSED_RESET /* reset -- converted to FALSE once detected as not pressed */
};
@@ -37,19 +37,19 @@ enum
struct ui_input_private
{
/* pressed states; retrieved with ui_input_pressed() */
- osd_ticks_t next_repeat[IPT_COUNT];
- UINT8 seqpressed[IPT_COUNT];
+ osd_ticks_t next_repeat[IPT_COUNT];
+ UINT8 seqpressed[IPT_COUNT];
/* mouse position/info */
- render_target * current_mouse_target;
- INT32 current_mouse_x;
- INT32 current_mouse_y;
- int current_mouse_down;
+ render_target * current_mouse_target;
+ INT32 current_mouse_x;
+ INT32 current_mouse_y;
+ int current_mouse_down;
/* popped states; ring buffer of ui_events */
- ui_event events[EVENT_QUEUE_SIZE];
- int events_start;
- int events_end;
+ ui_event events[EVENT_QUEUE_SIZE];
+ int events_start;
+ int events_end;
};