Keyboard configuration

Posted:
Sun Jul 03, 2011 09:08
by Dogers
Usually , on any game , I use the directional arrow key in order to move and the NumPad for the other commands . But in minetest (I kow how to bind other keys) , I can't play with the arrows and NumPad . So I need some help . Is someone could tell me the name of the arrow and NumPad keys to put in the config file please ? Thanks by advance !

Posted:
Sun Jul 03, 2011 13:12
by Heinrich
Edit minetest.conf:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
keymap_forward = KEY_UP
keymap_backward = KEY_DOWN
keymap_left = KEY_LEFT
keymap_right = KEY_RIGHT

Posted:
Sun Jul 03, 2011 13:22
by Dogers
Thanks dude !
Is someone know the name of the NumPad keys now ?

Posted:
Sun Jul 03, 2011 13:35
by benajamin
It is all here:
http://irrlicht.sourceforge.net/docu/_keycodes_8h-source.htmlBut what you are looking for is: KEY_NUMPAD0 KEY_NUMPAD1 ... KEY_NUMPAD9

Posted:
Sun Jul 03, 2011 13:39
by Dogers
Oh yeah ! Thank you very much !