OSDN Git Service

[VM][General] Merge upstream 2016-02-13. Still don't implement OSD/Gui part of joysti...
[csp-qt/common_source_project-fm7.git] / source / src / vm / m5 / keyboard.h
1 /*
2         SORD m5 Emulator 'Emu5'
3
4         Author : Takeda.Toshiya
5         Date   : 2006.08.18 -
6
7         [ keyboard ]
8 */
9
10 #ifndef _KEYBOARD_H_
11 #define _KEYBOARD_H_
12
13 #include "../vm.h"
14 #include "../../emu.h"
15 #include "../device.h"
16
17 class KEYBOARD : public DEVICE
18 {
19 private:
20         const uint8* key_stat;
21         const uint32* joy_stat;
22 public:
23         KEYBOARD(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
24         ~KEYBOARD() {}
25         
26         // common functions
27         void initialize();
28         uint32 read_io8(uint32 addr);
29 };
30
31 #endif