> configure(npc)
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 17:10:11 up 2 days 16:10, 2 users, load average: 0.52, 0.61, 0.56
This commit is contained in:
parent
c03db677e8
commit
34c3b29d2d
5 changed files with 17 additions and 11 deletions
|
@ -45,9 +45,9 @@ int main(int argc, char **argv, char **env) {
|
|||
while (true) {
|
||||
nvboard_update();
|
||||
cycle(top, [&] {
|
||||
if (keycode != top->io_keycode_bits) {
|
||||
printf("keycode: 0x%x display: %x %x\n", top->io_keycode_bits, top->io_segs_1, top->io_segs_0);
|
||||
keycode = top->io_keycode_bits;
|
||||
if (keycode != top->io_ps2_data) {
|
||||
keycode = top->io_ps2_data;
|
||||
printf("%d\n", keycode);
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue