Follow-up Comment #3, task #6389 (project wormux):
> In my opinion, the bind should be made the with keyboard keycode and not
value.
Yes, it should be done with keyboard keycode. Anyway, a keycode is a value
;)
There is already a very beginning of support made by Drayan, in file
data/wormux_default_config.xml :
<section name="default_keyboard_layout">
</section>
Skydreamer suggestion seems good to me.
<bind key="f1" action="help" />
In that example, "f1" will be translated in the code into SDL_KEYCODE_F1.
But we must support modifier such as ctrl, shift.
And maybe some support for joystick in that task ? I don't know. (see bug
#12335)
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?6389>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna