-
Notifications
You must be signed in to change notification settings - Fork 6
/
ExampleConfig.ini
33 lines (29 loc) · 1.65 KB
/
ExampleConfig.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This is a demonstration of all available config options.
# Evdevhook can work without config file at all or with an empty one - you're advised to only use settings that you actually need to change.
# Main section
[Evdevhook]
# Port to run on.
# Default 26760.
Port=26760
# AllowlistMode allows to only expose devices for which section in this config file is present.
# This is useful if you have over four controllers (which is the limit of DSU protocol) - run two servers with different config files, each serving specific controllers.
# Default false.
AllowlistMode=true
# Use UPower to try and provide battery level to clients.
# You may want to disable this to avoid warnings if you don't have UPower daemon up and running or as part of troubleshooting.
# Default true.
UseUPower=true
# Per-device sections - optional unless AllowlistMode is enabled.
# Section name can be found as "unique identifier" for device in server's output.
# My left Joy-Con
[D4:F0:57:3E:25:C1]
# Orientation modifies how you're expected to hold your device.
# Valid values are:
# * normal (default) - No orientation changes.
# * sideways-left - Use with sideways left joy-con where "normal" controller is expected (e.g. Citra)
# * sideways-right - Use with sideways right joy-con where "normal" controller is expected (e.g. Citra) or as a replacement for "sideways wiimote" setting in dolphin
# * inverted - Use when controller is rotated around compared to what is expected (e.g. sideways right joy-con when game expects sideways left joy-con or wiimote)
Orientation=sideways-left
# My right Joy-Con
# Empty sections are also valid - they just add device with default settings.
[D4:F0:57:3D:7C:E3]