blob: 093814a95f20c8333dda9aef710ceb77ec135669 (
plain)
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
31
|
/*
* gamepad.c: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef GAMEPAD_PROCESS_KEYS_H
#define GAMEPAD_PROCESS_KEYS_H
#include <vdr/thread.h>
#include "gamepad_handler_thread.h"
#include "event_action.h"
class cGamepadProcessKeysThread: public cThread {
private:
cGamepadHandlerThread *handler;
cEventFifo *event_queue;
cEventAction *keyMap[cGamepadHandler::MAX_KEYS];
protected:
virtual void Action(void);
public:
cGamepadProcessKeysThread();
void Cancel(int WaitSeconds = 0);
virtual ~cGamepadProcessKeysThread();
void loadKeyMap(void);
};
#endif
|