derekhe / waveshare-7inch-touchscreen-driver

87 stars 55 forks source link

suport for python app #22

Open Akex2 opened 7 years ago

Akex2 commented 7 years ago

change that in your py file please

    device = uinput.Device([
        uinput.BTN_LEFT,
        uinput.BTN_RIGHT,
        uinput.ABS_X + (0, 1024, 0, 0),
        uinput.ABS_Y + (0, 600, 0, 0), 

for delete that error :

libinput error: kernel bug: Device 'python-uinput' has min == max on ABS_X thx

NeodarZ commented 7 years ago

Ah, here is the solution of my problem! Thank you :)

But I didn't get this error ... In my case, the python script detected well the position of my figer but it didn't transmit to libudev (If I understood the system)...