Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Raspberry Pi Touchscreen #3

Open
DaAwesomeP opened this issue Aug 15, 2021 · 0 comments
Open

Does not work with Raspberry Pi Touchscreen #3

DaAwesomeP opened this issue Aug 15, 2021 · 0 comments

Comments

@DaAwesomeP
Copy link

Hello!

I'm having trouble getting Taxi to work with the Raspberry Pi Touchscreen (the official TFT one). It works fine with the mouse, but tapping doesn't do anything. Here is the startup log:

[INFO   ] [Logger      ] Record log in /home/axidraw5/.kivy/logs/kivy_21-08-15_18.txt
INFO:kivy:[Logger      ] Record log in /home/axidraw5/.kivy/logs/kivy_21-08-15_18.txt
[INFO   ] [Kivy        ] v2.0.0
INFO:kivy:[Kivy        ] v2.0.0
[INFO   ] [Kivy        ] Installed at "/opt/venv-taxi/lib/python3.7/site-packages/kivy/__init__.py"
INFO:kivy:[Kivy        ] Installed at "/opt/venv-taxi/lib/python3.7/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.7.3 (default, Jan 22 2021, 20:04:44) 
[GCC 8.3.0]
INFO:kivy:[Python      ] v3.7.3 (default, Jan 22 2021, 20:04:44) 
[GCC 8.3.0]
[INFO   ] [Python      ] Interpreter at "/opt/venv-taxi/bin/python"
INFO:kivy:[Python      ] Interpreter at "/opt/venv-taxi/bin/python"
[INFO   ] [Factory     ] 186 symbols loaded
INFO:kivy:[Factory     ] 186 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer ignored)
INFO:kivy:[Image       ] Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2(['text_pango'] ignored)
INFO:kivy:[Text        ] Provider: sdl2(['text_pango'] ignored)
[INFO   ] [Window      ] Provider: sdl2
INFO:kivy:[Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
INFO:kivy:[GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
INFO:kivy:[GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'2.1 Mesa 19.3.2'>
INFO:kivy:[GL          ] OpenGL version <b'2.1 Mesa 19.3.2'>
[INFO   ] [GL          ] OpenGL vendor <b'Broadcom'>
INFO:kivy:[GL          ] OpenGL vendor <b'Broadcom'>
[INFO   ] [GL          ] OpenGL renderer <b'V3D 4.2'>
INFO:kivy:[GL          ] OpenGL renderer <b'V3D 4.2'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
INFO:kivy:[GL          ] OpenGL parsed version: 2, 1
[INFO   ] [GL          ] Shading version <b'1.20'>
INFO:kivy:[GL          ] Shading version <b'1.20'>
[INFO   ] [GL          ] Texture max size <4096>
INFO:kivy:[GL          ] Texture max size <4096>
[INFO   ] [GL          ] Texture max units <16>
INFO:kivy:[GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
INFO:kivy:[Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard allowed, single mode, docked
INFO:kivy:[Window      ] virtual keyboard allowed, single mode, docked
[INFO   ] disabling XY motors
INFO:kivy:disabling XY motors
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event4
INFO:kivy:[ProbeSysfs  ] device match: /dev/input/event4
[INFO   ] [HIDInput    ] Read event from </dev/input/event4>
INFO:kivy:[HIDInput    ] Read event from </dev/input/event4>
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0
INFO:kivy:[ProbeSysfs  ] device match: /dev/input/event0
[INFO   ] [HIDInput    ] Read event from </dev/input/event0>
INFO:kivy:[HIDInput    ] Read event from </dev/input/event0>
[INFO   ] [Base        ] Start application main loop
INFO:kivy:[Base        ] Start application main loop
[INFO   ] [HIDMotionEvent] using <raspberrypi-ts>
INFO:kivy:[HIDMotionEvent] using <raspberrypi-ts>
[INFO   ] [HIDMotionEvent] <raspberrypi-ts> range ABS X position is 0 - 799
INFO:kivy:[HIDMotionEvent] <raspberrypi-ts> range ABS X position is 0 - 799
[INFO   ] [HIDMotionEvent] using <Logitech USB Optical Mouse>
INFO:kivy:[HIDMotionEvent] using <Logitech USB Optical Mouse>
[INFO   ] [HIDMotionEvent] <raspberrypi-ts> range ABS Y position is 0 - 479
INFO:kivy:[HIDMotionEvent] <raspberrypi-ts> range ABS Y position is 0 - 479
[INFO   ] [HIDMotionEvent] <raspberrypi-ts> range position X is 0 - 799
INFO:kivy:[HIDMotionEvent] <raspberrypi-ts> range position X is 0 - 799
[INFO   ] [HIDMotionEvent] <raspberrypi-ts> range position Y is 0 - 479
INFO:kivy:[HIDMotionEvent] <raspberrypi-ts> range position Y is 0 - 479
[INFO   ] [GL          ] NPOT texture support is available
INFO:kivy:[GL          ] NPOT texture support is available

It seems to detect it but doesn't do anything on touch events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant