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 / pasopia7 / joypac2.h
1 /*
2         TOSHIBA PASOPIA Emulator 'EmuPIA'
3         TOSHIBA PASOPIA 7 Emulator 'EmuPIA7'
4
5         Author : Takeda.Toshiya
6         Date   : 2006.09.20 -
7
8         [ joystick ]
9 */
10
11 #ifndef _JOYPAC2_H_
12 #define _JOYPAC2_H_
13
14 #include "../vm.h"
15 #include "../../emu.h"
16 #include "pac2dev.h"
17
18 class JOYPAC2 : public PAC2DEV
19 {
20 private:
21         const uint32* joy;
22 public:
23         JOYPAC2(VM* parent_vm, EMU* parent_emu) : PAC2DEV(parent_vm, parent_emu) {}
24         ~JOYPAC2() {}
25         
26         // common functions
27         void initialize(int id);
28         void write_io8(uint32 addr, uint32 data);
29         uint32 read_io8(uint32 addr);
30 };
31
32 #endif
33