I’ve got a custom UI board/hat for Raspberry Pi that includes some buttons and encoders. These are all setup with a device overlay so they show up as
/dev/input/ devices like this (output from dmesg):
[ 3.903843] input: keys as /devices/platform/keys/input/input4 [ 4.241849] input: soc:knob3 as /devices/platform/soc/soc:knob3/input/input5 [ 4.262185] input: soc:knob2 as /devices/platform/soc/soc:knob2/input/input6 [ 4.274703] input: soc:knob1 as /devices/platform/soc/soc:knob1/input/input7 [ 4.284326] input: soc:knob4 as /devices/platform/soc/soc:knob4/input/input8
What is my best approach to work with these inputs from OF?