File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -2312,6 +2312,7 @@ fn test_freebsd(target: &str) {
2312
2312
"sys/thr.h" ,
2313
2313
"sys/time.h" ,
2314
2314
[ freebsd14 || freebsd15] : "sys/timerfd.h" ,
2315
+ [ freebsd13 || freebsd14 || freebsd15] : "dev/evdev/input.h" ,
2315
2316
"sys/times.h" ,
2316
2317
"sys/timex.h" ,
2317
2318
"sys/types.h" ,
@@ -2385,6 +2386,7 @@ fn test_freebsd(target: &str) {
2385
2386
"type_" if struct_ == "rtprio" => "type" . to_string ( ) ,
2386
2387
"type_" if struct_ == "sockstat" => "type" . to_string ( ) ,
2387
2388
"type_" if struct_ == "devstat_match_table" => "type" . to_string ( ) ,
2389
+ "type_" if struct_ == "input_event" => "type" . to_string ( ) ,
2388
2390
s => s. to_string ( ) ,
2389
2391
}
2390
2392
} ) ;
Original file line number Diff line number Diff line change @@ -2026,6 +2026,8 @@ ifconf
2026
2026
ifreq
2027
2027
in6_pktinfo
2028
2028
initgroups
2029
+ input_absinfo
2030
+ input_event
2029
2031
ip_mreqn
2030
2032
ipc_perm
2031
2033
jail
Original file line number Diff line number Diff line change @@ -290,6 +290,22 @@ s! {
290
290
pub sem_flg: c_short,
291
291
}
292
292
293
+ pub struct input_event {
294
+ pub time: crate :: timeval,
295
+ pub type_: crate :: u_short,
296
+ pub code: crate :: u_short,
297
+ pub value: i32 ,
298
+ }
299
+
300
+ pub struct input_absinfo {
301
+ pub value: i32 ,
302
+ pub minimum: i32 ,
303
+ pub maximum: i32 ,
304
+ pub fuzz: i32 ,
305
+ pub flat: i32 ,
306
+ pub resolution: i32 ,
307
+ }
308
+
293
309
pub struct msqid_ds {
294
310
pub msg_perm: crate :: ipc_perm,
295
311
__unused1: * mut c_void,
You can’t perform that action at this time.
0 commit comments