#2696
petrockblog
Keymaster

[quote=2694]also ive just seen this:

press and release three times: send “ESC”
press and release five times: shutdown
is this to do with the button? is it possible to have so the button will just escape after 1 press
[/quote]
Currently, there is not a config file for SNESDev, but you have to change the source and re-compile SNESDev: You would have to change the line at https://github.com/petrockblog/SNESDev-RPi/blob/master/src/SNESDev.c#L250 to

uinput_kbd_write(&uinp_kbd, KEY_ESC, 1, EV_KEY);
usleep(50000);
uinput_kbd_write(&uinp_kbd, KEY_ESC, 0, EV_KEY);

Then you would call make clean followed by make. You would then have to copy the binary into the according directory: sudo cp SNESDev /usr/local/bin/ After a restart of the RPi (or just the SNESDev service via sudo service SNESDev restart) the changes should be effective.