cyber-sushi / makima

Linux daemon to remap and create macros for keyboards, mice and controllers
GNU General Public License v3.0
138 stars 1 forks source link

nothing happens #6

Closed ninfranko closed 5 months ago

cyber-sushi commented 5 months ago

Hello, can you explain more in detail? What output do you get if you execute Makima from a terminal?

desplmfao commented 5 months ago

i have the same issue. (im using the example xbox config, i tried in and out of cs2)

this is all that was given in the output.

[user@archlinux asdasdasfasf]$ ./makima evtest
Parsing config file:
"/home/user/.config/makima/xbox.toml"

>> Running on X11, active window detection enabled.

this is my neofetch if this helps at all (it might be a kde6 issue)

image

desplmfao commented 5 months ago

(i am on x11 and i'm pretty sure i have the evdev drivers installed)

cyber-sushi commented 5 months ago

You need to rename the .toml config file according to your device's name, which you can retrieve using evtest. If Makima detects an input device with a name that exactly matches your config file's name, it'll start reading the input events

Refer to the documentation for more info

Also, when you launch Makima, there's no need to use ./makima evtest, just ./makima is enough

Let me know if it works

desplmfao commented 5 months ago

that worked, thank you!

it first gave me an error about "GRAB_DEVICE" not being defined but i got it working

desplmfao commented 5 months ago

how would i use ABS_X, and ABS_Y? (like to keybind them to keys)

and also how would i remove the stick deadzone for a controller?

cyber-sushi commented 5 months ago

I've released version 0.4.3, which adds deadzone configuration through the DEADZONE parameter (and I've also fixed the Xbox config file to include the GRAB_DEVICE parameter), so just download the new version (and config file) and it should work

ABS_X and ABS_Y can only be used for cursor movement and 2D scroll at the moment. All ABS events have their own quirks so they need to be coded in manually, here in the docs you can find a list of the ABS events that can be remapped to keys currently, but if you need it, I can also add remapping for the analog sticks

desplmfao commented 5 months ago

alright, thank you, ill try it out when im on my computer 😊, and yes it would be really good if you could have a way to keybind negative and positive values for ABS_X and ABS_Y

cyber-sushi commented 5 months ago

I have added analog stick rebinding for each direction in version 0.5.0, plus deadzone configuration per stick, so that should be it for this issue

Also take a look at the new config files since I have reworked the syntax to be simpler