Troubleshooting

KEYCOMBOOUT?

Started by SCNDRCLCK on .

Sign in or create an account to join the conversation.

14 posts

the general format is

keycomboout(target, ctrl, alt, shift, key)

target is kbmouse out specified - for example 0
for ctrl, alt, shift you need to specify a 0 (false, no) or a 1 (true, yes)
and then the desired key in ASCII

for example
keycomboout(0, 1, 0, 1, 9) will produce ctrl+shift+tab and it will be output at kbmouse out 0

Here is the complete ASCII table for the keys! ;)


q 81
w 87
e 69
r 82
t 84
y 89
u 85
i 73
o 79
p 80
[ 219
] 221
\ 220
a 65
s 83
d 68
f 70
g 71
h 72
j 74
k 75
l 76
; 186
' 222
z 90
x 88
c 67
v 86
b 66
n 78
m 77
, 188
. 190
/ 191
up 38
down 40
left 37
right 39
space 32
Win 91
alt 0X12
shift 0X10
ctrl 0X11
capslock 20
tab 9
enter 13
backspace 8
esc 0X1B
'(?) 129
1 49
2 50
3 51
4 52
5 53
6 54
7 55
8 56
9 57
0 48
- 189
= 187
num+ 107
num- 109
PgUp 33
PgDn 34
ins 45
del 46
home 36
end 35
F1 112
F2 113
F3 114
F4 115
F5 116
F6 117
F7 118
F8 119
F9 120
F10 121
F11 122
F12 123
thanks, SOFTCORE...

i am still confused about how to use this. I created a custom button, created a script, and then in the script box for that custom button inserted: keycomboout (0,0,0,0,0); where do you set the mapping for the button? I put the midi and osc targets to none so that I didn't trigger the midi message that was generated upon creating the button. I set the kb/mouse button to 0 in the lemur daemon... thanks for your help
Hello, i want to send and arrow left message.
I,m trying keycomboout(0, 0, 0, 0, 37) but doesn,t work. Any ideas about what is the problem? I try other keycombout combinations and works, but i can,t with navigation arrows.
Please, some help!
Thanks Softcore, i,m just starting with Lemur and I don,t know how to script very well the state.It took me weeks to understand to make a single keycomboout and now it will takes me my whole life to make this.
This is my template : Browser it,s working
But Left arrow still doesn,t work.

They,ll have to drop the line a lot, because sincerely this must be more easy to do.

KEY LEFT ARROW.jzml
All you have to do is change the behavior of the custom button to be a pad and replace the state number with x. This way when the button is pressed (x=1) a "pressed state" is performed while when the button is released a "release state" is performed.

KEY LEFT ARROW.jzml

Also, take notice, that the defined "keybout" and "keyboard_target" which you probably found from examples could be easily deleted and you can specify directly the target for the keyboard buttons by replacing the "keybout" and "keyboard_target" variables inside the scripts with your preferred kbmouse target referencing it by its index number. In the project you uploaded both are defined on target 1 (kbmouse 1) so you just have to type 1 as a target in your scripts. Read also my comments on the second set of keys! ;)
bite wrote:thanks Softcore, but doesn,t work on mac. i really don,t know where it,s the problem.
actually, this is a problem at developer level particularly for Macs and certain software (such as Cubase, even on Windows) that use Macs mapping.

The only way to fix this is if a developer takes a look and SPECIFICALLY tries to create a script for the left arrow key and, possibly, the right arrow key (I gave up, don't remember if this one was troublesome too.)


The scripts do work, but there is something going on at core level that maps the Lemur arrow key script to some other key.