Hi Aciera, nice to meet you!
My Problem is: My USB-MPG sends weird keys, Alt /M , Alt / - , Alt / % , Alt / # , Alt/= , F10 , F11.
Alt / % sends Alt + Shift + 5 , which makes it "interesting" to grab...
F10 and F11 opens the menu and toggles between fullscreen and windowmode.
So, at first i have to somehow keep these keys from interacting with the UI of Linuxcnc, ONLY interacting with hal_input.
I tried
Code:
[code]loadusr -W hal_input -G Code Mercenaries KeyWarrior Combo O Commander
i tried
Code:
loadusr -W hal_input -A Code Mercenaries KeyWarrior Combo O Commander
none of these stops interacting with my ui..
What i did so far, i grabbed the USB-name, and vendor and productkey of my USB-Davice.
I wrote a UDEV rule which worked after a bit of confusion.
i loaded the device in the halfile ( of the sim so far ) and i could see most of my keys turn yellow in the halshow.
So my first attempt ( asking the AI, which was not my best option when i think about it now ) was to remap the keys with keyd.
I wrote a default.conf to remap the keys. What happened?
The keys which send F10 and F11 do no longer affect ma ui! No toggling window to fullscreen.
But i struggled at importing the "virtual keyd keyboard" into LinuxCNC.
Code:
loadusr -W hal_input virtual keyd keyboard
Code:
doesNOT work, "no such device"
I would like to use " , but these don't work for me, i do not know why ( see above )
One of my Problems:
I cannot load the keyboard via "name",
Code:
loadusr -W hal_input "Code Mercenaries KeyWarrior Combo O Commander"
does NOT work..
Code:
loadusr -W hal_input Code Mercenaries KeyWarrior Combo O Commander
works! As far as i know, i should use " whenever i have blanks in a filename / path / device.
I do not really understand why..
Thanks for any help in advance!
Honestly, i tried with AI-support, but this only calmed my mood because our jobs are safe for a looong time, so crappy answers..
Greets, Tom