- User Interfaces
- Other User Interfaces
- PathPilot
- Tutorial: Change the function of the mouse buttons on graphical view (Gremlin)
Tutorial: Change the function of the mouse buttons on graphical view (Gremlin)
18 Nov 2017 05:24 - 18 Nov 2017 07:46 #101963
by DaOne
I run the lathe side with a touch screen. Its was frustrating that I could not just touch the screen and drag the view to put it where I want it. I knew in the full version of LinuxCNC this is configurable but in PathPilot they removed the ability to do so. Well I went ahead and put it back in. This should work for both mill and lathe sides. File is for version 1.9.13 and is not tested on any other version.
Unpack the file...
The file "gremlin.py" goes in ~/v1.9.13/lib/python
Options for button config are...
0 = default: left rotate, middle move, right zoom
1 = left zoom, middle move, right rotate
2 = left move, middle rotate, right zoom
3 = left zoom, middle rotate, right move
4 = left move, middle zoom, right rotate
5 = left rotate, middle zoom, right move
6 = left move, middle zoom, right zoom (no rotate - for 2D plasma machines or lathes)
Setting is on line 166. "self.mouse_btn_mode = 2"
Just change the number to the config you want and save the changes to the file.
Hope this helps.
-Wes
Unpack the file...
The file "gremlin.py" goes in ~/v1.9.13/lib/python
Options for button config are...
0 = default: left rotate, middle move, right zoom
1 = left zoom, middle move, right rotate
2 = left move, middle rotate, right zoom
3 = left zoom, middle rotate, right move
4 = left move, middle zoom, right rotate
5 = left rotate, middle zoom, right move
6 = left move, middle zoom, right zoom (no rotate - for 2D plasma machines or lathes)
Setting is on line 166. "self.mouse_btn_mode = 2"
Just change the number to the config you want and save the changes to the file.
Hope this helps.
-Wes
Last edit: 18 Nov 2017 07:46 by DaOne.
The following user(s) said Thank You: Robi63
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
- User Interfaces
- Other User Interfaces
- PathPilot
- Tutorial: Change the function of the mouse buttons on graphical view (Gremlin)
Time to create page: 0.053 seconds