summaryrefslogtreecommitdiff
path: root/keyboards/moonlander/readme.md
diff options
context:
space:
mode:
authorbiesigrr <biesigrr@users.noreply.github.com>2022-08-29 03:37:29 +0200
committerGitHub <noreply@github.com>2022-08-29 02:37:29 +0100
commit3f99c42800167a7be8829a8e8fbb1c64cf966eeb (patch)
tree3c3a4faabf2830f520a03f14a4bcf8fcaba49837 /keyboards/moonlander/readme.md
parent1cc0b1e3713b8d96603a4ff746d75dda327e9abd (diff)
Expose Moonlander split detection to user code (#18040)
Diffstat (limited to 'keyboards/moonlander/readme.md')
-rw-r--r--keyboards/moonlander/readme.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/keyboards/moonlander/readme.md b/keyboards/moonlander/readme.md
index bf80f05569..733780abde 100644
--- a/keyboards/moonlander/readme.md
+++ b/keyboards/moonlander/readme.md
@@ -41,4 +41,18 @@ If you're using the Smart LED (layer indication) feature from the Oryx Configura
This changes the `RGB_TOG` keycode so that it will toggle the lights on and off, in a way that will allow the Smart LEDs to continue to work, even with the rest of the LEDs turned off.
-Additionally, a new keycode has been added to toggle the Smart LEDs. Use `TOGGLE_LAYER_COLOR`, if you aren't already.
+Additionally, a new keycode has been added to toggle the Smart LEDs. Use `TOGGLE_LAYER_COLOR`, if you aren't already.
+
+### Detecting split / Gaming mode
+
+To make it extra gaming friendly, you can configure what happens when you disconnect the right half. This is especially useful when using gaming unfriendly layers or layouts (e.g. home row mods, dvorak, colemak).
+
+Example for enabling a specific layer while right side is disconnected:
+
+```
+void housekeeping_task_user(void) {
+ if (!is_transport_connected()) {
+ // set layer
+ }
+}
+``` \ No newline at end of file