OSDN Git Service

[VM][WIP] Use namespace to devices per VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / gamegear / keyboard.cpp
index abf20d3..bb9dcf0 100644 (file)
@@ -12,6 +12,8 @@
 #include "keyboard.h"
 #include "../i8255.h"
 
+namespace GAMEGEAR {
+
 static const uint8_t key_map[8][12] = {
        { 0x31, 0x51, 0x41, 0x5a, 0x15, 0xbc, 0x4b, 0x49, 0x38, 0x00, 0x00, 0x00 },
        { 0x32, 0x57, 0x53, 0x58, 0x20, 0xbe, 0x4c, 0x4f, 0x39, 0x00, 0x00, 0x00 },
@@ -101,3 +103,5 @@ bool KEYBOARD::is_start()
 {
        return start_pressed;
 }
+
+}