From 5dd819c241382f1a115fb9756337fe737acaef90 Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Wed, 10 Jan 2024 15:25:14 +0800 Subject: [PATCH] =?UTF-8?q?>=20build=5Fnpc=5FVSegHandler=5Fnvboard=20=20ys?= =?UTF-8?q?yx=5F22040000=20=E6=9D=8E=E5=BF=83=E6=9D=A8=20=20Linux=20calcit?= =?UTF-8?q?e=206.1.69=20#1-NixOS=20SMP=20PREEMPT=5FDYNAMIC=20Wed=20Dec=202?= =?UTF-8?q?0=2016:00:29=20UTC=202023=20x86=5F64=20GNU/Linux=20=20=2015:25:?= =?UTF-8?q?14=20=20up=202=20days=2014:25,=20=202=20users,=20=20load=20aver?= =?UTF-8?q?age:=202.18,=201.80,=201.50?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/csrc_nvboard/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/csrc_nvboard/main.cpp b/npc/csrc_nvboard/main.cpp index 5ac42d9..f24da0c 100644 --- a/npc/csrc_nvboard/main.cpp +++ b/npc/csrc_nvboard/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char **argv, char **env) { nvboard_update(); cycle(top, [&] { if (keycode != top->io_keycode_bits) { - printf("%x\n", 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; } });