aboutsummaryrefslogtreecommitdiff
path: root/qmk/keyboards/sofle_choc/keymaps/custom/star_key.h
blob: d67228f09d5923740b8e1117344df2b405a0cf6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

// Initialize the state.
void star_key_init(void);

// This code is intended to be called from the master.
// Send the star key status to the other side of the keyboard
void sync_star_key(void);

// Handle the keypress, turn the light on until the next press, or revert off
// after a cycle of 3 presses.
void star_key_process_record(uint16_t keycode, keyrecord_t *record);