|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007730||Dwarf Fortress||Technical -- Input/Keybinding/Macros||public||2014-07-29 21:53||2018-05-30 09:16|
|Assigned To|| |
|Product Version||0.40.05|| |
|Target Version||Fixed in Version|| |
|Summary||0007730: KEY_HOLD_MS is not applied when a single key combo triggers multiple keybindings|
|Description||Under certain conditions, the game ignores the KEY_HOLD_MS setting when a single key combo is pressed for less than the time specified by KEY_HOLD_MS, but the keys are pressed in an order such that they correspond to multiple different keybinds.|
|Steps To Reproduce||1. In interface.txt, set all of the relevant keybindings to REPEAT_SLOW.|
2. Start a Fortress game.
3. Enter any selection mode that requires you to scroll around the map, e.g. k, or v, or d -> d.
4. Press Shift + direction, and release the Shift key slightly before the direction key.
5. Note that, even though the direction key was pressed only a single time and for less than the value of KEY_HOLD_MS, the cursor moves twice; one time for the Shift + direction fast scroll, and one time for the direction key on its own.
|Additional Information||This probably affects any keybinding that uses a modifier key, in any game mode. I haven't had the opportunity to check them all.|
|Tags||No tags attached.|