Re: [Atari800-users] Mapping Arrow Keys
Brought to you by:
joy
|
From: Craig S. <cra...@gm...> - 2026-09-09 14:25:26
|
Miro, If you are referring to the menu panel with the various options, I could not seem to find an option to modify the configuration there. However, after sending out my issue request, I did some more searching and finally found the information I was looking for in the definition of the SDL_keycode.h file. The source code had the hexadecimal definitions for all of the keyboard keys including the up/down/left/right keys. Using this information, I was able to manually update the atari800.cfg file. Now, I can use the arrow keys effectively to play the games. Thanks for your help. This issue can be closed. Regards, Craig On Tue, Sep 8, 2026 at 11:10 PM Miro Kropáček <mir...@gm...> wrote: > Hi, > > why wouldn't you use UI for it? > > On Wed, 9 Sept 2026 at 09:50, Craig Schulstad <cra...@gm...> > wrote: > >> 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 >> >> >> _______________________________________________ >> Atari800-users mailing list >> Ata...@li... >> https://lists.sourceforge.net/lists/listinfo/atari800-users >> > > > -- > http://mikro.atari.org > > > _______________________________________________ > Atari800-users mailing list > Ata...@li... > https://lists.sourceforge.net/lists/listinfo/atari800-users > |