Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Device Tree • evtest ?

$
0
0
Hi,

I am learning about evtest and the associated evtest python3 library.

When I run 'sudo evtest' at the command prompt, on a rotary encoder device, I get:

Code:

Input driver version is 1.0.1Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0Input device name: "rotary@14"Supported events:  Event type 0 (EV_SYN)  Event type 3 (EV_ABS)    Event code 0 (ABS_X)      Value     10      Min        0      Max       24      Flat       1Properties:Testing ... (interrupt to exit)Event: time 1737057271.170669, type 3 (EV_ABS), code 0 (ABS_X), value 11Event: time 1737057271.170669, -------------- SYN_REPORT ------------Event: time 1737057271.273223, type 3 (EV_ABS), code 0 (ABS_X), value 12Event: time 1737057271.273223, -------------- SYN_REPORT ------------
The "Max24" seems to limit the encoder count to 24.

Can I change this to say Max100 somehow, or is this a hard coded limit?

Google has let me down on this one, your thoughts?

Thanks,

Brian H.

Statistics: Posted by hambonius — Thu Jan 16, 2025 8:07 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles