cdrom: partially implement attenuation
[pcsx_rearmed.git] / frontend / pandora.c
index 677784e..b82c78a 100644 (file)
@@ -60,6 +60,7 @@ struct in_default_bind in_evdev_defbinds[] = {
        { KEY_3,        IN_BINDTYPE_EMU, SACTION_PREV_SSLOT },
        { KEY_4,        IN_BINDTYPE_EMU, SACTION_NEXT_SSLOT },
        { KEY_5,        IN_BINDTYPE_EMU, SACTION_TOGGLE_FSKIP },
+       { KEY_6,        IN_BINDTYPE_EMU, SACTION_SCREENSHOT },
        { 0, 0, 0 }
 };
 
@@ -150,8 +151,9 @@ void in_update_analogs(void)
        //printf("%4d %4d %4d %4d\n", in_a1[0], in_a1[1], in_a2[0], in_a2[1]);
 }
 
-int pandora_init(void)
+int pandora_rescan_inputs(void)
 {
+       in_probe();
        in_set_config(in_name_to_id("evdev:gpio-keys"), IN_CFG_KEY_NAMES,
                      pandora_gpio_keys, sizeof(pandora_gpio_keys));