-/* $OpenBSD: ukbd.c,v 1.87 2022/09/16 16:30:10 robert Exp $ */
+/* $OpenBSD: ukbd.c,v 1.88 2022/10/04 19:38:20 miod Exp $ */
/* $NetBSD: ukbd.c,v 1.85 2003/03/11 16:44:00 augustss Exp $ */
/*
struct hidkbd sc_kbd;
int sc_spl;
- struct hid_location sc_apple_fn;
#ifdef DDB
struct timeout sc_ddb; /* for entering DDB */
if (uha->uaa->vendor == USB_VENDOR_APPLE) {
if (hid_locate(desc, dlen, HID_USAGE2(HUP_APPLE, HUG_FN_KEY),
- uha->reportid, hid_input, &sc->sc_apple_fn, &qflags)) {
+ uha->reportid, hid_input, &kbd->sc_fn, &qflags)) {
if (qflags & HIO_VARIABLE) {
switch (uha->uaa->product) {
case USB_PRODUCT_APPLE_FOUNTAIN_ISO: