change structure, because functions in rp2040.c did not works properly. i was need access to keymap array.

This commit is contained in:
Stanislav 2024-04-12 16:21:26 +03:00
parent ec67d265f2
commit 503049cdae
3 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,6 @@
*/ */
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
#include "keymap.c"
#ifdef OLED_ENABLE #ifdef OLED_ENABLE

View File

@ -14,6 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
enum keycodes { enum keycodes {
@ -66,3 +67,5 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[LIGHT] = { ENCODER_CCW_CW(_______, _______) } [LIGHT] = { ENCODER_CCW_CW(_______, _______) }
}; };
#endif #endif
#include "extra.h"

View File

@ -14,6 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
enum keycodes { enum keycodes {
@ -65,4 +66,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[MEDIA] = { ENCODER_CCW_CW(_______, _______) }, [MEDIA] = { ENCODER_CCW_CW(_______, _______) },
[LIGHT] = { ENCODER_CCW_CW(_______, _______) } [LIGHT] = { ENCODER_CCW_CW(_______, _______) }
}; };
#endif #endif
#include "extra.h"