X-1.9 Camiel Vanderhoeven 26-MAR-2008 Fix compiler warnings.
X-1.8 Camiel Vanderhoeven 14-MAR-2008 Formatting.
X-1.4 Camiel Vanderhoeven 02-JAN-2008 Comments.
X-1.3 Camiel Vanderhoeven 10-DEC-2007 Use Configurator.
X-1.2 Camiel Vanderhoeven 7-DEC-2007 Code cleanup.
X-1.1 Camiel Vanderhoeven 6-DEC-2007 Initial version for ES40 emulator.
Definition in file keymap.cpp.
#include "../StdAfx.h"
#include "gui.h"
#include "keymap.h"
#include "../System.h"
Go to the source code of this file.
Functions | |
| static void | init_parse () |
| static void | init_parse_line (char *line_to_parse) |
| static s32 | get_next_word (char *output) |
| static s32 | get_next_keymap_line (FILE *fp, char *bxsym, char *modsym, s32 *ascii, char *hostsym) |
Variables | |
| const char * | bx_key_symbol [119] |
| bx_keymap_c * | bx_keymap |
| static unsigned char * | lineptr = NULL |
| static int | lineCount |
| static s32 get_next_keymap_line | ( | FILE * | fp, | |
| char * | bxsym, | |||
| char * | modsym, | |||
| s32 * | ascii, | |||
| char * | hostsym | |||
| ) | [static] |
Definition at line 190 of file keymap.cpp.
References BX_PANIC, get_next_word(), and init_parse_line().
Referenced by bx_keymap_c::loadKeymap().
| static s32 get_next_word | ( | char * | output | ) | [static] |
| static void init_parse | ( | ) | [static] |
| static void init_parse_line | ( | char * | line_to_parse | ) | [static] |
| const char* bx_key_symbol[119] |
Definition at line 63 of file keymap.cpp.
Referenced by bx_keymap_c::convertStringToBXKey(), and bx_keymap_c::getBXKeyName().
Definition at line 106 of file keymap.cpp.
Referenced by bx_sdl_gui_c::bx_sdl_gui_c(), bx_win32_gui_c::bx_win32_gui_c(), bx_x11_gui_c::bx_x11_gui_c(), CKeyboard::gen_scancode(), bx_sdl_gui_c::handle_events(), bx_sdl_gui_c::specific_init(), bx_x11_gui_c::specific_init(), bx_win32_gui_c::specific_init(), and xkeypress().
int lineCount [static] |
Definition at line 147 of file keymap.cpp.
unsigned char* lineptr = NULL [static] |
Definition at line 146 of file keymap.cpp.