here's another one.
Don't know if somebody has mentioned it already...at least I couldn't find messages about it.
key_released.key
and
key_released.character (tried also key_released.characters)
don't work. Whenever I use those attributes I receive errors like these:
- error: Error: 'key' is not a member of 'Kt::Event' in /Users/rudi/Documents/AudioDevel/Projects/PnSPlayground/Skins/LetiMix/main-body.inc(833:68)
- error: Error: 'characters' is not a member of 'Kt::Event' in /Users/rudi/Documents/AudioDevel/Projects/PnSPlayground/Skins/LetiMix/main-body.inc(833:119)
The event key_released works fine by itself, it's only the 2 attributes that don't.
With key_pressed, I can access the key and characters attributes, so it may be an issue with key_released only.
Excerpt of my code:
Code: Select all
<ACTION_TRIGGER event_ids="$id$_mouseDownPTS.key_pressed" script="main_keyPressed(uint($id$_mouseDownPTS.key_pressed.key),$id$_mouseDownPTS.key_pressed.characters);" requires="$id$_mouseDownPTS.key_pressed.key;$id$_mouseDownPTS.key_pressed.characters"/>
<ACTION_TRIGGER event_ids="$id$_mouseDownPTS.key_released" script="main_keyReleased(uint($id$_mouseDownPTS.key_released.key),$id$_mouseDownPTS.key_released.characters);" requires="$id$_mouseDownPTS.key_released.key;$id$_mouseDownPTS.key_released.characters"/>
Hope this suits you as description...
Cheers
Rudi