Page 1 of 1

how you get Lua macros to detect between 0 00 keypad. Windows can..

Posted: 27 Sep 2021, 02:00
by comet424
i have this keypad
and bottom has 0 and 00 windows can detect between 0 and 00 as it prints 00 for the 00

but lua macro cant tell it thinks its a 0 or 00
so they both come as 45 value.. for 0 and 00
how do you make 00 = whatever number and 0 = 96 or vise versa

as right now they both come up as 45 as insert

Re: how you get Lua macros to detect between 0 00 keypad. Windows can..

Posted: 27 Sep 2021, 08:36
by admin
Isn't 00 just sending 0 twice? I doubt windows would detect 00 as unique key...

Re: how you get Lua macros to detect between 0 00 keypad. Windows can..

Posted: 27 Sep 2021, 13:32
by comet424
ya i noticed in the lua macro script

pressing 00 press's it 0 twice
and i guess in Windows it does twice too

so its still a indvidual button.. how can you tell luamacro that is this a button
even if it press the 0 button twice
or is this button linked internally to the 0 button
probably best to break it off?

Re: how you get Lua macros to detect between 0 00 keypad. Windows can..

Posted: 27 Sep 2021, 15:05
by comet424
is there a way for lua macros to read

the 00 as a 0 delay 0

like if button = 0 and delay 1ms and button = 0 then


so it can it be read like that so it monitors the delay and that

since its pressing 0 twice i noticed ... can it be gone.. if 0 is pressed in less then 50ms or whatever ...
that way i can still use that button

as i wouldnt be pressing 0 quickly