Modifier Keys

Coberra

2015-04-29 04:50:56

Hello,

I am trying to use the MIDI translator to emulate keystrokes of a QWERTY keyboard to issue commands in a game. Starcraft 2.

Most things work fine so far. Though I am running into an issue using modifier keys; Control, Shift, Alt.

I am curious how to use these modifier keys in conjunction with other keys. For example if I pushed Shift + 1. Looking around the forums I am seeing people are calling these "sequences" though most of the information provided is above my head.

I am using the classic version if that is important.

Thank you

Coberra

2015-04-29 05:23:35

found this in another post

re: modifier keys
right now, you can only work around this by
- using two separate translators to capture the modifier key down, and up (respectively)
- set a global variable (e.g. "go" for "opt" modifier) to 1 when modifier is down, and to 0 when released
- in your translator handling the F12 key, check the go variable: if it is 0, "exit rules and do not execute outgoing action"
We want to make this process for modifier keys easier in future versions of MT.

is this still the case? Can the classic version handle modifier keys?

DvlsAdvct

2015-04-30 16:39:02

The Classic version cannot process rules, which are needed for those kinds of commands.