Search found 4 matches

by Ronin_pH
19 Dec 2017, 11:06
Forum: General
Topic: Mapp Numpad key to act as "Shift" key
Replies: 7
Views: 7827

Re: Mapp Numpad key to act as "Shift" key

I told you to use lms_send_input, not lmc_send_keys. Yes, I know you said that, that's why I asked the following of you: Should I maybe group my commands by direction? As in, first have an if-statement for the direction "key is pressed down", and what commands I want to execute in that state, and t...
by Ronin_pH
15 Dec 2017, 15:48
Forum: General
Topic: Mapp Numpad key to act as "Shift" key
Replies: 7
Views: 7827

Re: Mapp Numpad key to act as "Shift" key

Hello again! I am now noticing that commenting out the if (direction == 1) then return end -- ignore keydown bit, causes "Copy", "Backspace", and other such commands that I have mapped to happen twice: once on keydown, and once on keyup. Should I maybe group my commands by direction? As in, first ha...
by Ronin_pH
15 Dec 2017, 15:30
Forum: General
Topic: Mapp Numpad key to act as "Shift" key
Replies: 7
Views: 7827

Re: Mapp Numpad key to act as "Shift" key

Hello! The code I have so far looks like this: -- assign logical name to macro keyboard lmc_assign_keyboard('MACROS'); -- list all devices lmc_print_devices(); lmc_set_handler('MACROS',function(button, direction) -- if (direction == 1) then return end -- ignore keydown -- Mapping buttons that are no...
by Ronin_pH
14 Dec 2017, 11:46
Forum: General
Topic: Mapp Numpad key to act as "Shift" key
Replies: 7
Views: 7827

Mapp Numpad key to act as "Shift" key

Hello! Let me start of with thanking for an excellent program, as it solves many peoples problems, and makes working easier for even more :D I was wondering if there is a way to map the "Shift" key to a key on my extra USB numpad. I was thinking that I want the "+" key to function the same way as th...