View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006372 | Dwarf Fortress | Technical -- Input/Keybinding/Macros | public | 2013-09-09 10:44 | 2013-09-13 07:55 |
Reporter | tsoet | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
OS | windows 7 | OS Version | 64bit | ||
Product Version | 0.34.11 | ||||
Summary | 0006372: key_hold_ms ignored | ||||
Description | In init.txt, key_repeat_ms and the repeat_accel variables are correctly used. However, key_hold_ms is ignored. Instead, the value for key_repeat_ms is used for the first repeat. | ||||
Steps To Reproduce | Set key_hold_ms to a large number (1000) Set key_repeat_ms to a small number (25) Start game. Hold key in main menu (or any other menu or text field or map scroll). Observe no 1000ms delay before keystroke is repeated. Reverse small and large settings for hold and repeat; observe large delay for first and all repeats. | ||||
Additional Information | No special keyboard drivers. | ||||
Tags | No tags attached. | ||||
|
Keybindings have two different repeat modes - "delayed" (REPEAT_SLOW) and "immediate" (REPEAT_FAST), and only "delayed" repeat makes use of the KEY_HOLD_MS setting. The arrow keys use "immediate" key repeat mode, which is why you aren't seeing the delay - if you try using PgUp/PgDn (which use delayed mode), you should see KEY_HOLD_MS being respected properly. Not a bug. |
|
Thanks, Quietust. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-09 10:44 | tsoet | New Issue | |
2013-09-11 06:04 | Quietust | Note Added: 0024108 | |
2013-09-11 06:04 | Quietust | Note Edited: 0024108 | |
2013-09-13 07:55 |
|
Note Added: 0024111 | |
2013-09-13 07:55 |
|
Status | new => resolved |
2013-09-13 07:55 |
|
Resolution | open => no change required |
2013-09-13 07:55 |
|
Assigned To | => user1294 |