Esempio n. 1
0
void c64c128_ui_init_keyboard(const char *filename)
{
  C64C128keys.default_file = filename;
  kbd_default_keymap(&C64C128keys);
  kbd_init_keymap(2);
  kbd_add_keymap(&C64C128keys, 0); kbd_add_keymap(&C64C128keys, 1);
}
Esempio n. 2
0
int cbm2_kbd_init(void)
{
    kbd_default_keymap(&CBM2keys);
    kbd_init_keymap(2);
    kbd_add_keymap(&CBM2keys, 0); kbd_add_keymap(&CBM2keys, 1);
    kbd_load_keymap(NULL, 0);
    return kbd_init();
}