Automaticly stop keystroke when release a button

Firepeet

2014-05-20 23:54:44

Hello,

My APC40 sends a note-on command (for example 90 35 7F) when pressing a button, and a note-off command (80 35 7F) when releasing the button. I am using my APC40 for Quickshow.

Is it possible to send out a keystroke, for example a Q, when i press the button en stop automaticly sending the keystroke when i release that button?


Thanks for any help...

DvlsAdvct

2014-05-21 05:52:47

Hi firepeet

Since your controller sends two different messages, as opposed to two different velocities you need to create two translators, one for a key press down and one for a key release. It would look like:

Code: Select all

Translator 1: Q Press
Incoming Message: 90 35 7F
Outgoing Message: Keystroke Down Q

Translator 2: Q Release
Incoming Message: 80 35 7F
Outgoing Message: Keystroke Up Q
That make sense?
Jared

Firepeet

2014-05-21 12:33:21

Hi Jared,

Thanks, thats works well.
And i found this morning also a soluton for uppercase:

Code: Select all

Translator 1: Q Press shift
Options: stop=false
Incoming: MIDI 90 35 7F
Outgoing: Key down: Shift [repeat active]

Translator 2: Q press
Options: stop=false
Incoming: MIDI 90 35 7F
Outgoing: Key down: Q [repeat active], delay:5millisec

Translator 3: Q Release shift
Options: stop=false
Incoming: MIDI 80 35 7F
Outgoing: Key up: Shift

Translator 4: Q Release
Options: stop=false
Incoming: MIDI 80 35 7F
Outgoing: Key up: Q

DvlsAdvct

2014-05-21 17:10:23

Actually, what might be a good solution is to assign a key to Shift so you can create lots of capital letters, if you need more than one.