I need a list of the key codes for each button on my keyboard so that I can change the keyboard layout for when I am playing. Specifically, I need the right [Shift], right [CTRL], [ENTER], [PG UP], and [PG DWN].
It would probably be better to be given a link to the entire code list rather than someone just giving me the numbers for the buttons listed above. That way, if I decide to change it again later on, I won't have to post here again to ask what some other button is.
Thanks for any and all your help!
Key Codes
Moderators: winston, another_commander
The web page I normally refer to is here
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
That's because Oolite uses some "special" key coding. I am not sure why this is (I found it this way when I first landed here, could be for Mac compatibility?), but if you want to have the full actual list used by the game, have a look at src/SDL/MyOpenGLView.h (look for the GameViewKeys enum) and inside the file SDL_keysym.h, found in the SDL-1.2.13.zip file inside deps/Cross-platform-deps/SDL in the Oolite source.byronarn wrote:That can't be right. That list has the arrow keys as being the 30s, whereas keyconfig.plist has the arrow keys as being in the 250s.Thargoid wrote:The web page I normally refer to is here