Difference between revisions of "Keyboard"
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
Most roguelikes use the keyboard to receive input from the player. Even though mouse driven roguelikes | Most roguelikes use the keyboard to receive [[input]] from the [[player]]. Even though [[mouse]] driven roguelikes have seen an increase in popularity, as the number of graphical roguelikes in a windowed environment has increased, the keyboard is still the dominating way of playing roguelikes. | ||
There is no standardized way of keyboard control for roguelikes, but there are a few [[Preferred Key Controls|preferred controls]]. | There is no standardized way of keyboard control for roguelikes, but there are a few [[Preferred Key Controls|preferred controls]]. | ||
[[Category: | |||
Roguelikes generally model the keyboard to be in a similar repeating key mode as with entering text, where pressing down a key will cause one instant keypress event and then a series of repeated events in short succession after a longer initial delay. Good default delay times (taken from the SDL library) are 500 milliseconds between the first and second keypress events from the key held down, and 30 milliseconds between the subsequent repeated events while the key is held down. | |||
[[Category:Concepts]] |
Latest revision as of 10:01, 17 April 2014
Most roguelikes use the keyboard to receive input from the player. Even though mouse driven roguelikes have seen an increase in popularity, as the number of graphical roguelikes in a windowed environment has increased, the keyboard is still the dominating way of playing roguelikes.
There is no standardized way of keyboard control for roguelikes, but there are a few preferred controls.
Roguelikes generally model the keyboard to be in a similar repeating key mode as with entering text, where pressing down a key will cause one instant keypress event and then a series of repeated events in short succession after a longer initial delay. Good default delay times (taken from the SDL library) are 500 milliseconds between the first and second keypress events from the key held down, and 30 milliseconds between the subsequent repeated events while the key is held down.