Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scancodes #164

Merged
merged 11 commits into from
Mar 28, 2023
Prev Previous commit
Next Next commit
Use legacy scancodes for QMK version 0.12.20
13r0ck committed Mar 23, 2023
commit dbede26c4069d4c9603e3a56269e414d2f383f6d
2 changes: 1 addition & 1 deletion backend/src/layout/mod.rs
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ impl Layout {
}

pub fn from_board(board: &str, version: &str) -> Option<Self> {
let use_legacy_scancodes = version.contains("0.7.103");
let use_legacy_scancodes = version.contains("0.7.103") || version.contains("0.12.20");
layout_data(board, use_legacy_scancodes).map(
|(meta_json, default_json, keymap_json, layout_json, leds_json, physical_json)| {
Self::from_data(