Files
assaultcube-/source/src
ac-stefandaurhat 135f9f4a90 fully automatic keymap generation
If a key is not listed in keymap.cfg but SDL provides a good enough name
for the corresponding scancode, a keymap entry is generated automatically.

If a key can't be found when adding a bind, it is checked, if SDL can
resolve the key name. The resolved keybind is then used to recreate the
keymap entry - and the bind can succeed.

Some SDL names for scancodes may not be usable as keymap names: if the
name contains (, ), $ or ", it will be rejected. Also, SDL does not
provide names for all scancodes. Scancode names provided by SDL can be
platform-dependant, therefore recreating the bind may fail on a different
platform.

However, the feature should work fine with most nonstandard keys - and the
information written to clientlog can be used to amend keymap.cfg
2018-02-10 11:28:50 +01:00
..
…
2018-02-10 11:28:49 +01:00
2017-06-07 23:20:00 +02:00
2017-06-07 23:20:00 +02:00
2017-06-23 12:48:17 +02:00
2017-08-05 10:49:10 +02:00
2018-02-10 11:28:50 +01:00
2018-02-10 11:28:49 +01:00
2017-05-24 11:18:18 +02:00
2018-02-10 11:28:49 +01:00
2017-06-23 12:48:17 +02:00
2017-05-31 12:15:32 +02:00
2017-06-27 13:31:02 +02:00
…
…
…
2017-07-20 16:07:42 +02:00
…
2018-02-10 11:28:49 +01:00
…
…
…
…
2017-05-22 17:30:51 +02:00
2017-05-24 11:08:36 +02:00
…
2017-09-19 22:41:53 +02:00
2018-02-10 11:28:49 +01:00
2018-02-10 11:28:50 +01:00
2018-02-10 11:28:48 +01:00
2017-05-22 17:30:51 +02:00
2018-02-10 11:28:49 +01:00
…
2017-06-17 12:40:35 +02:00
2017-06-13 14:19:16 +02:00
2018-02-10 11:28:49 +01:00
2017-06-11 01:15:53 +02:00
2017-06-13 14:19:16 +02:00
2018-02-10 11:28:48 +01:00
2018-02-10 11:28:48 +01:00
2018-02-10 11:28:49 +01:00
2018-02-10 11:28:49 +01:00
…
…
…
…
…
2017-06-17 12:40:35 +02:00
2017-11-22 20:25:34 +01:00