Search found 3 matches

by duart3000
08 May 2018, 17:46
Forum: HOW-TOs and documentation
Topic: Just Shift or Ctrl
Replies: 12
Views: 12618

Re: Just Shift or Ctrl

For those who are searching for this answer I just fixed it with this code: lmc_assign_keyboard('EDITER', '238B9097'); lmc_print_devices(); lmc_set_handler('EDITER', function(button,direction) if (direction == 0) then return end if (button == 33) then lmc_send_input(32, 0, 0) end end ) lmc_set_handl...
by duart3000
08 May 2018, 15:51
Forum: HOW-TOs and documentation
Topic: Just Shift or Ctrl
Replies: 12
Views: 12618

Re: Just Shift or Ctrl

Anyone can help me with the code? I've spent hours on trying to learn and trying to program, I have no idea how to make a key behave like shift or ctrl or spacebar, where you can press and hold the key to keep something active and then release it to stop the action. I'm trying to use this for photos...
by duart3000
10 Apr 2018, 14:52
Forum: HOW-TOs and documentation
Topic: Just Shift or Ctrl
Replies: 12
Views: 12618

Re: Just Shift or Ctrl

Hello, I also have a need for this since I use photoshop and other drawing/editing programs, a problem for us artists is not knowing how to code. I just need an example code for a press and release key, after that I can write the rest. Here's what I have, it just returns an error saying [LUA] ERROR:...