arci-gamepad-keyboard

Crates.ioarci-gamepad-keyboard
lib.rsarci-gamepad-keyboard
version0.1.0
sourcesrc
created_at2021-07-01 04:43:02.06226
updated_at2023-03-31 09:13:24.902084
descriptionarci::Gamepad implementation for keyboard
homepage
repositoryhttps://github.com/openrr/openrr
max_upload_size
id417298
size52,265
Mitsuharu Kojima (mitsuharu-kojima)

documentation

README

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.

Commit count: 1026

cargo fmt