lck n
This commit is contained in:
parent
17be9dbab1
commit
637ccd398a
3 changed files with 12 additions and 16 deletions
|
|
@ -15,9 +15,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "numi.qgf.h"
|
#include "numi.qgf.h"
|
||||||
#include "nyanners.qgf.h"
|
#include "nyanners.qgf.h"
|
||||||
#include "mouse.qgf.h"
|
#include "mouse.qgf.h"
|
||||||
|
|
||||||
extern painter_device_t display;
|
extern painter_device_t display;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
@ -91,3 +94,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
void housekeeping_task_user(void) {
|
||||||
|
static layer_state_t last = 0;
|
||||||
|
if (layer_state != last) {
|
||||||
|
layer_state_set(layer_state);
|
||||||
|
}
|
||||||
|
last = layer_state;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -137,19 +137,6 @@
|
||||||
},
|
},
|
||||||
"5,6"
|
"5,6"
|
||||||
],
|
],
|
||||||
[
|
|
||||||
{
|
|
||||||
"y": -0.8500000000000001,
|
|
||||||
"x": 7
|
|
||||||
},
|
|
||||||
"0,0\n\n\n\n\n\n\n\n\ne",
|
|
||||||
"0,1\n\n\n\n\n\n\n\n\ne",
|
|
||||||
{
|
|
||||||
"x": 1
|
|
||||||
},
|
|
||||||
"5,0\n\n\n\n\n\n\n\n\ne",
|
|
||||||
"5,1\n\n\n\n\n\n\n\n\ne"
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8500000000000001,
|
"y": -0.8500000000000001,
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
#include "print.h"
|
#include "print.h"
|
||||||
|
#define SPLIT_LAYER_STATE_ENABLE
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
led_config_t g_led_config = { {
|
led_config_t g_led_config = { {
|
||||||
|
|
@ -196,8 +197,6 @@ uint32_t deferred_init(uint32_t trigger_time, void *cb_arg) {
|
||||||
|
|
||||||
print("doing stuff\n");
|
print("doing stuff\n");
|
||||||
|
|
||||||
// ##st7789 sc
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
display = qp_st7789_make_spi_device(320, 240, LCD_CS_PIN, LCD_DC_PIN, LCD_RST_PIN, LCD_SPI_DIVISOR, 3);
|
display = qp_st7789_make_spi_device(320, 240, LCD_CS_PIN, LCD_DC_PIN, LCD_RST_PIN, LCD_SPI_DIVISOR, 3);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue