3 unstable releases

0.1.0 Mar 31, 2023
0.0.7 Dec 9, 2022
0.0.6 Jul 1, 2021

#195 in Robotics

44 downloads per month
Used in 2 crates (via openrr-apps)

Apache-2.0

145KB
3.5K SLoC

arci-gamepad-keyboard

crates.io docs docs

arci::Gamepad implementation for keyboard.

Currently, this crate only supports Unix-like operating systems.

Examples

urdf-viz ./openrr-planner/sample.urdf &
cargo run -p openrr-apps --bin openrr_apps_robot_teleop_keyboard -- --config-path ./openrr-apps/config/sample_teleop_config_urdf_viz.toml

Key mappings

LeftStick:
   q    w    e
   a    s    d
   z    x    c

RightStick:
   u    i    o
   j    k    l
   m    ,    .

5 : ^ (DPadUp)
r : < (DPadLeft)
t : > (DPadRight)
f : v (DPadDown)

y : △ (North)
g : □ (West)
h : ○ (East)
b : x (South)

1 : L1 (LeftTrigger)
2 : L2 (LeftTrigger2)
3 : L3 (LeftThumb)

8 : R1 (RightTrigger)
9 : R2 (RightTrigger2)
0 : R3 (RightThumb)

6 : Select
7 : Start

License

Licensed under the Apache License, Version 2.0.

Dependencies

~10–19MB
~242K SLoC