keys

For general discussion related FlowStone
Post Reply
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

keys

Post by tester »

viewtopic.php?f=11&t=58#p87

Is there a list of other named keycodes, like "shift" or "ctrl" of fuctions?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: keys

Post by trogluddite »

For the key pressed primitive, there are only "SHIFT","CTRL" and "ALT" AFAIK - Ruby has a few others, but I tried them with the primitive, and it doesn't seem to recognise them.
However, you can also connect an integer to the input and index a key by its standard Windows key number to get at more options - see HERE for a list of the code numbers.
Take care which you choose though - the primitive only tells you if a key is pressed, it doesn't "capture" the keypress - so pressing the key may still get a response from other app's or from Windows itself.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: keys

Post by tester »

I'm aware of that, thanks. I'm trying to solve this display issue:
http://synthmaker.co.uk/forum/viewtopic ... 13&p=90734
which has been not changed in recent FS update.

See how it behaves in SM and FS. In SM works, in FS the active editbox gets blank when keboard is in use to give the step. I noticed this type of issue few times in other situations, but don't recall where. Support just made big eyes on me, and ignored this topic, as if people were not using keyboard to add some +/- stepped values in order to inc/dec something that is active - via keyboard ;-)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply