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); }
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(); }