View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005752 | Spring engine | Lua | public | 2017-09-07 12:41 | 2019-01-16 23:23 |
| Reporter | sprung | Assigned To | |||
| Priority | low | Severity | trivial | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 103.0 +git | ||||
| Summary | 0005752: Volume +/- keys mistaken for B and C | ||||
| Description | Some keyboards (esp laptops) have volume +/- keys. The engine seems to pass them as B and C to Lua. | ||||
| Steps To Reproduce | press either B or Volume+, both are passed to Lua as function widgetHandler:KeyPress(key, mods, isRepeat, label, unicode) key = 97 label = "b" unicode = 0 | ||||
| Additional Information | ZK ticket: https://github.com/ZeroK-RTS/Zero-K/issues/2497 Looks like this also exists in other engines and under multiple keyboards. For example see http://dev.dota2.com/showthread.php?t=87328 | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
my own keyboard has functional volume keys, pressing them in-game does nothing. since I don't plan to replace key event handling and the engine has no way of telling B/C and fake B/C presses apart, this issue (if it still exists) will have to be solved on SDL's end or through picking a different OS keyboard layout. |