File tree Expand file tree Collapse file tree
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2252,6 +2252,7 @@ fn test_freebsd(target: &str) {
22522252 "sys/thr.h" ,
22532253 "sys/time.h" ,
22542254 [ freebsd14 || freebsd15] : "sys/timerfd.h" ,
2255+ [ freebsd13 || freebsd14 || freebsd15] : "dev/evdev/input.h" ,
22552256 "sys/times.h" ,
22562257 "sys/timex.h" ,
22572258 "sys/types.h" ,
@@ -2325,6 +2326,7 @@ fn test_freebsd(target: &str) {
23252326 "type_" if struct_ == "rtprio" => "type" . to_string ( ) ,
23262327 "type_" if struct_ == "sockstat" => "type" . to_string ( ) ,
23272328 "type_" if struct_ == "devstat_match_table" => "type" . to_string ( ) ,
2329+ "type_" if struct_ == "input_event" => "type" . to_string ( ) ,
23282330 s => s. to_string ( ) ,
23292331 }
23302332 } ) ;
Original file line number Diff line number Diff line change @@ -2019,6 +2019,8 @@ ifconf
20192019ifreq
20202020in6_pktinfo
20212021initgroups
2022+ input_absinfo
2023+ input_event
20222024ip_mreqn
20232025ipc_perm
20242026jail
Original file line number Diff line number Diff line change @@ -280,6 +280,22 @@ s! {
280280 pub sem_flg: c_short,
281281 }
282282
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+
283299 pub struct msqid_ds {
284300 pub msg_perm: crate :: ipc_perm,
285301 __unused1: * mut c_void,
You can’t perform that action at this time.
0 commit comments