GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

MIDI to keyboard command?

LokitoesLokitoes Posts: 122Member, PRO

Hi all,

I've read that technically GS can't be used with MIDI devices, but I'm not sure why?

I have a small program that converts midi notes into keyboard commands. It works perfectly well for pressing keyboard buttons in Word, in a browser like Chrome, etc etc. However it doesn't seem to work at all for something created in GS (so far tested in .app format, on arcade in Chrome, and just now uploading an html5 version to my server to try, but have also previewed in both versions). So I'm wondering why this keyboard command program can override my keyboard in other programs but not my GS .app.

Is this because key presses in GS are picked up somehow 'differently' to how they are in something like Word? If so, how does the keyboard press command work in GS? Is there just something about the code that doesn't support it? (I'm not a programmer, otherwise I might already know the answer to this!).

In terms of what I am using to test, it is simply a set of boxes that will display 'hello world' for 5 seconds depending on the keyboard press. This feels like a foolproof way, as even though the key press might only be a split second, it will still display for a good amount of time. I'm wondering whether it feels as though the button hasn't been pressed 'hard enough' but that doesn't seem to make sense.

Cheers!

Sign In or Register to comment.