Thread
:
[Announce] Roguelike: Brogue on extras-devel
View Single Post
TimusEravan
2011-07-18 , 07:04
Posts: 101 | Thanked: 29 times | Joined on Aug 2010
#
6
The VI keys are not really intuitive on the N900 due to slightly different keyboard layout.
I have remapped the keys to have q - c for movement and moved the conflicting keys to other values.I have also remapped <> to the Up and Down arrow keys as they wont be used for movement.
The complete new remap -
// Keyboard commands:
#define UP_KEY 'w'
#define DOWN_KEY 'x'
#define LEFT_KEY 'a'
#define RIGHT_KEY 'd'
#define UP_ARROW '<'
#define LEFT_ARROW 63234
#define DOWN_ARROW '>'
#define RIGHT_ARROW 63235
#define UPLEFT_KEY 'q'
#define UPRIGHT_KEY 'e'
#define DOWNLEFT_KEY 'z'
#define DOWNRIGHT_KEY 'c'
#define DESCEND_KEY 63233
#define ASCEND_KEY 63232
#define REST_KEY 'b'
#define AUTO_REST_KEY 'B'
#define SEARCH_KEY 's'
#define INVENTORY_KEY 'i'
#define ACKNOWLEDGE_KEY ' '
#define EQUIP_KEY 'p'
#define UNEQUIP_KEY 'r'
#define APPLY_KEY 'u'
#define THROW_KEY 't'
#define DROP_KEY 'l'
#define CALL_KEY 'n'
#define FIGHT_KEY 'f'
#define FIGHT_TO_DEATH_KEY 'F'
#define HELP_KEY '?'
#define DISCOVERIES_KEY 'D'
#define REPEAT_TRAVEL_KEY RETURN_KEY
#define EXAMINE_KEY 'j'
#define EXPLORE_KEY 'J'
#define AUTOPLAY_KEY 'A'
#define SEED_KEY '~'
#define EASY_MODE_KEY '&'
#define ESCAPE_KEY '\033'
#define RETURN_KEY '\015'
#define ENTER_KEY '\012'
#define DELETE_KEY '\177'
#define TAB_KEY '\t'
#define PERIOD_KEY '.'
#define VIEW_RECORDING_KEY 'V'
#define LOAD_SAVED_GAME_KEY 'O'
#define SAVE_GAME_KEY 'S'
#define NEW_GAME_KEY 'N'
#define NUMPAD_0 48
#define NUMPAD_1 49
#define NUMPAD_2 50
#define NUMPAD_3 51
#define NUMPAD_4 52
#define NUMPAD_5 53
#define NUMPAD_6 54
#define NUMPAD_7 55
#define NUMPAD_8 56
#define NUMPAD_9 57
Can you use this file in you next build?
Attached Files
Rogue.zip
(19.6 KB, 170 views)
Quote & Reply
|
TimusEravan
View Public Profile
Send a private message to TimusEravan
Find all posts by TimusEravan