Docs.rs
uinput-sys-0.1.7
uinput-sys 0.1.7
Permalink
Docs.rs crate page
WTFPL
Links
Repository
crates.io
Source
Owners
meh
Dependencies
ioctl-sys ^0.5
normal
libc ^0.2
normal
Versions
0%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
uinput_
sys
0.1.7
All Items
Crate Items
Structs
Constants
Functions
Crate
uinput_sys
Copy item path
Source
Structs
§
input_
event
input_
id
uinput_
user_
dev
Constants
§
ABS_
BRAKE
ABS_CNT
ABS_
DISTANCE
ABS_GAS
ABS_
HAT0X
ABS_
HAT0Y
ABS_
HAT1X
ABS_
HAT1Y
ABS_
HAT2X
ABS_
HAT2Y
ABS_
HAT3X
ABS_
HAT3Y
ABS_MAX
ABS_
MISC
ABS_
MT_
BLOB_
ID
ABS_
MT_
DISTANCE
ABS_
MT_
ORIENTATION
ABS_
MT_
POSITION_
X
ABS_
MT_
POSITION_
Y
ABS_
MT_
PRESSURE
ABS_
MT_
SLOT
ABS_
MT_
TOOL_
TYPE
ABS_
MT_
TOOL_
X
ABS_
MT_
TOOL_
Y
ABS_
MT_
TOUCH_
MAJOR
ABS_
MT_
TOUCH_
MINOR
ABS_
MT_
TRACKING_
ID
ABS_
MT_
WIDTH_
MAJOR
ABS_
MT_
WIDTH_
MINOR
ABS_
PRESSURE
ABS_
RUDDER
ABS_RX
ABS_RY
ABS_RZ
ABS_
THROTTLE
ABS_
TILT_
X
ABS_
TILT_
Y
ABS_
TOOL_
WIDTH
ABS_
VOLUME
ABS_
WHEEL
ABS_X
ABS_Y
ABS_Z
BTN_0
BTN_1
BTN_2
BTN_3
BTN_4
BTN_5
BTN_6
BTN_7
BTN_8
BTN_9
BTN_A
BTN_B
BTN_
BACK
BTN_
BASE
BTN_
BASE2
BTN_
BASE3
BTN_
BASE4
BTN_
BASE5
BT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E
SW_
CAMERA_
LENS_
COVER
SW_CNT
SW_DOCK
SW_
FRONT_
PROXIMITY
SW_
HEADPHONE_
INSERT
SW_
JACK_
PHYSICAL_
INSERT
SW_
KEYPAD_
SLIDE
SW_LID
SW_
LINEIN_
INSERT
SW_
LINEOUT_
INSERT
SW_MAX
SW_
MICROPHONE_
INSERT
SW_
MUTE_
DEVICE
SW_
RADIO
SW_
RFKILL_
ALL
SW_
ROTATE_
LOCK
SW_
TABLET_
MODE
SW_
VIDEOOUT_
INSERT
SYN_CNT
SYN_
CONFIG
SYN_
DROPPED
SYN_MAX
SYN_
MT_
REPORT
SYN_
REPORT
UINPUT_
MAX_
NAME_
SIZE
Functions
§
ui_
dev_
create
⚠
ui_
dev_
destroy
⚠
ui_
get_
version
⚠
ui_
set_
absbit
⚠
ui_
set_
evbit
⚠
ui_
set_
ffbit
⚠
ui_
set_
keybit
⚠
ui_
set_
ledbit
⚠
ui_
set_
mscbit
⚠
ui_
set_
phys
⚠
ui_
set_
propbit
⚠
ui_
set_
relbit
⚠
ui_
set_
sndbit
⚠
ui_
set_
swbit
⚠