General

Can i make buttons that trigger shortcuts commands?

Started by indijinouz on .

Sign in or create an account to join the conversation.

26 posts

i do a workaround for this, download the wonderful app quickeys, thanks to it you can write any shortcut for automating any task in your computer, then quickeys allows you also to assign a midi binding to that shortcut.

quickeys takes half an hour to be learned.

you would simply select the incoming midi note or cc from lemur into quickeys, and assign it to desired shortcut.
Lemur manual page 131

keycomboout(target,ctrl,alt,shift,key) : outputs a simultaneous key strokes combination to
the defined KbMouse Target.

Syntax example of keycombo ctrl+shift+A on keyboard target 0
keycomboout(0,1,0,1,65);

keyout(target,key,state) : outputs a single key stroke to the defined KbMouse
Target.

Syntax example of a key "H" pressed
keyout(0, 72, 1);
of key "H" released
keyout(0,72,0);

How did I find the numbers that relate to keys A and H?

Here you are!
ASCII table.zip
Softcore,
Are you using kbmouse targets successfully? Since I started using Lemur (about 1.5 years now) I have never been able to get the Lemur Daemon to connect to a kbmouse target on either my Mac or PC, even on a totally new clean install, on both my iPad first gen and iPad second gen, Firewall on or off. The Daemon just hangs when I press connect.
Thanks!
it works well, although I haven't used it for months. There are a few templates with keycomboout(target,ctrl,alt,shift,key), a general keyboard, one for Gimp. The connection has to be done in the Daemon.

If you fail to connect to the Daemon, try with static IP's on each device (computer and iPad).
HI Phil999,
Thanks. Yes I am using static IPs on both devices. Not sure what to say, I've tried everything under the sun. But if you are indeed using it successfully, that at least gives me hope, although I have no idea what to try.
Nope, no problems connecting/receiving MIDI from Lemur Daemon via wifi or direct via iConnect midi 4+, or any combination of both.

Steps:
1) Open Lemur Daemon
2) Click Add
3) Open disclosure triangle, Daemon Kbmouse Out
4) Double Click: Mouse and Keyboard
3) Highlight "My iPad v5.03 (169.254.1.11:8001)"
4) Click Connect: nothing happens
I just noticed something interesting. If I don't have any MIDI targets already connected, my iPad doesn't show up in the list for Select Source Port for: "Mouse and Keyboard".

The second I connect a MIDI Target (via LoopBE30), "My iPad v5.03 (169.254.11:8001) appears.

Shouldn't it make no difference to KBMouse if MIDI is connected or not?
Beats the sh*t outta me!

One thing though, possibly (probably!) unrelated . . . I never had much luck with LoopBE. I always found the free loopMIDI app to be much better.

http://www.tobias-erichsen.de/software/loopmidi.html

As for suggested firewall settings - 'allow' seems appropriate! ;) However, if disabling the firewall hasn't resolved your issue, it doesn't seem to be a factor, or at least not the *only* factor. I certainly wouldn't recommend disabling the firewall as anything other than a temporary troubleshooting step though.