예제 #1
0
// media key
void kbfun_mediakey_press_release(keycode key, bool is_pressed) {
  _kbfun_normal_sticky_done();
  _kbfun_mediakey_press_release(key, is_pressed);
}
예제 #2
0
/*
 * [name]
 *   Media Key Press Release
 *
 * [description]
 *   Generate a keypress for a media key, such as play/pause, next track, or
 *   previous track
 *
 */
void kbfun_mediakey_press_release(void) {
	uint8_t keycode = kb_layout_get(LAYER, ROW, COL);
	_kbfun_mediakey_press_release(IS_PRESSED, keycode);
}