Update SNESDev.c

Just change the way the gpio button react before wen I pressed I would press r and a lot of other commands I didn't need, so now I press 1 time and it send me esc 2 for a shutdown