aboutsummaryrefslogtreecommitdiff
path: root/keyboards/winry/winry315/winry315.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/winry/winry315/winry315.h')
-rw-r--r--keyboards/winry/winry315/winry315.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/keyboards/winry/winry315/winry315.h b/keyboards/winry/winry315/winry315.h
index 8129c9d6e0..ea7b4120e2 100644
--- a/keyboards/winry/winry315/winry315.h
+++ b/keyboards/winry/winry315/winry315.h
@@ -5,8 +5,7 @@
#include "quantum.h"
-// Supported orientations of the board. The enum values must match the layout
-// option values used by VIA.
+// Supported orientations of the board.
enum winry315_orientation {
WINRY315_ORIENTATION_TOP, // Encoders at the top side (default)
WINRY315_ORIENTATION_LEFT, // Encoders at the left side
@@ -17,10 +16,9 @@ enum winry315_orientation {
// Set the orientation of the board (changes the RGB Matrix effect behavior to
// match the new orientation).
//
-// This function is intended to be used in the `via` keymap, where the board
-// orientation is configured dynamically using a VIA layout option. If you are
-// making a custom keymap for one specific orientation, it is better to set the
-// orientation in config.h (e.g., `#define WINRY315_DEFAULT_ORIENTATION
-// WINRY315_ORIENTATION_LEFT`) instead of adding custom code that calls this
-// function.
+// This function is intended to be used to configure the orientation
+// dynamically. If you are making a custom keymap for one specific orientation,
+// it is better to set the orientation in config.h
+// (e.g., `#define WINRY315_DEFAULT_ORIENTATION WINRY315_ORIENTATION_LEFT`)
+// instead of adding custom code that calls this function.
void winry315_set_orientation(uint8_t orientation);