Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

bluetooth - 蓝牙游戏手柄无法创建/ dev / input / event(Bluetooth gamepad doesn't create /dev/input/event)

I want to use a Gamesiyr T1d gamepad (Bluetooth) to read it's commands with Python, on a Raspberry Pi 3 B+ (Buster).

(我想在Raspberry Pi 3 B +(Buster)上使用Gamesiyr T1d游戏手柄(蓝牙)来用Python读取命令。)

I am able to connect the gamepad via Bluetooth:

(我可以通过蓝牙连接游戏手柄:)

[CHG] Device C6:86:A1:04:BB:53 RSSI: -78
[bluetooth]# connect C6:86:A1:04:BB:53
Attempting to connect to C6:86:A1:04:BB:53
[CHG] Device C6:86:A1:04:BB:53 Connected: yes
Connection successful
[CHG] Device C6:86:A1:04:BB:53 ServicesResolved: yes
[Gamesir-T1d-BB53]# pair C6:86:A1:04:BB:53
Attempting to pair with C6:86:A1:04:BB:53
[CHG] Device C6:86:A1:04:BB:53 Paired: yes
Pairing successful
[Gamesir-T1d-BB53]# info
Device C6:86:A1:04:BB:53 (random)
Name: Gamesir-T1d-BB53
Alias: Gamesir-T1d-BB53
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Unknown                   (00008650-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000Dp0000d0110
RSSI: -78
[Gamesir-T1d-BB53]# 

However, there is no event created under

(但是,没有在)

/dev/input/

wich I would need to read and map the gamepad's commands into python.

(至此,我需要阅读并将游戏手柄的命令映射到python中。)

When connecting a Bluetooth mouse, I can see events being created, so this seems to be a gamepad specific issue.

(连接蓝牙鼠标时,我可以看到正在创建的事件,因此这似乎是游戏手柄特有的问题。)

I was already trying xboxdrv, but without success, probably since the gamesir is not listed as supported device?

(我已经在尝试xboxdrv,但是没有成功,可能是因为gameir没有被列为受支持的设备?)

Also, I have no glue if this is just a missing driver issue, or if there is a generic driver which could work, or if this is a driver issue at all.

(另外,如果这仅仅是一个缺少的驱动程序问题,或者有一个通用的驱动程序可以工作,或者如果这根本是一个驱动程序问题,那么我就没有胶水。)

What I am missing here?

(我在这里想念的是什么?)

  ask by XYAB translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...