robotpy / pyfrc

python3 library designed to make developing RobotPy-based code easier!
MIT License
50 stars 35 forks source link

Allow dragging ValueWidget to adjust value #113

Closed vanjac closed 6 years ago

vanjac commented 6 years ago

Binds the tkinter event <B1-Motion> to detect dragging.

virtuald commented 6 years ago

Which widget does this work on? It doesn't seem to work as I expect on joysticks.

vanjac commented 6 years ago

Works on all of them for me (joysticks, analog, ...). I've only tested on Windows, and in the past I have found differences between tkinter events on different platforms.

virtuald commented 6 years ago

Doesn't work on Linux, but doesn't break anything either. Thanks!