Skip to content

Commit

Permalink
comment fix
Browse files Browse the repository at this point in the history
Better led order comments
  • Loading branch information
Podbod12 committed Oct 8, 2024
1 parent b9d7687 commit bf44932
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kaimana_custom.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
#endif

#define LED_ENTRIES 12 // should match the unique entries above (i.e the ones that arent 0xFF) (and thus array size below)
const unsigned char ledList[LED_ENTRIES] = { LED_UP, LED_RIGHT, LED_P1, LED_P2, LED_P3, LED_P4, LED_K4, LED_K3, LED_K2, LED_K1, LED_DOWN, LED_LEFT }; //List all buttons that have LED's on them here. NOTE: Order here specifies the idle type "Circle pulse" order
//List all buttons that have LED's on them here. NOTE: Order here specifies the idle type "Circle pulse" order. If you have leverless and a jump button where your thumb is then you should swap the positions of up and down. you may also want to move Left to the beginning of the list
const unsigned char ledList[LED_ENTRIES] = { LED_UP, LED_RIGHT, LED_P1, LED_P2, LED_P3, LED_P4, LED_K4, LED_K3, LED_K2, LED_K1, LED_DOWN, LED_LEFT };

//Which button to hold to enter tourney mode (turns off all lights and effects). The commented out version is an example where I dont have a home button so I want to use k4 but since thats already in ledList directly above then I set the led to shine here as 0xFF so its ignored.
#define PIN_TO_SWITCH_TO_TOURNEY_MODE PIN_HOME
Expand Down

0 comments on commit bf44932

Please sign in to comment.