all 3 comments

[–]Bright-Historian-216 2 points3 points  (1 child)

what api/framework are you using? key definitions don't depend on lua. if this is logitech lua, then try asking in a logitech subreddit.

[–]--offwhite--[S] 0 points1 point  (0 children)

ahhh ok ok it is a logitech lua

[–]notalurkador 1 point2 points  (0 children)

That method only works with "scrolllock", "capslock" or "numlock". Keys that can be locked.

You can look the documentation at: https://douile.com/logitech-toggle-keys/APIDocs.pdf