![]() |
2009-03-03
, 04:39
|
|
Posts: 480 |
Thanked: 378 times |
Joined on Apr 2008
@ Chicago-ish
|
#2
|
case SDLK_RETURN: return AKEY_RETURN ^ shiftctrl;
case SDLK_ENTER: case SDLK_RETURN: return AKEY_RETURN ^ shiftctrl;
case SDLK_ENTER: return AKEY_RETURN ^ shiftctrl; case SDLK_RETURN: return AKEY_RETURN ^ shiftctrl;
The Following User Says Thank You to TrueJournals For This Useful Post: | ||
![]() |
2009-03-03
, 14:11
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#3
|
case SDLK_KP_ENTER: return AKEY_RETURN ^ shiftctrl; case SDLK_RETURN: return AKEY_RETURN ^ shiftctrl;
I am trying to update the Atari800 emulator to work more properly on the N810, one of the big issues is the fact that the N810 keyboard return key sends KP_Enter and not K_Return (which is on the center button of the directional pad) the Atari 800 had no concept of a KP_Enter key and outputs a Atascii character to the screen instead of a return. So what I want to do (I assume) is either before launch of Atari800 change the keymapping that the N810 does so that the return key sends SDLK_Return (Xmodkey maybe?) or change the code of the emulator so that it intercepts the SDLKP_Enter and then handles it as if it were a SDLK_Return.
Neither of which I have any idea how to accomplish. Does anyone have any ideas I might try/butcher into working for this?
Thanks,
-John