keyboard shortcut here

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Re: keyboard shortcut here

Postby trogluddite on Wed May 02, 2012 1:39 pm

Just a quick additional note....
The name 'Is key Pressed' is very literal - it will always tell you if a key is held regardless of the usual "window focus" rules.
i.e....
- Ignores Window focus - if another Window is in front of plugin GUI, the plugin will still receive the keys. So your plugin will still see keypresses even if you are just typing into a completely unrelated text document.
- Does not "trap" keypresses - e.g. a Window beneath the plugin GUI can also see the keypresses, even if the plugin is the current focus.

There are VERY annoying - for example, when running in a VST host, it is impossible to prevent keypresses from activating the host shortcuts - resticting the choice of SM shortcuts to those not used by the host.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: keyboard shortcut here

Postby philter5 on Wed May 02, 2012 2:52 pm

yes thats indeed a problem. my workaround : use vKey combo´s ( 2 or more keys together) and set
a vKey that isn´t much used at all by the host program as first(conditional)keypress and then a vkey.you like as second
(additional)key.i use this technique in my current project, a standalone vKey-to-Midi Mapper.
to increase the number of possible combinations i added the function with the conditional/additional keypress,
so when " Print " key is set as first key and "E" as second, the combination will only work if you press (and hold!)
print first before pressing "E". pressing both keys at the same time or holding down "E" while pressing "PRINT"
will not work. you can look at my example here
vKEy Combine with cond by philter5.osm

or wait till i finish my vKey Module Collection the next days
( yes you´ve heard right : a LOT of the small, unflashy green modules you love :love: like i do too hehehe )
of course the combination of 2 or more keys is just a workaround and the problem has to get fixed, best way
in my humble opinion would be to make it optional/let the user decide.
and on the wishlist, too : identify multiple connected PC Keyboards as independent devices !!! :D

phil
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1478
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: keyboard shortcut here

Postby tester on Wed May 02, 2012 11:07 pm

Okay, thanks for help and some clarifications.
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 689
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests