Some XK buttons don't work for event actions + interesting anim behavior
Posted: Thu Mar 14, 2019 7:10 am
Maybe I just don't get it, but I tried to make zoom out button in editor by setting 'anim_event_action: XK_minus', but that just doesn't work for some reason.
I checked if 'XK_minus' is correct, set [-] for snap shortcut, opened 'setup.conf', found 'shortcut.snap_left: XK_minus # -', but yes, it's is correct. Instead, it actually blocks any of zoom buttons ('-', '0', '+') and only unblocks when you click anywhere except the anim.
So I tried at least do 'XK_0', but still the same actions. I'm a little bit frazzled
What's more interesting, it actually keeps the global anim button pressed when I hold on it despite the fact that there's only one anim part with just two anim frames.
I assume that's because it kinda clicks the anim rapidly every frame without stopping when '.delay: 4', not really sure.
Code: Select all
global.anim_10.part_1.EDITOR.anim_event: click
global.anim_10.part_1.EDITOR.anim_event_action: XK_minus
global.anim_10.part_1.EDITOR.class: window
So I tried at least do 'XK_0', but still the same actions. I'm a little bit frazzled

What's more interesting, it actually keeps the global anim button pressed when I hold on it despite the fact that there's only one anim part with just two anim frames.
Code: Select all
gfx.global.anim_10.part_1.EDITOR.frames: 2
gfx.global.anim_10.part_1.EDITOR.delay: 4
gfx.global.anim_10.part_1.EDITOR.anim_mode: linear
gfx.global.anim_10.part_1.EDITOR.xoffset: 1
gfx.global.anim_10.part_1.EDITOR.yoffset: 1