You are not logged in.
I just bought this mouse (http://www.coolbox.es/products/raton-ga … sar-fobos/, sorry the page is in Spanih) and I was hoping I could get it to work in arch linux as a regular, multi-button mouse.
The mouse comes with its custom drivers on Windows, and a configuration tool with which I can reprogram all the mouse buttons to send the events I want. Once the configuration is saved, that is programmed in the mouse and it'll send those events in any computer or operating system.
All that is working flawlessly, but It's an annoyance that I can only run the configuration tool on windows (no luck using wine), so I thought I should program the macros at a higher level. That is, the mouse should be sending mouse-button events and then the macros can be configured with a tool in the OS, not inside the mouse.
Because there seems to be no way of configuring this with the configuration tool provided on windows, I've thought about making it send normal keyboard events like keypresses and remaping those to mouse buttons on arch.
Is it possible to do that? If not, do I have any other alternatives?
Offline
You can use xbindkeys and simulate the button presses with something like xte.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You can use xbindkeys and simulate the button presses with something like xte.
I thought about that but can that capture keys only from the mouse-keyboard interface? Or will it treat my keystrokes in my regular keyboard the same and emit mouse events when those keys are pressed?
Offline
No it will treat all instances of the key the same. If you program the mouse to send an F1 key, then there is no way for the system to later know that the F1 came from the mouse or the keyboard. But just program it to emit keysyms that you don't use, or don't even have on your keyboard - e.g., X11 has keysyms for function keys up to F35, I've yet to see a keyboard with anything over F14, certainly nothing in the F30s.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline