2021-07-22 13:40:24 +00:00
|
|
|
{
|
|
|
|
"cache": "/opt/persistent-evdev/cache",
|
|
|
|
"devices": {
|
2023-05-25 20:33:50 +00:00
|
|
|
{% if keyboards or mice %}
|
2021-07-22 13:40:24 +00:00
|
|
|
{% for item in keyboards %}
|
2023-05-25 20:33:50 +00:00
|
|
|
"persist-keyboard{{loop.index0}}": "{{ item }}"{%if not loop.last or mice %},{% endif %}
|
2021-07-22 13:40:24 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% for item in mice %}
|
2023-05-25 20:33:50 +00:00
|
|
|
"persist-mouse{{loop.index0}}": "{{ item }}"{%if not loop.last %},{% endif %}
|
2021-07-22 13:40:24 +00:00
|
|
|
{% endfor %}
|
2023-05-25 20:33:50 +00:00
|
|
|
{% endif %}
|
2021-07-22 13:40:24 +00:00
|
|
|
}
|
|
|
|
}
|