mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-05 07:04:17 -04:00
- Added build option for new ploopy nano build - Added ploopy nano userspace keymap - Removed old drag scroll detection. OLED graphic tied to scroll lock - REmoved old scroll lock and dpi custom keycodes used for Lkbm keymap - overrode num/scroll lock. It is now a hold instead of a toggle - Added custom keycode to turn on all locks to tell ploopy nano to enter bootloader - refactored variables based on learnings from ploopy rebase - minor tweaks to keymap - pressing numlock cycles through dpi settings - pressing scroll lock enters momentary drag scroll
12 lines
No EOL
420 B
C
12 lines
No EOL
420 B
C
#pragma once
|
|
#include "t4corun.h"
|
|
|
|
// Tells the process_tap_hold_key what kind of hold action is wanted
|
|
#define HOLD_SINGLETP 0
|
|
#define HOLD_DOUBLETP 1
|
|
#define HOLD_BRACKETS 2
|
|
|
|
void single_tap(uint16_t key);
|
|
void double_tap(uint16_t key, uint32_t ms);
|
|
void insert_brackets(uint16_t left, uint16_t right, uint32_t ms);
|
|
bool process_tap_hold_key(keyrecord_t* record, uint16_t tap_keycode, uint16_t hold_keycode, int mode); |