Linux is misidentified as windows. Disable windows for now

This commit is contained in:
2026-03-15 16:56:27 -07:00
parent bd821448f2
commit 2204ddb236

View File

@@ -26,16 +26,15 @@ void matrix_scan_user(void) {
if (!os_detected && !os_mode_manual && timer_elapsed32(0) > 2000) {
os_detected = true;
os_variant_t os = detected_host_os();
// OS detection often misidentifies linux as windows, so treat both as linux for now
switch (os) {
case OS_MACOS:
case OS_IOS:
os_mode = OS_MODE_MAC;
break;
case OS_LINUX:
os_mode = OS_MODE_LINUX;
break;
case OS_WINDOWS:
os_mode = OS_MODE_WINDOWS;
os_mode = OS_MODE_LINUX;
break;
default:
os_mode = OS_MODE_NONE;