forked from mciupak/libvirt-evdev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibvirt-evdev.toml
40 lines (37 loc) · 1.02 KB
/
libvirt-evdev.toml
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
34
35
36
37
38
39
40
[inputs]
mouse = '/dev/input/by-id/usb-Logitech_USB_Receiver-if02-event-mouse'
keyboard = '/dev/input/by-id/usb-SONiX_USB_DEVICE-event-kbd'
# Define specific DDC commands for host and guest
# Required for monitors that only respond to DDC on the active input
# host_screen_cmd - DDC command on the host.
# guest_screen_cmd - DDC command on the guest
# parameters (eg. <address>) will be replaced with their definitions below at runtime.
[commands]
host_screen_cmd = '/usr/bin/ddccontrol -r <address> -w <id> <host_dev>'
guest_screen_cmd = 'ssh user@host "/usr/local/bin/ddcctl -d <guest_dev> -i <id>"'
[[screens]]
name = 'Dell-1'
host_dev = 'dev:/dev/i2c-0'
guest_dev = '1'
address = '0x60'
[[screens.sources]]
id = '15'
owner = 'guest'
name = 'DP'
[[screens.sources]]
id = '3'
owner = 'host'
name = 'DVI'
[[screens]]
name = 'Dell-2'
host_dev = 'dev:/dev/i2c-1'
guest_dev = '2'
address = '0x60'
[[screens.sources]]
id = '15'
owner = 'guest'
name = 'DP'
[[screens.sources]]
id = '3'
owner = 'host'
name = 'DVI'