Keys not being blocked?

Announcements, questions
Post Reply
wolfmitchell
Posts: 3
Joined: 13 Feb 2018, 02:42

Keys not being blocked?

Post by wolfmitchell » 13 Feb 2018, 02:45

With this simple script, whenever I press a key on the attached numpad, it shows on the log on LuaMacros, but the key press is still sent to the application. How would I fix this?

Code: Select all

clear()
lmc_device_set_name("numpad", "8343707")
lmc_set_handler('numpad', function(btn, dir)
    print(btn, dir)
end)

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

Re: Keys not being blocked?

Post by admin » 13 Feb 2018, 09:01

Your script is fine, so stopping the key doesn't work for some reason.
Is it "regular" windows application like notepad? Or some game?
Petr Medek
LUAmacros author

wolfmitchell
Posts: 3
Joined: 13 Feb 2018, 02:42

Re: Keys not being blocked?

Post by wolfmitchell » 13 Feb 2018, 13:54

The key isn't being blocked in Vivaldi (web browser based on Chrome), LuaMacros itself, Notepad, HexChat (IRC client), and Discord (chat client).

wolfmitchell
Posts: 3
Joined: 13 Feb 2018, 02:42

Re: Keys not being blocked?

Post by wolfmitchell » 22 Feb 2018, 20:43

I'm guessing there isn't anything I can do to fix it?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests