keystroke translator
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
Actually i don't think you can do that, you can receive keys with the module keyboard, detect when you press it, have the number of this key ( a=66, b=67 and so ) you can transform this data in Midi or OSC but you can't resend this information as a keystroke cause it's Windows that manages this..?
-
Ariajazz
- Member
- Posts: 353
ok. What is exactly OSC?. Actually BOME's midi translator con do this but of course it is outside USINE. But if a=66 is there any way to translate it into 67?
Also there is a script based application called HOTKEYS that do the task, but as said before the're abroad USINE. I'd like to do do it within
Also there is a script based application called HOTKEYS that do the task, but as said before the're abroad USINE. I'd like to do do it within
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
For OSC, check this page : OSC setup
you can use a mapper value module to translate the key outlet of a keyboard module and transform all numbers in others ones
then I'm not a specialist but maybe a shell guru can help you to use the shell module to send key command
you can use a mapper value module to translate the key outlet of a keyboard module and transform all numbers in others ones
then I'm not a specialist but maybe a shell guru can help you to use the shell module to send key command
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
btw, can you explain where you want type those keystrokes , once transformed..?
-
Ariajazz
- Member
- Posts: 353
I have a padalboard I made myself out of an old usb keyboard. It has 20 switches that goes from A to T characters. What I intend to do is to have more character options, let's say U,V,X,Y,Z and numbers so I can have more key assingments within usine and have the option to transmit these new options with the same existing switches. Do you get the idea?
-
caco
- Member
- Posts: 306
I can't think of a way to do it Usine at the moment. To do it natively in Usine you would need to use the SDK to code a new C++ user module that calls the Windows functions SendKeys::Send or SendKeys::SendWait depending on whether you want to send the keystrokes to the same application that created them (e.g Usine) or to a different application.
To do it outside of Usine you could use most scripting languages, e.g Python plus the SendKeys package, or probably AutoHotKey too as that can do pretty much anything involving keys, mouse etc.
Hope this helps
To do it outside of Usine you could use most scripting languages, e.g Python plus the SendKeys package, or probably AutoHotKey too as that can do pretty much anything involving keys, mouse etc.
Hope this helps
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
can't you replace those key assignment in Usine by midi ones..?
if yes, you can use the keyboard module to receive shift +your key ( for example) and transform this to midi message with the create midi module , then use the send Midi to Usine to create midi learn...
if yes, you can use the keyboard module to receive shift +your key ( for example) and transform this to midi message with the create midi module , then use the send Midi to Usine to create midi learn...
-
jeremysdemo
- Member
- Posts: 36
HEy aria,
I was thinking maybe you could try to save different "setups" and recall them by something like program changes.
For instance in setup #1 keystroke A triggers a specific function, setup #2 A triggers a different function.
This way you wouldn't have to involve Windows keystroke mapping or Bomes.
you could look at setups as Modes, Mode 1 this button triggers that tab, Mode#2 same button does something different.
of course you would need a few buttons (or program changes) dedicated to just switching modes.
jerm
I was thinking maybe you could try to save different "setups" and recall them by something like program changes.
For instance in setup #1 keystroke A triggers a specific function, setup #2 A triggers a different function.
This way you wouldn't have to involve Windows keystroke mapping or Bomes.
you could look at setups as Modes, Mode 1 this button triggers that tab, Mode#2 same button does something different.
of course you would need a few buttons (or program changes) dedicated to just switching modes.
jerm
-
jeremysdemo
- Member
- Posts: 36
I for one would certainly like to know more about that process.Ariajazz wrote:I have a padalboard I made myself out of an old usb keyboard. It has 20 switches that goes from A to T characters.
I wanted something like that but couldn't rap my brain around how to re-wire the letters to say simple on/off toggle switches....
I ended up getting Stealth II pedals which you can program (even macros into) but they were limited to 5 pedals per USB input.
There are so many good programs out their that have the query controls hardwired into the code rather than having a tzt file people can open and change themselves.....makes pedal like that a must (for people not wanting to involve Windows or Bomes).
jerm
