flat assembler
Message board for the users of flat assembler.

Index > Heap > Are you set custom autorepeat rate on your keyboard?


Are you set custom autorepeat rate on your keyboard?
Never. The OS defaults are OK.
50%
 50%  [ 2 ]
30 cps
0%
 0%  [ 0 ]
50 cps
25%
 25%  [ 1 ]
100 cps
0%
 0%  [ 0 ]
The maximal alowed and is still not enough.
25%
 25%  [ 1 ]
Total Votes : 4

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
I prefer always the fast repeat rates. 250ms delay and 50 characters per second is my common choice.

What is your preference?

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 06 Sep 2016, 13:34
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
running porteus linux, default rate
Post 06 Sep 2016, 13:44
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
I set shortest delay and fastest repeat rate (Windows).
Post 06 Sep 2016, 15:17
View user's profile Send private message Send e-mail Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
And what is the cap in Windows?
In my Manjaro Linux, the delay is down to 10ms and the rate is up to 250cps;
Post 06 Sep 2016, 15:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
Windows panel for this setting has no values, just slow and fast.
Post 07 Sep 2016, 10:15
View user's profile Send private message Send e-mail Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257
Trinitek
https://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx
Win32 API wrote:
SPI_GETKEYBOARDDELAY - Retrieves the keyboard repeat-delay setting, which is a value in the range from 0 (approximately 250 ms delay) through 3 (approximately 1 second delay). The actual delay associated with each value may vary depending on the hardware.
Win32 API wrote:
SPI_GETKEYBOARDSPEED - Retrieves the keyboard repeat-speed setting, which is a value in the range from 0 (approximately 2.5 repetitions per second) through 31 (approximately 30 repetitions per second). The actual repeat rates are hardware-dependent and may vary from a linear scale by as much as 20%.
On my system, I have a delay value of 1 (500 ms) and a speed of 31 (30 reps/sec).
Post 07 Sep 2016, 17:22
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
So, it turns that in Windows you simply can't be too fast. 250ms/30rps is pretty moderate speed.
Post 07 Sep 2016, 18:12
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17270
Location: In your JS exploiting you and your system
revolution
IIRC those would be the legacy settings. The original 8086 system keyboard would do the repeats internally, and the values that Windows uses in the API would be sent directly to the keyboard to set the delay and rate.

Perhaps it is still true today that the keyboards generate the repeats internally, but as to whether the OS uses them could be entirely different. If Linux is able to use custom values then I suspect that the hardware keyboard repeats are being ignored.
Post 07 Sep 2016, 18:50
View user's profile Send private message Visit poster's website Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257
Trinitek
There is no indication that SPI_GETKEYBOARD[DELAY/SPEED] are legacy settings, unlike the power settings which have a deprecation note for Vista+.
Post 07 Sep 2016, 19:12
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17270
Location: In your JS exploiting you and your system
revolution
I'm not sure that legacy implies deprecated. Most likely, just that MS sees no reason to update to a new API with more logical time based settings.
Post 07 Sep 2016, 21:43
View user's profile Send private message Visit poster's website Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257
Trinitek
Oh right, I misread you. I thought you were implying that there was a newer function that allowed for finer delay adjustments.
Post 07 Sep 2016, 21:48
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
revolution wrote:
IPerhaps it is still true today that the keyboards generate the repeats internally, but as to whether the OS uses them could be entirely different. If Linux is able to use custom values then I suspect that the hardware keyboard repeats are being ignored.


It is true for the PS2 keyboards, but AFAIK, the USB keyboards does not handle auto repeating internally. But I may be wrong.

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 08 Sep 2016, 05:00
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.