如何调试蓝牙键盘连接树莓派上无法识别的某些键

问题描述

我有2个覆盆子pi rpi2b +,含破坏星 rpi3b与破坏者

我有一个远程快门(这个https://www.aliexpress.com/item/33041323857.html),我通过蓝牙与rpi配对,它被识别为远程键盘。 大(iOS)键发送密钥代码115 小(android)键发送密钥代码28

与rpi3b配对时,showkey会检测到两个键

import localeIt from '@angular/common/locales/it';
import { registerLocaleData } from '@angular/common';
registerLocaleData(localeIt);

@NgModule...
...
providers: [{provide: LOCALE_ID,useValue: 'it'}]

与rpi2b +配对时,showkey无法检测到键码115

pi@RPi-Rob-usb:~ $ sudo showkey
kb mode was ?UNKNowN?
[ if you are trying this under X,it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode 115 press
keycode 115 release

keycode  28 press
keycode  28 release
pi@RPi-Rob:~ $ sudo showkey
kb mode was ?UNKNowN?
[ if you are trying this under X,it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode  28 press
keycode  28 release

如何使rpi2b +识别键码115? 是否有一个较低级别的工具来显示pi端实际收到的内容

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)