Link to home
Start Free TrialLog in
Avatar of gerotica
gerotica

asked on

Keyboard typematic

Hey
I need to set the keyboard typematic and delay in win2k using delphi. I tried to use SystemParametersInfo() and worked fine. But, i need to set these parameters together, because I need the whole byte (because typematic are bits 0 to 4 and delay are bits 5 and 6). SystemParametersInfo() sets them apart. Can anyon help me?
ASKER CERTIFIED SOLUTION
Avatar of Russell Libby
Russell Libby
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gerotica
gerotica

ASKER

Im sorry, i didn´t explain correctly. I need a function that send both values together. If I want to set delay 2 and typematic 3 I have to send a simple 00100011
Its not a mathematic problem, its a communication problem

Sorry,

I guess I don't undestand your requirement to set both system values at the same time (I'm not sure you can either).

Is there an issue with calling SystemParametersInfo() twice (back to back)? Or are you having issues with the message broadcast of the change after each setting?

Russell