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 33 freebsd_instance :
44 image_family : freebsd-13-3
55 setup_script :
6- - pkg install -y libnghttp2 curl
6+ - pkg install -y libnghttp2 curl evdev-proto
77 - curl https://sh.rustup.rs -sSf --output rustup.sh
88 - sh rustup.sh -y --default-toolchain nightly --profile=minimal
99 - . $HOME/.cargo/env
1717 freebsd_instance :
1818 image : freebsd-14-1-release-amd64-ufs
1919 setup_script :
20- - pkg install -y libnghttp2 curl
20+ - pkg install -y libnghttp2 curl evdev-proto
2121 - curl https://sh.rustup.rs -sSf --output rustup.sh
2222 - sh rustup.sh -y --default-toolchain nightly --profile=minimal
2323 - . $HOME/.cargo/env
3131 freebsd_instance :
3232 image_family : freebsd-15-0-snap
3333 setup_script :
34- - pkg install -y libnghttp2 curl
34+ - pkg install -y libnghttp2 curl evdev-proto
3535 - curl https://sh.rustup.rs -sSf --output rustup.sh
3636 - sh rustup.sh -y --default-toolchain nightly --profile=minimal
3737 - . $HOME/.cargo/env
Original file line number Diff line number Diff line change @@ -2066,6 +2066,7 @@ fn test_freebsd(target: &str) {
20662066 "sys/eui64.h" ,
20672067 "sys/event.h" ,
20682068 [ freebsd13] : "sys/eventfd.h" ,
2069+ [ freebsd13] : "linux/input.h" ,
20692070 "sys/extattr.h" ,
20702071 "sys/file.h" ,
20712072 "sys/ioctl.h" ,
@@ -2091,6 +2092,7 @@ fn test_freebsd(target: &str) {
20912092 "sys/thr.h" ,
20922093 "sys/time.h" ,
20932094 [ freebsd14 || freebsd15] : "sys/timerfd.h" ,
2095+ [ freebsd14 || freebsd15] : "linux/input.h" ,
20942096 "sys/times.h" ,
20952097 "sys/timex.h" ,
20962098 "sys/types.h" ,
Original file line number Diff line number Diff line change @@ -288,6 +288,22 @@ s! {
288288 pub sem_flg: :: c_short,
289289 }
290290
291+ pub struct input_event {
292+ pub time: :: timeval,
293+ pub type_: :: u_short,
294+ pub code: :: u_short,
295+ pub value: :: c_int,
296+ }
297+
298+ pub struct input_absinfo {
299+ pub value: :: c_int,
300+ pub minimum: :: c_int,
301+ pub maximum: :: c_int,
302+ pub fuzz: :: c_int,
303+ pub flat: :: c_int,
304+ pub resolution: :: c_int,
305+ }
306+
291307 pub struct msqid_ds {
292308 pub msg_perm: :: ipc_perm,
293309 __unused1: * mut :: c_void,
You can’t perform that action at this time.
0 commit comments