Keyboard mapping gmoccapy

More
06 Sep 2024 16:23 #309510 by crazycajun
Keyboard mapping gmoccapy was created by crazycajun
Is their an "easy" way to remap keyboard outputs? im using a game pad that doesnt have page up/down so i dont have z axis control.

Please Log in or Create an account to join the conversation.

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
06 Sep 2024 19:26 #309523 by Aciera
Replied by Aciera on topic Keyboard mapping gmoccapy
For a gamepad you may want to have a look at the 'hal_input' component. Here is a little how to for keyboard. For a gamepad you would only need to modify the keyword in the 'loadusr' command line:
forum.linuxcnc.org/38-general-linuxcnc-q...s-in-gmoccapy#309096

You can then connect the gamepad pins to gmoccapy pins in the POSTGUI_HALFILE:
linuxcnc.org/docs/html/gui/gmoccapy.html#_jog_hal_pins
The following user(s) said Thank You: crazycajun

Please Log in or Create an account to join the conversation.

More
06 Sep 2024 19:32 #309524 by crazycajun
Replied by crazycajun on topic Keyboard mapping gmoccapy
i call it a game pad, its a touch mouse pad, mouse click, mini keyboard. same thing i assume.

Please Log in or Create an account to join the conversation.

More
27 Mar 2025 04:02 #325027 by bevisandrew
Replied by bevisandrew on topic Keyboard mapping gmoccapy
Totally feel you on the gamepad struggle—those missing keys can be a real pain! Remapping can be a lifesaver, though. If you're using gmoccapy, you might wanna check out the keymap file in your config. You can assign other buttons to act like Page Up/Down.
Also, some folks swear by using software like JoyToKey or Xpadder to map your gamepad buttons to keyboard keys. It gives you way more flexibility! Just make sure your gamepad is recognized as a joystick in your system settings.
Hope that helps you get your Z-axis control back in action! Happy machining!
block breaker

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum