Skip to content

Commit

Permalink
[TractylM] Update RGB config
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Aug 2, 2024
1 parent 3910235 commit 96b1f61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ keypos_t layer_remap[LAYER_MAP_ROWS][LAYER_MAP_COLS] = {
};
// clang-format on

#if defined(RGB_MATRIX_ENABLE) && defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_CUSTOM)
const uint8_t led_mapping[RGBLIGHT_LED_COUNT] = {0, 1, 2, 3, 33, 32, 12, 13, 26, 27, 28, 29, 31,
30, 63, 62, 61, 60, 47, 46, 64, 65, 37, 36, 35, 34};
#endif

#if defined(QUANTUM_PAINTER_ENABLE) && !defined(CUSTOM_QUANTUM_PAINTER_ENABLE)
# include "qp.h"
# include "display/painter/graphics/assets.h"
Expand All @@ -180,6 +185,7 @@ void keyboard_post_init_keymap(void) {
my_image = qp_load_image_mem(gfx_samurai_cyberpunk_minimal_dark_8k_b3_240x320);
qp_drawimage(display, 0, 0, my_image);
}
qp_flush(display);
// my_image = qp_load_image_mem(gfx_neon_genesis_evangelion_initial_machine_02_240x320);
// my_image = qp_load_image_mem(gfx_asuka_240x320);
qp_close_image(my_image);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ ifeq ($(strip $(KEYBOARD)), handwired/tractyl_manuform/5x6_right/f405_coreboard)
WATCHDOG_ENABLE = yes
OLED_ENABLE = no
OLED_TRANSPORT = spi
RGB_MATRIX_ENABLE = yes
RGBLIGHT_DRIVER = custom

BACKLIGHT_ENABLE = yes
QUANTUM_PAINTER_ENABLE = yes
Expand Down

0 comments on commit 96b1f61

Please sign in to comment.