Etterna
0.74.4
Loading...
Searching...
No Matches
src
arch
InputHandler
InputHandler_X11.h
1
/* InputHandler_X11 - X-based keyboard input handler. */
2
3
#ifndef INPUT_HANDLER_X11_H
4
#define INPUT_HANDLER_X11_H
5
6
#include "InputHandler.h"
7
8
class
InputHandler_X11
:
public
InputHandler
9
{
10
public
:
11
InputHandler_X11
();
12
~InputHandler_X11
();
13
void
Update();
14
void
GetDevicesAndDescriptions(std::vector<InputDeviceInfo>& vDevicesOut);
15
16
private
:
17
// timestamp is unsigned long to match X11 Time type
18
void
RegisterKeyEvent(
unsigned
long
timestamp,
19
bool
keyDown,
20
InputDevice input,
21
DeviceButton button);
22
};
23
24
#endif
InputHandler_X11
Definition
InputHandler_X11.h:9
InputHandler
A class designed to handle special input devices.
Definition
InputHandler.h:23
Generated by
1.9.8