aboutsummaryrefslogtreecommitdiff
path: root/keyboards/om60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/om60')
-rw-r--r--keyboards/om60/keyboard.json (renamed from keyboards/om60/info.json)8
-rw-r--r--keyboards/om60/matrix.c3
-rw-r--r--keyboards/om60/rules.mk15
3 files changed, 10 insertions, 16 deletions
diff --git a/keyboards/om60/info.json b/keyboards/om60/keyboard.json
index df718e7fa0..22386db039 100644
--- a/keyboards/om60/info.json
+++ b/keyboards/om60/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x0001",
"device_version": "1.0.0"
},
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgblight": true
+ },
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "B5"}
diff --git a/keyboards/om60/matrix.c b/keyboards/om60/matrix.c
index 3686780468..b0e252ec45 100644
--- a/keyboards/om60/matrix.c
+++ b/keyboards/om60/matrix.c
@@ -15,7 +15,8 @@ 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/>.
*/
-#include "quantum.h"
+#include "matrix.h"
+#include "wait.h"
#if (MATRIX_COLS <= 8)
# define ROW_SHIFTER ((uint8_t)1)
diff --git a/keyboards/om60/rules.mk b/keyboards/om60/rules.mk
index e3e0047771..179d02c3c6 100644
--- a/keyboards/om60/rules.mk
+++ b/keyboards/om60/rules.mk
@@ -1,18 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
-ENCODER_ENABLE = yes
-
CUSTOM_MATRIX = lite
SRC += matrix.c