[Atari800-users] Mapping Arrow Keys
Brought to you by:
joy
|
From: Craig S. <cra...@gm...> - 2026-09-08 23:49:11
|
Dear Support Team, I have utilized the atari800 emulator in the past on my Linux machine mainly to play and work with BASIC programs. However, I was trying to play some games as well from the Atari Mania site. I don't have a joystick, so I am dependent upon using my keyboard. In reviewing the atari800.cfg file and reviewing the "akey.h" file for key definitions, I was attempting to switch the keyboard mapping from the arrow keys that are a part of the number pad and directly use the "up/down/right/left" arrow keys on my keyboard. In the configuration file, there are definition lines such as the following that map the number pad for joystick #0: SDL2_JOY_0_LEFT=1073741916 I made some guesses as to how that value needed to be changed in order to directly use the arrow keys, but I kept coming up with an incorrect outcome. Basically, I would like to revise these file entries in the following manner: SDL2_JOY_0_LEFT=<left-arrow key signal value> SDL2_JOY_0_RIGHT=<right-arrow key signal value> SDL2_JOY_0_UP=<up-arrow key signal value> SDL2_JOY_0_DOWN=<down-arrow key signal value> Any guidance or assistance in this matter would be appreciated. Regards, Craig |