X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpandora.c;h=b82c78a498ac2df4af63cb993f63259834c470ec;hp=677784e677602ad0c65c73c1aa30841c4c988328;hb=ef94866c5ee97402b81a173093c0be4ca0daa4a0;hpb=8f8926485e641efb187ff9ae11cef9d23d1e8982 diff --git a/frontend/pandora.c b/frontend/pandora.c index 677784e6..b82c78a4 100644 --- a/frontend/pandora.c +++ b/frontend/pandora.c @@ -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));