OpenSimTools / RaceDirector

The sim racer's Swiss Army knife.
MIT License
3 stars 0 forks source link

JoyToKey #27

Open paoloambrosio opened 3 years ago

paoloambrosio commented 3 years ago

Replicate JoyToKey:

Example configuration:

usb_input:
- device: Fanatec CSL Elite
  rules:
  - controls:
    - Button 1
    - Button 7
    events:
    - name: look_back
  - controls:
    - Button 1
    events:
    - name: look_left
  - controls:
    - Button 7
    events:
    - name: look_right
keyboard_output:
  look_back:
  - scan_code: LookBack_ScanCode 
  look_left:
  - scan_code: LookLeft_ScanCode
  look_right:
  - scan_code: LookRight_ScanCode

Depends on #15.

Do not:

I/O libraries and methods: