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 @@ -2268,6 +2268,7 @@ fn test_freebsd(target: &str) {
2268
2268
"sys/thr.h" ,
2269
2269
"sys/time.h" ,
2270
2270
[ freebsd14 || freebsd15] : "sys/timerfd.h" ,
2271
+ [ freebsd13 || freebsd14 || freebsd15] : "dev/evdev/input.h" ,
2271
2272
"sys/times.h" ,
2272
2273
"sys/timex.h" ,
2273
2274
"sys/types.h" ,
@@ -2341,6 +2342,7 @@ fn test_freebsd(target: &str) {
2341
2342
"type_" if struct_ == "rtprio" => "type" . to_string ( ) ,
2342
2343
"type_" if struct_ == "sockstat" => "type" . to_string ( ) ,
2343
2344
"type_" if struct_ == "devstat_match_table" => "type" . to_string ( ) ,
2345
+ "type_" if struct_ == "input_event" => "type" . to_string ( ) ,
2344
2346
s => s. to_string ( ) ,
2345
2347
}
2346
2348
} ) ;
Original file line number Diff line number Diff line change @@ -2019,6 +2019,8 @@ ifconf
2019
2019
ifreq
2020
2020
in6_pktinfo
2021
2021
initgroups
2022
+ input_absinfo
2023
+ input_event
2022
2024
ip_mreqn
2023
2025
ipc_perm
2024
2026
jail
Original file line number Diff line number Diff line change @@ -280,6 +280,22 @@ s! {
280
280
pub sem_flg: c_short,
281
281
}
282
282
283
+ pub struct input_event {
284
+ pub time: crate :: timeval,
285
+ pub type_: crate :: u_short,
286
+ pub code: crate :: u_short,
287
+ pub value: c_int,
288
+ }
289
+
290
+ pub struct input_absinfo {
291
+ pub value: c_int,
292
+ pub minimum: c_int,
293
+ pub maximum: c_int,
294
+ pub fuzz: c_int,
295
+ pub flat: c_int,
296
+ pub resolution: c_int,
297
+ }
298
+
283
299
pub struct msqid_ds {
284
300
pub msg_perm: crate :: ipc_perm,
285
301
__unused1: * mut c_void,
You can’t perform that action at this time.
0 commit comments