blob: 86481edd024e4afbcb1ebdc04d708413b282999a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
namespace MonoGame.Extended.Input.InputListeners
{
public class KeyboardListenerSettings : InputListenerSettings<KeyboardListener>
{
public KeyboardListenerSettings()
{
RepeatPress = true;
InitialDelayMilliseconds = 800;
RepeatDelayMilliseconds = 50;
}
public bool RepeatPress { get; set; }
public int InitialDelayMilliseconds { get; set; }
public int RepeatDelayMilliseconds { get; set; }
public override KeyboardListener CreateListener()
{
return new KeyboardListener(this);
}
}
}
|