Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166849454
D28082.id82016.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D28082.id82016.diff
View Options
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 */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 2:25 AM (7 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36882497
Default Alt Text
D28082.id82016.diff (2 KB)
Attached To
Mode
D28082: hid: quiet -Wswitch
Attached
Detach File
Event Timeline
Log In to Comment