Hi all,
I have little experience with masm so i hope someone can help me...
Does anyone know how can I change the delay and typematic rate of keyboard in masm32?
Can these parameters be changed via windows messages?
must I use bios interrupts instead?
hints will be appreciated....
Beltxa
I have little experience with masm so i hope someone can help me...
Does anyone know how can I change the delay and typematic rate of keyboard in masm32?
Can these parameters be changed via windows messages?
must I use bios interrupts instead?
hints will be appreciated....
Beltxa
Hi,
As JimmyClif said you can set/get with SystemParametersInfo API.
if you want keyboard speed :
if you want change keyboard "typematic" speed :
btw: offset keyspd = addr keyspd
have nice days,
As JimmyClif said you can set/get with SystemParametersInfo API.
if you want keyboard speed :
.data
keyspeed dd 0
.code
call SystemParametersInfoA,SPI_GETKEYBOARDSPEED,0, offset keyspd,0
if you want change keyboard "typematic" speed :
call SystemParametersInfoA,SPI_SETKEYBOARDSPEED,28,0,0
btw: offset keyspd = addr keyspd
have nice days,