Updated Files

This commit is contained in:
Patrick Mathern 2024-10-30 18:32:40 -04:00
parent d4374bfe46
commit c07e6a4645
4 changed files with 6 additions and 13 deletions

View File

@ -9,7 +9,6 @@
"mousekey": true,
"nkro": true,
"encoder": true,
"encodermap": true,
"oled": true
},
"matrix_pins": {

View File

@ -1,7 +1,6 @@
// Copyright 2024 Patrick Mathern (@Patrickemm)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
#include QMK_KEYBOARD_H
// Define the keycode, `QK_USER` avoids collisions with existing keycodes
@ -99,12 +98,4 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[6] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN) },
[7] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN) }
};
#endif
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return OLED_ROTATION_180;
}
#endif

View File

@ -21,6 +21,10 @@ enum layer_names {
eight
};
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
return OLED_ROTATION_180;
}
bool oled_task_kb(void) {
if (!oled_task_user()) {
return false;
@ -193,5 +197,4 @@ bool oled_task_kb(void) {
}
}
return false;
return true;
}

View File

@ -5,8 +5,8 @@
*A 2x4 macropad with a built in encoder and OLED screen*
* Keyboard Maintainer: [Patrickemm](https://github.com/Patrickemm)
* Hardware Supported: *ATmega32U4*
* Hardware Availability: *https://keeb.io/products/pro-micro-usb-c-version-5v-16mhz-arduino-compatible-atmega32u4*
* Hardware Supported: *Pro Micro compatible development board*
* Hardware Availability: *https://www.ebay.com/usr/handycache*
Make example for this keyboard (after setting up your build environment):