DOSBox-X
|
00001 /* DOSBox-X keymap handling */ 00002 #ifndef __DOSBOX_X_KEYMAP 00003 #define __DOSBOX_X_KEYMAP 00004 00005 /* these enumerations are meant to represent the host OS keyboard map, 00006 * as well as the keymap used by the mapper interface */ 00007 enum { 00008 // #0 00009 DKM_US=0, // US keyboard layout 00010 DKM_DEU, // German keyboard layout (one concerned user, in issue tracker) 00011 DKM_JPN_PC98, // Japanese PC98 keyboard layout (for PC-98 emulation) 00012 DKM_JPN, // Japanese keyboard layout (one concerned user, in issue tracker, with suggestion for mapping Ro) 00013 00014 DKM_MAX 00015 }; 00016 00017 extern unsigned int mapper_keyboard_layout; 00018 extern unsigned int host_keyboard_layout; 00019 00020 const char *DKM_to_string(const unsigned int dkm); 00021 const char *DKM_to_descriptive_string(const unsigned int dkm); 00022 00023 #endif //__DOSBOX_X_KEYMAP 00024