summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/input.h
blob: 2e8a58586b4cd54f96cee10c6afb3f7ad9669587 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//============================================================
//
//  input.h - Win32 implementation of MAME input routines
//
//  Copyright Nicola Salmoria and the MAME Team.
//  Visit http://mamedev.org for licensing and usage restrictions.
//
//============================================================

#ifndef __INPUT_H
#define __INPUT_H


//============================================================
//  PROTOTYPES
//============================================================

void wininput_init(running_machine *machine);
void wininput_poll(running_machine *machine);

BOOL wininput_handle_mouse_button(int button, int down, int x, int y);
BOOL wininput_handle_raw(HANDLE device);

int wininput_should_hide_mouse(void);

int wininput_vkey_for_mame_code(input_code code);


#endif /* __INPUT_H */