how to change the keymapping in gscreen:left/right

More
20 Feb 2014 23:21 #44012 by hobride
hobride created the topic: how to change the keymapping in gscreen:left/right
Hello there,

is there a way to change the key mapping in gscreen?
The left arrow und the right arrow are reserved in gscreen at my computer. I like jog with the right arrow = x plus and left arrow = x minus. Where can i setup that?

Matze from Berlin
More
21 Feb 2014 00:21 #44017 by ArcEye
ArcEye replied the topic: how to change the keymapping in gscreen:left/right
Hi

That is how they should work anyway.

If your quill 'moves' in the opposite direction to the arrow you are pressing, you have your scale figure with the wrong sign in front of it , or steppers wired backwards

Change the [AXIS_0] SCALE= xxxx figure in your .ini file, to either positive or negative (opposite of what it is now) and the quill should 'move' in the correct direction.

At a more basic level the stepper wiring needs looking at

regards
More
21 Feb 2014 00:46 #44022 by cmorley
cmorley replied the topic: how to change the keymapping in gscreen:left/right
I agree with ArcEye, you probably have the axis running in the wrong direction to begin with...
BUT, if you really want it that way, yes it can be changed, (but it's a little bit of work)

How current is linuxcnc, how did you get if (builbot or did you compile it) and what skin of Gscreen are you using.

Originally the keycodes were hard coded, later there was a way to rebind the keys in the handler file.
eventually I'll add a tab for user selection of some of the keycodes.

Chris M
More
21 Feb 2014 04:36 - 21 Feb 2014 04:54 #44028 by hobride
hobride replied the topic: how to change the keymapping in gscreen:left/right
Hello again,

thanks for your answers...

i do not think that the stepper is backward wired or else ...
my configuration is working for me at the normal axis screen. it also works for me at mach3.
And finally all axis move to the correct direction if i use a g-code program <- in gscreen.
Only in manual jog mode (in gscreen) are the left and right keys reversed. i can see this reversed movement in the preview windows and at the machine.
only the x axis is wrong .

Edit:

i have installed the last live cd from linuxcnc.org and the buildbot master branch.


sorry, my for english :woohoo:
Last Edit: 21 Feb 2014 04:54 by hobride.
More
21 Feb 2014 09:38 #44031 by cmorley
cmorley replied the topic: how to change the keymapping in gscreen:left/right
hey I checked gscreen and your are. of course, right.
I will fix it and your will get it on your next update.

Chris M
The following user(s) said Thank You: hobride
More
21 Feb 2014 14:44 #44032 by cmorley
cmorley replied the topic: how to change the keymapping in gscreen:left/right
Ok I pushed a fix to master, buildbot usually takes a few hours to send the result.

also I added the keybindings to the hidden preference file .gscreen_preferences in your home folder.

By manually editing the file you could change them to any key.

Hope that helps
Chris M
More
22 Feb 2014 13:02 #44062 by hobride
hobride replied the topic: how to change the keymapping in gscreen:left/right
Hi Chris,

i've got this update and it works fine. thank you

Matze from Berlin
Time to create page: 0.075 seconds
Powered by Kunena Forum