Mapping gaming buttons as mouse buttons?

I would like to use 2 of the YXBA gaming buttons on the top of uConsole keyboard as mouse buttons. Can anyone hint me how I can do that?

Why would anyone be interested in doing that? My reason is simple - to be able to operate a mouse when holding uConsole with right hand :slight_smile:

Reason: because not everyone uses these for games. Or another reason is because I want it this way.

If mine ever arrives, it’s an IT tool to me, nice to carry around when working on switches and you need simple terminal commands and simple web interface.

1 Like

This thread if you’re okay with flashing new keyboard firmware.
Reading the whole thread recommended.

2 Likes

I’m still waiting for mine, but I had a similar thought, and I intend to try : GitHub - compnski/JoyMapper: A python app to map joystick buttons to key and mouse bindings

1 Like

I use antimicrox to map the select button to the meta button so I can use it to trigger i3 stuff. You can use it to map joystick buttons to anything. Can recomend.

3 Likes

Definitely - there are so much usage scenarios beyond gaming!

Thank you! I will embark on this journey as long as I will read through all the documentation. Currently using antimicrox as a quick solution

@guax, thank you for this advise - I had antimicrox working in no time! A really helpful application

You’re welcome. I just noticed your username. Mine is guax for guaxinim. Racoon in Portuguese. We need to help our fellow trash pandas. :stuck_out_tongue:

1 Like

:raccoon: :raccoon: :raccoon:
Definitely! )

I was thinking the same thing. It is just an Arduino sketch so it should be easy. I will see if I can get time to look at it this weekend unless someone beats me to it. in the meantime i wonder if the linux remapping solutions mentioned are better if you also want to game occasionally.

1 Like

Personally for me the AntiMicroX worked like a charm:

  • There was a ready package (I use Arch)
  • It is a GUI app and was easy to set up

As of now, the only hiccup I have is that every time I launch AntiMicroX it launches a whole app window. Which can be hidden via systray icon menu. So, I have this extra step of hiding this window. Aside from that - a lifesaver app

1 Like

I suppose you are using X11 right? Because with Wayland there are some Problems with AntiMicroX and remapping the command key.

Also, maybe I should try Arch on the uConsole. I haven’t done this for a few years

1 Like

I am using Wayland. Never tried X on uConsole. As of now I did not have any noticeable problems with AntiMicroX )

I see, same here. The uConsole has been my Wayland testbed so to say. Then the difference must be in the AntiMicroX build. I had to build it myself on the Debian side and there were some difficulties. It might very well be related to that.

Yes, it sounds like distro/package issue. I used the package that existed for Arch - in official repos, prepared by highy skilled maintainers.

But it may be a very different situation when there is no official package for the certain processor architecture and no one have written a good PKGBUILD. For example, there is no Signal package for the aarch64 (I use CM4 uConsole) and there is no good PKGBUILD. So, I have to craft my own. Signal on my uConsole have finally assembled but works poorly with several noticeable glitches.