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

Announcements, general discussion
Post Reply
comet424
Posts: 10
Joined: 12 Feb 2019, 02:50

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

Post by comet424 » 27 Sep 2021, 02:00

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

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

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

Post by admin » 27 Sep 2021, 08:36

Isn't 00 just sending 0 twice? I doubt windows would detect 00 as unique key...
Petr Medek
LUAmacros author

comet424
Posts: 10
Joined: 12 Feb 2019, 02:50

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

Post by comet424 » 27 Sep 2021, 13:32

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?

comet424
Posts: 10
Joined: 12 Feb 2019, 02:50

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

Post by comet424 » 27 Sep 2021, 15:05

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

Post Reply