File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 3
3
freebsd_instance :
4
4
image_family : freebsd-13-3
5
5
setup_script :
6
- - pkg install -y libnghttp2 curl
6
+ - pkg install -y libnghttp2 curl evdev-proto
7
7
- curl https://sh.rustup.rs -sSf --output rustup.sh
8
8
- sh rustup.sh -y --default-toolchain nightly --profile=minimal
9
9
- . $HOME/.cargo/env
17
17
freebsd_instance :
18
18
image : freebsd-14-1-release-amd64-ufs
19
19
setup_script :
20
- - pkg install -y libnghttp2 curl
20
+ - pkg install -y libnghttp2 curl evdev-proto
21
21
- curl https://sh.rustup.rs -sSf --output rustup.sh
22
22
- sh rustup.sh -y --default-toolchain nightly --profile=minimal
23
23
- . $HOME/.cargo/env
31
31
freebsd_instance :
32
32
image_family : freebsd-15-0-snap
33
33
setup_script :
34
- - pkg install -y libnghttp2 curl
34
+ - pkg install -y libnghttp2 curl evdev-proto
35
35
- curl https://sh.rustup.rs -sSf --output rustup.sh
36
36
- sh rustup.sh -y --default-toolchain nightly --profile=minimal
37
37
- . $HOME/.cargo/env
Original file line number Diff line number Diff line change @@ -2066,6 +2066,7 @@ fn test_freebsd(target: &str) {
2066
2066
"sys/eui64.h" ,
2067
2067
"sys/event.h" ,
2068
2068
[ freebsd13] : "sys/eventfd.h" ,
2069
+ [ freebsd13] : "sys/input.h" ,
2069
2070
"sys/extattr.h" ,
2070
2071
"sys/file.h" ,
2071
2072
"sys/ioctl.h" ,
@@ -2091,6 +2092,7 @@ fn test_freebsd(target: &str) {
2091
2092
"sys/thr.h" ,
2092
2093
"sys/time.h" ,
2093
2094
[ freebsd14 || freebsd15] : "sys/timerfd.h" ,
2095
+ [ freebsd14 || freebsd15] : "sys/input.h" ,
2094
2096
"sys/times.h" ,
2095
2097
"sys/timex.h" ,
2096
2098
"sys/types.h" ,
Original file line number Diff line number Diff line change @@ -288,6 +288,22 @@ s! {
288
288
pub sem_flg: :: c_short,
289
289
}
290
290
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
+
291
307
pub struct msqid_ds {
292
308
pub msg_perm: :: ipc_perm,
293
309
__unused1: * mut :: c_void,
You can’t perform that action at this time.
0 commit comments