@@ -30,14 +30,16 @@ The config file is generated on first-run in the following location and format
3030| macOS | ` /Users/.../Library/Application Support ` |
3131| Linux | ` /home/.../.config ` |
3232
33- ``` json
33+ ``` json5
3434{
3535 // The fallback profile to use when no match is found (optional)
3636 " fallback_profile_index" : null ,
3737 // Sleep duration for the loop checking the active window
3838 " loop_sleep_ms" : 250 ,
3939 // Sleep duration between sending Wooting USB commands
4040 " send_sleep_ms" : 250 ,
41+ // Swap the lighting effects with the keyboard profile
42+ " swap_lighting" : true ,
4143 // List of rule objects, all match rules support Wildcard and Regex
4244 " rules" : [
4345 {
@@ -47,17 +49,17 @@ The config file is generated on first-run in the following location and format
4749 " process_name" : " Isaac" ,
4850 // Match against the running process path (optional)
4951 " process_path" : null ,
50- // The profile to switch to when a match is found for this rule (0-3)
51- "profile_index" : 1 ,
5252 // Match against the running window title (optional)
53- "title" : null
53+ " title" : null ,
54+ // The profile to switch to when a match is found for this rule (0-3)
55+ " profile_index" : 1
5456 },
5557 {
5658 " app_name" : null ,
5759 " process_name" : " isaac-ng.exe" ,
5860 " process_path" : null ,
59- "profile_index " : 2 ,
60- "title " : null
61+ " title " : null ,
62+ " profile_index " : 2
6163 }
6264 ]
6365}
@@ -67,25 +69,25 @@ The config file is generated on first-run in the following location and format
6769
6870#### Matching a window title with a date variable
6971
70- ``` json
72+ ``` json5
7173{
7274 " app_name" : null ,
7375 " process_name" : null ,
7476 " process_path" : null ,
75- "profile_index " : 0 ,
76- "title " : " VRCX ????.??.?? "
77+ " title " : " VRCX ????.??.?? " ,
78+ " profile_index " : 0
7779}
7880```
7981
8082#### Matching a window title with a version variable
8183
82- ``` json
84+ ``` json5
8385{
8486 " app_name" : null ,
8587 " process_name" : null ,
8688 " process_path" : null ,
87- "profile_index " : 0 ,
88- "title " : " Minecraft [ \d ]+.[ \d ]+.[ \d ]+ "
89+ " title " : " Minecraft [ \d ]+.[ \d ]+.[ \d ]+ " ,
90+ " profile_index " : 0
8991}
9092```
9193
0 commit comments