带有 P1 到 P6 键的 HP Omen。如何将密钥连接到它们?

Rin*_*ind 5 mouse keyboard shortcut-keys

这些键应该响应鼠标事件。在 Windows 下,按键报告与其右侧的按键相同(因此 P1 -> ESC ... P6 -> Control)

这些命令不报告任何内容(在 a 之后使用sudo -i

cat /dev/input/mice | od -t x1 -w3 
xinput test-xi2 --root 
showkey --keycodes
acpi-listen
Run Code Online (Sandbox Code Playgroud)

我也尝试过mev(鼠标版本的 xev)来自gpm.

有没有办法让这些键对控制移位做出反应,以便我可以附加事件?

该系统还有一个“预兆键”(在删除和打印屏幕之间)。

showkey --keycodes 
Run Code Online (Sandbox Code Playgroud)

显示

ACPI Error: Field [D128] at bit offset/length 128/1024 exceeds size of target Buffer (160 bits) (20181213/dsopcode-201)
kernel: [ 1677.596693] No Local Variables are initialized for Method [HWMC]
kernel: [ 1677.596694] Initialized Arguments for Method [HWMC]:  (2 arguments defined for method invocation)
kernel: [ 1677.596694]   Arg0:   0000000059a10415 <Obj>           Integer 0000000000000002
kernel: [ 1677.596697]   Arg1:   0000000041b5acf7 <Obj>           Buffer(20) 53 45 43 55 01 00 00 00
kernel: [ 1677.596700] ACPI Error: Method parse/execution failed \HWMC, AE_AML_BUFFER_LIMIT (20181213/psparse-531)
kernel: [ 1677.597104] ACPI Error: Method parse/execution failed \_SB.WMID.WMAA, AE_AML_BUFFER_LIMIT (20181213/psparse-531)
Run Code Online (Sandbox Code Playgroud)

acpi_listen显示

95F24279-4D7B-43? 00000080 00000000
Run Code Online (Sandbox Code Playgroud)