qmk_keymaps/keyboards/crkbd/keymaps/sajenim/oled.h

26 lines
546 B
C

/* KEYBOARD PET START */
/* settings */
#define MIN_WALK_SPEED 10
#define MIN_RUN_SPEED 40
/* advanced settings */
#define ANIM_FRAME_DURATION 200 // how long each frame lasts in ms
#define ANIM_SIZE 96 // number of bytes in array. If you change sprites, minimize for adequate firmware size. max is 1024
/* timers */
uint32_t anim_timer;
/* current frame */
uint8_t current_frame;
/* status variables */
int current_wpm;
led_t led_usb_state;
bool isSneaking;
bool isJumping;
bool showedJump;
/* KEYBOARD PET END */