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

Python • Re: Can't get pyinput to receive events from second bluetooth device.

$
0
0
Thanks.
The device that works is this:
https://www.amazon.co.uk/dp/B0DLNCRKDL

And the one that doesn't is this one:
https://www.aliexpress.com/item/1005008140639646.html

They are both Bluetooth finger remote controls. I was gambling on the fact that they both look very similar and so would be consistent. They certainly output the same key press events.

I am indeed using X11, and xev doesn't respond to anything from the non working device. I'm guessing there is nothing I can do about it with pyinput. If there is nothing I can do then I suppose I will have to use the evdev python module or stick with the keyboard module that does receive events from it.
The nice thing about pyinput is that it receives repeat key presses quickly when a button is held down on devices that send them, although that isn't the case with these two devices so evdev might be my best route.

Statistics: Posted by jimseng — Tue Apr 01, 2025 11:07 am



Viewing all articles
Browse latest Browse all 8023

Trending Articles