Page 1 of 1

Delay with Jogwheel/Mousewheel in combination with Wacom and TVpaint

Posted: 20 Oct 2022, 20:06
by deruji
This is something I noticed back when I was using TVpaint 11 on my Macbook Air with an Intuos tablet a few years ago.
When I witched between the pen to draw and the touchwheel to flip there was a delay before TVpaint reacted. The touchwheel I assume functioned as a mousewheel, after lifting the pen it would take several seconds until the wheel registered and was usable again in TVpaint.

I notice a similar behaviour with my Wacom Cintiq 16 in combination with the Shuttle Pro v2 in TVpaint 11 Pro on Linux (Manjaro KDE). I can set keys and use all buttons on the Shuttle Pro device without delay except the Jogwheel. TVpaint only recognizes it when it is set to mousewheel functions (XK_Scroll_Up, XK_Scroll_Down), which are equivalent to Wheel Up and Wheel Down in TVpaint. But I also have to wait a few seconds after lifting the pen away from the screen to be able to use the Jogwheel. The expected behaviour is that TVpaint should react as soon as the input comes after the pen leaves the surface.

TVpaint is the only program that exhibits this behaviour. In contrast Krita, Gimp, MyPaint etc. all switch between the Wacom pen and the Shuttle Pro v2 correctly.
I assume this is related to how TVpaint handles mousewheel interactions, since only those functions are affected. I also get the same result when using the pen and actual wheel on a mouse.
Is this something others have noticed and is there a way to adjust the behaviour?

Technically the device works with TVpaint, though in practice having to wait several seconds to use the Jogwheel for rotation or flipping is tedious.

I use the following package in Manjaro
https://aur.archlinux.org/packages/shuttlepro-git
https://github.com/agraef/ShuttlePRO

This is my config (Note: I use a custom layout in Tvpaint):

Code: Select all

#-------------------------------------------------------------------

 [TVpaint] ^tvp-animation-11-pro$
 
# Top Row Brush types, based on menu order

 K1 XK_v                    # stroke
 K2 "^"                 # toggle lightbox
 K3 XK_q                # new frame after current
 K4 XK_z                    # change brush size
 
# Second Row

 K5 "j"                 # zoom out
 K6 XK_a                # prev image
 K7 XK_Shift_L/H XK_r   # reset rotation
 K8 XK_d                # next image
 K9 "k"                 # zoom in
 
# Shuttle: frames, doesn't register with modifier
# TVPaint only accepts mouse wheel commands for Shuttle and Jog Wheel

# S-7 XK_Shift_L/H XK_Scroll_Up      # frame back
# S-6 XK_Shift_L/H XK_Scroll_Up      # frame back
# S-5 XK_Shift_L/H XK_Scroll_Up      # frame back
# S-4 XK_Shift_L/H XK_Scroll_Up      # frame back
# S-3 XK_Shift_L/H XK_Scroll_Up      # frame back
# S-2 XK_Shift_L/D XK_Scroll_Up      # frame back
# S-1 XK_Shift_L/D XK_Scroll_Up      # frame back
# S0 ""                              # neutral
# S1 XK_Shift_L/D XK_Scroll_Down     # frame foward
# S2 XK_Shift_L/H XK_Scroll_Down     # frame foward
# S3 XK_Shift_L/H XK_Scroll_Down     # frame foward
# S4 XK_Shift_L/H XK_Scroll_Down     # frame foward
# S5 XK_Shift_L/H XK_Scroll_Down     # frame foward
# S6 XK_Shift_L/H XK_Scroll_Down     # frame foward
# S7 XK_Shift_L/H XK_Scroll_Down     # frame foward

# these always reset to first value
 IL XK_Scroll_Up       #
 IR XK_Scroll_Down     #
 
# Jog wheel: here clockwise is Right

 JL XK_Scroll_Up       # prev image
 JR XK_Scroll_Down     # next image
 
# bottom left
 K10 XK_Shift_L/H XK_k          # clear frame
 K12 XK_Delete                  # delete frame

# bottom right
 K11 XK_Alt_L                    # alt for panning
 K13 XK_Control_L/H XK_Alt_L       # ctrl+alt for rotating by hand
 
 
#TVPaint
#-------------------------------------------------------------------