Add preliminary evdev discovery

Nope, if S1 < S2 it will return a wrong value