ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
690 stars 207 forks source link

Volume up/down keybinding conflict #2497

Open ghost opened 7 years ago

ghost commented 7 years ago

Using volume up/down media keys on keyboard while having a construction unit or commander selected toggles various tabs and eventually selects either a doomsday or an aegis for construction.

System Win10

sprunk commented 7 years ago

Same here, Win 7.

sprunk commented 7 years ago

Looks like the widget handler receives them incorrectly from the engine. Volume up and "B" both have the signature function widgetHandler:KeyPress(key, mods, isRepeat, label, unicode) key = 96 label = "b" unicode = 0

(ditto for C and volume down except key = 97)

sprunk commented 7 years ago

https://springrts.com/mantis/view.php?id=5752

sprunk commented 3 years ago

0AD has a similar issue, linking in case they find a workaround https://trac.wildfiregames.com/ticket/3453