示例#1
0
struct uae_hotkeyseq *get_default_cooked_hotkeys (void)
{
    if (get_sdlgfx_type() == SDLGFX_DRIVER_QUARTZ)
	return sdl_quartz_hotkeys;
    else
	return sdl_hotkeys;
}
示例#2
0
struct uae_hotkeyseq *get_default_raw_hotkeys (void)
{
    const struct sdl_raw_keymap *k = &keymaps[0];

    while (k->sdl_gfx_driver != get_sdlgfx_type())
	k++;

    return k->hotkeys;
}