summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/input.h
blob: c3806c8b06ed04b6ed3d7f84cd707dfe629f8a15 (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
30
//============================================================
//
//  input.h - SDL implementation of MAME input routines
//
//  Copyright (c) 1996-2007, Nicola Salmoria and the MAME Team.
//  Visit http://mamedev.org for licensing and usage restrictions.
//
//  SDLMAME by Olivier Galibert and R. Belmont
//
//============================================================

#ifndef __SDLINPUT_H__
#define __SDLINPUT_H__

#include "window.h"

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

void sdlinput_init(running_machine &machine);
void sdlinput_poll(running_machine &machine);
int  sdlinput_should_hide_mouse(running_machine &machine);

sdl_window_info *sdlinput_get_focus_window(running_machine &machine);

void  sdlinput_process_events_buf(running_machine &machine);
void  sdlinput_release_keys(running_machine &machine);

#endif /* __SDLINPUT_H__ */