Keybow pressing left shift


#1

I mapped a keypress to keybow.LEFT_SHIFT by just changing it in the default.lua from “3” but it fails to work. I have had success with keyboard.SPACE and keynote.ENTER but not shift of control.keys.

Any advice?


#2

It’s a little cumbersome, but you can do the following:

function handle_key_04(pressed)
	if pressed then
        keybow.set_modifier(keybow.LEFT_SHIFT, keybow.KEY_DOWN)
    else
        keybow.set_modifier(keybow.LEFT_SHIFT, keybow.KEY_UP)
    end
end

#3

NO, that seems to crash it for a second or two before it starts responding again.

Is the logic right? How would you detect the key up event if it is not pressed? x