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) {
23122312 "sys/thr.h" ,
23132313 "sys/time.h" ,
23142314 [ freebsd14 || freebsd15] : "sys/timerfd.h" ,
2315+ [ freebsd13 || freebsd14 || freebsd15] : "dev/evdev/input.h" ,
23152316 "sys/times.h" ,
23162317 "sys/timex.h" ,
23172318 "sys/types.h" ,
@@ -2385,6 +2386,7 @@ fn test_freebsd(target: &str) {
23852386 "type_" if struct_ == "rtprio" => "type" . to_string ( ) ,
23862387 "type_" if struct_ == "sockstat" => "type" . to_string ( ) ,
23872388 "type_" if struct_ == "devstat_match_table" => "type" . to_string ( ) ,
2389+ "type_" if struct_ == "input_event" => "type" . to_string ( ) ,
23882390 s => s. to_string ( ) ,
23892391 }
23902392 } ) ;
Original file line number Diff line number Diff line change @@ -2026,6 +2026,8 @@ ifconf
20262026ifreq
20272027in6_pktinfo
20282028initgroups
2029+ input_absinfo
2030+ input_event
20292031ip_mreqn
20302032ipc_perm
20312033jail
Original file line number Diff line number Diff line change @@ -290,6 +290,22 @@ s! {
290290 pub sem_flg: c_short,
291291 }
292292
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+
293309 pub struct msqid_ds {
294310 pub msg_perm: crate :: ipc_perm,
295311 __unused1: * mut c_void,
You can’t perform that action at this time.
0 commit comments