Migrate SPLIT_OLED_ENABLE (#26194)

This commit is contained in:
Joel Challis
2026-05-07 22:32:38 +01:00
committed by GitHub
parent 5db9f2fb41
commit a498daf627
18 changed files with 24 additions and 116 deletions
@@ -1,22 +0,0 @@
/* Copyright 2022 splitkb.com <support@splitkb.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// Not yet available in `info.json`
#ifdef OLED_ENABLE
# define SPLIT_OLED_ENABLE
#endif
@@ -103,7 +103,8 @@
},
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
}
}
},
@@ -1,19 +0,0 @@
/* Copyright 2023 splitkb.com <support@splitkb.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_OLED_ENABLE
@@ -129,6 +129,11 @@
},
"serial": {
"pin": "D2"
},
"transport": {
"sync": {
"oled": true
}
}
},
"usb": {
@@ -1,22 +0,0 @@
/* Copyright 2022 splitkb.com <support@splitkb.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// Not yet available in `info.json`
#ifdef OLED_ENABLE
# define SPLIT_OLED_ENABLE
#endif
@@ -114,7 +114,8 @@
},
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
}
}
},
@@ -1,19 +0,0 @@
/* Copyright 2023 splitkb.com <support@splitkb.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_OLED_ENABLE
@@ -123,6 +123,11 @@
},
"serial": {
"pin": "D2"
},
"transport": {
"sync": {
"oled": true
}
}
},
"usb": {
@@ -1,22 +0,0 @@
/* Copyright 2022 splitkb.com <support@splitkb.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// Not yet available in `info.json`
#ifdef OLED_ENABLE
# define SPLIT_OLED_ENABLE
#endif
@@ -100,7 +100,8 @@
},
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
}
}
},
-2
View File
@@ -55,6 +55,4 @@
// including some code in rev1.c but makes
// it so the timeout's are not synced
// between halves.
#undef SPLIT_OLED_ENABLE
#define OLED_TIMEOUT 0
+2 -1
View File
@@ -91,7 +91,8 @@
},
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
},
"watchdog": true,
"watchdog_timeout": 3000
-1
View File
@@ -18,4 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define OLED_DISPLAY_128X64
#define SPLIT_OLED_ENABLE
+2 -1
View File
@@ -48,7 +48,8 @@
"split": {
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
}
}
},
-1
View File
@@ -22,4 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_MASKED // actual mask is defined by `matrix_mask` in `rev2.c`
#define OLED_DISPLAY_128X64
#define SPLIT_OLED_ENABLE
+2 -1
View File
@@ -48,7 +48,8 @@
"split": {
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
}
}
},
-1
View File
@@ -17,4 +17,3 @@
#pragma once
#define OLED_DISPLAY_128X64
#define SPLIT_OLED_ENABLE
+2 -1
View File
@@ -116,7 +116,8 @@
},
"transport": {
"sync": {
"matrix_state": true
"matrix_state": true,
"oled": true
}
}
},