after a lot of digging i cae across this page: http://lxr.free-electrons.com/source/Documentation/input/rotary-encoder.txt

It looks like this should now be all the info i need… and now i need to look how to enter the correct commands to set these values. That’s for tomorrow…

I need <id>,<steps>,<axis>,<gpioa>,<gpiob>,<inverted>

These are the values that I have in mind:

id = 0
steps = 20,
axis = ABS_X,
gpio_a = 16,
gpio_b = 17,
inverted = 0,