Skip to content

Commit be0937f

Browse files
author
Жунёва Мария Михайловна
committed
Add structures for freebsd
1 parent 7d7151c commit be0937f

File tree

1 file changed

+16
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+16
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)