Index: sys/dev/hid/hcons.c =================================================================== --- sys/dev/hid/hcons.c +++ sys/dev/hid/hcons.c @@ -252,6 +252,10 @@ evdev_push_key(evdev, code, 1); evdev_push_key(evdev, code, 0); } + break; + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } return (0); Index: sys/dev/hid/hgame.c =================================================================== --- sys/dev/hid/hgame.c +++ sys/dev/hid/hgame.c @@ -126,6 +126,11 @@ sc->dpad_left = (data != 0); break; } + break; + + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } return (0); Index: sys/dev/hid/hpen.c =================================================================== --- sys/dev/hid/hpen.c +++ sys/dev/hid/hpen.c @@ -126,6 +126,11 @@ case HIDMAP_CB_IS_RUNNING: data = ctx.data; /* TODO */ + break; + + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } return (0); Index: sys/dev/hid/ps4dshock.c =================================================================== --- sys/dev/hid/ps4dshock.c +++ sys/dev/hid/ps4dshock.c @@ -808,6 +808,11 @@ idx = MIN(nitems(hat_switch_map) - 1, (u_int)ctx.data); evdev_push_abs(evdev, ABS_HAT0X, hat_switch_map[idx].x); evdev_push_abs(evdev, ABS_HAT0Y, hat_switch_map[idx].y); + break; + + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } return (0); @@ -854,6 +859,10 @@ ((int64_t)ctx.data - calib->bias) * calib->sens_numer / calib->sens_denom); break; + + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } return (0); @@ -879,6 +888,10 @@ sc->hw_tstamp = tstamp; evdev_push_msc(evdev, MSC_TIMESTAMP, sc->ev_tstamp); break; + + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } return (0); @@ -1020,6 +1033,10 @@ evdev_sync(evdev); } break; + + case HIDMAP_CB_IS_PROBING: + case HIDMAP_CB_IS_DETACHING: + break; } /* Do execute callback at interrupt handler and detach */