From: jon@elytron.openbsd.amsterdam Subject: Re: Numpad on macppc laptops To: kernigh@gmail.com Cc: tech@openbsd.org Date: Thu, 11 Apr 2024 19:05:37 +0000 Hello, thank you for reviewing this diff. I think only some late powerbooks have usb keyboards, even the ibook A1133 which is one of the latest has an adb one. What you mention about numlock on abd keyboards sounds pretty annoying, perhaps we can also take care of that as well later. I no longer have a laptop with an adb keyboard to test. I didn't map the "clear" key as I missed it on my keyboard, but comparing now with others' I have noticed it. What should we map it to on OpenBSD? As for the KP_Enter case, I didn't map it because it's already mapped to insert: static const struct hidkbd_translation apple_fn_trans[] = { { 40, 73 }, /* return -> insert */ Here are a few pics I gathered including my current A1139: https://elytron.openbsd.amsterdam/pics/A1139-1.jpg https://elytron.openbsd.amsterdam/pics/A1139-2.jpg https://elytron.openbsd.amsterdam/pics/A1138.jpg https://elytron.openbsd.amsterdam/pics/A1054.jpg