Ryan
87b11345a5
Get rid of USB_LED_CAPS_LOCK
( #21436 )
2023-07-06 09:48:02 +01:00
Ryan
a4ed6ad0f5
Unicodemap keycodes rename ( #21092 )
2023-06-01 17:25:08 +01:00
Ryan
5bd68e3695
Move single LAYOUT
s to data driven ( #20365 )
2023-04-12 13:42:51 +10:00
Ryan
cf935d97ae
Fix functions with empty params ( #19647 )
...
* Fix functions with empty params
* Found a bunch more
2023-01-20 16:21:17 +00:00
Joel Challis
d0ebafaea6
Align definition of unicode_map ( #19452 )
2023-01-01 11:54:12 +11:00
Ryan
d810878d5e
Normalise output selection (Bluetooth) keycodes ( #19004 )
2022-11-08 19:03:31 +00:00
Ryan
5974d989fe
Normalise Unicode keycodes ( #18898 )
...
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV`
* `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*`
* `UC_MAC` -> `UNICODE_MODE_MACOS`
* `UC_LNX` -> `UNICODE_MODE_LINUX`
* `UC_WIN` -> `UNICODE_MODE_WINDOWS`
* `UC_BSD` -> `UNICODE_MODE_BSD`
* `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE`
* `UC_EMACS` -> `UNICODE_MODE_EMACS`
* `UC__COUNT` -> `UNICODE_MODE_COUNT`
* `UC_M_MA` -> `UC_MAC`
* `UC_M_LN` -> `UC_LINX`
* `UC_M_WI` -> `UC_WIN`
* `UC_M_BS` -> `UC_BSD`
* `UC_M_WC` -> `UC_WINC`
* `UC_M_EM` -> `UC_EMAC`
* Docs
* Update quantum/unicode/unicode.h
2022-10-31 21:15:12 +00:00
Ryan
18dc851e37
Remove legacy Debug keycode ( #18769 )
...
* `DEBUG` -> `DB_TOGG`, default-ish keymaps
* `DEBUG` -> `DB_TOGG`, user keymaps
* `DEBUG` -> `DB_TOGG`, community layouts
* `DEBUG` -> `DB_TOGG`, userspace
* `DEBUG` -> `DB_TOGG`, docs & core
2022-10-19 11:33:05 +01:00
Ryan
5e4b076af3
Remove legacy keycodes, part 5 ( #18710 )
...
* `KC_SLCK` -> `KC_SCRL`
* `KC_NLCK` -> `KC_NUM`
2022-10-15 22:29:43 +01:00
Ryan
8833b28361
Remove UNICODE_KEY_OSX
and UC_OSX
( #18290 )
2022-09-06 18:07:08 +01:00
Jeff Epler
9632360caa
Use a macro to compute the size of arrays at compile time ( #18044 )
...
* Add ARRAY_SIZE and CEILING utility macros
* Apply a coccinelle patch to use ARRAY_SIZE
* fix up some straggling items
* Fix 'make test:secure'
* Enhance ARRAY_SIZE macro to reject acting on pointers
The previous definition would not produce a diagnostic for
```
int *p;
size_t num_elem = ARRAY_SIZE(p)
```
but the new one will.
* explicitly get definition of ARRAY_SIZE
* Convert to ARRAY_SIZE when const is involved
The following spatch finds additional instances where the array is
const and the division is by the size of the type, not the size of
the first element:
```
@ rule5a using "empty.iso" @
type T;
const T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
@ rule6a using "empty.iso" @
type T;
const T[] E;
@@
- sizeof(E)/sizeof(T)
+ ARRAY_SIZE(E)
```
* New instances of ARRAY_SIZE added since initial spatch run
* Use `ARRAY_SIZE` in docs (found by grep)
* Manually use ARRAY_SIZE
hs_set is expected to be the same size as uint16_t, though it's made
of two 8-bit integers
* Just like char, sizeof(uint8_t) is guaranteed to be 1
This is at least true on any plausible system where qmk is actually used.
Per my understanding it's universally true, assuming that uint8_t exists:
https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1
* Run qmk-format on core C files touched in this branch
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-08-30 10:20:04 +02:00
Joel Challis
bbc3bc55f2
RESET -> QK_BOOT user keymaps ( #17940 )
2022-08-21 23:55:30 +01:00
Drashna Jaelre
0da6562c4d
Make default layer size 16-bit ( #15286 )
...
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2022-06-19 07:37:51 +10:00
Ryan
7d685956cc
Rename AdafruitBLE
to BluefruitLE
( #16127 )
2022-01-30 17:29:42 +00:00
Mark Stosberg
c178bbf2e5
Illustrate the emoji layer ( #6555 )
...
Now the Emoji layer is easier to visualize.
2019-08-17 08:18:40 -07:00
Priyadi Iman Nurcahyo
36e950a13f
[Keymap] Added compatibility for Planck rev6 ( #5706 )
...
* Update code for compatibility with latest QMK
* Added compatibility with Planck rev6
* use wait_ms instead of _delay_ms
* removed unnecessary rules
* disable audio on rev4 only
2019-04-29 09:33:13 -07:00
fauxpark
3b2a484a5b
Remove redundant KC_TRNS and KC_NO fillers in remaining keymaps ( #5154 )
2019-02-17 07:38:46 -08:00
fauxpark
79b58937f4
Add C(), A() and G() to match already existing S() ( #4673 )
2019-01-25 13:12:48 -08:00
noroadsleft
064d9e2175
handwired/promethium Refactor and Configurator support ( #4524 )
...
* handwired/promethium: refactor
- config.h files
- updated to use #pragma once
- removed redundant config.h includes
- layout macro moved from config.h to promethium.h
- layout macro renamed from KEYMAP_CUSTOM to LAYOUT
* handwired/promethium: Configurator support
2018-12-01 16:29:16 -08:00
Jack Humbert
107d8031e5
update priyadi's keymap config
2017-08-07 22:36:05 -04:00
Nikolaus Wittenstein
8ddbf7f59f
Fix spelling of "persistent"
...
Fixes #1201 .
2017-05-11 15:32:35 -04:00
Priyadi Iman Nurcahyo
343f8d368e
Simple RGB backlight theming
2017-04-30 18:04:58 +07:00
Priyadi Iman Nurcahyo
d8f1949029
Promethium update: demo LED, fix PS2 delay, fix LED ordering, change click frequency
2017-04-29 13:21:27 +07:00
Priyadi Iman Nurcahyo
ce0efa6b9a
Fix LED sequence; bug fixes
2017-04-19 12:03:48 +07:00
Priyadi Iman Nurcahyo
5bc0c4a011
Fix Planck compatibility
2017-04-19 02:55:19 +07:00
Priyadi Iman Nurcahyo
3fa0b66289
Keymap updates and some adjustment for latest version of QMK
2017-04-19 02:52:57 +07:00
Priyadi Iman Nurcahyo
93b2f23bba
Promethium rev2
...
* 10 more indicator LEDs
* Piezo buzzer
* Uses HC138 decoder to free up 5 pins
* Trackpoint buttons are now part of matrix
2017-04-19 01:38:08 +07:00
Priyadi Iman Nurcahyo
3dab8a60fc
added pause, prtsc & ins to list of keys to be processed on release
2017-02-21 16:40:38 +07:00
Priyadi Iman Nurcahyo
57623805e8
Move caps to FUN layer; add Pause key
2017-02-21 16:36:35 +07:00
Priyadi Iman Nurcahyo
b306f83c6b
Move del back to fun+backspce
2017-02-21 04:00:05 +07:00
Priyadi Iman Nurcahyo
77f9363675
Only process Fnumber on key release, and only when layer is still active
2017-02-21 03:24:32 +07:00
Priyadi Iman Nurcahyo
e5bd81f0a6
Fix integer overflow
2017-02-16 23:56:47 +07:00
Priyadi Iman Nurcahyo
96a8e2d5f5
reposition ins and del key
2017-02-16 23:53:09 +07:00
Priyadi Iman Nurcahyo
3882f97d2e
Move keyboard specific stuff to keyboard specific files, and vice versa
2017-02-15 19:22:58 +07:00
Priyadi Iman Nurcahyo
1eac297a2f
Added copyright notice
2017-02-15 16:39:19 +07:00
Priyadi Iman Nurcahyo
c2f0207d59
Merge my Planck-like keyboards
2017-02-15 16:36:31 +07:00
Priyadi Iman Nurcahyo
168c912027
Move Alt-Tab position
2017-02-15 05:38:40 +07:00
Priyadi Iman Nurcahyo
df311c7b40
num, func, punc 3state layer done right
2017-02-15 05:01:03 +07:00
Priyadi Iman Nurcahyo
3758cfd95f
GUI layer fixes
2017-02-14 04:17:09 +07:00
Priyadi Iman Nurcahyo
6c692fca7d
Alt-tab handling in GUI layer
2017-02-14 03:58:12 +07:00
Priyadi Iman Nurcahyo
7ae677dcb7
remove stand alone punc layer switcher for now
2017-02-14 03:18:34 +07:00
Priyadi Iman Nurcahyo
02662e3869
Add explicit punctuation key for greek layers
2017-02-14 00:46:06 +07:00
Priyadi Iman Nurcahyo
c2531ff43b
Func + Num = Punc
2017-02-14 00:44:02 +07:00
Priyadi Iman Nurcahyo
15e2dbb2a9
move GRV to ESC position
2017-02-13 22:18:36 +07:00
Priyadi Iman Nurcahyo
97472aabe6
Forgot to add ifdef to optional feature
2017-02-13 17:58:06 +07:00
Priyadi Iman Nurcahyo
68e5c85999
Remove assignment warning
2017-02-13 17:58:06 +07:00
Priyadi Iman Nurcahyo
5d5f2ff50d
Some space optimization and housekeeping
2017-02-13 17:58:06 +07:00
Priyadi Iman Nurcahyo
4163a3819e
Add regular space to B+N on GUI layer for repeating space
2017-02-11 22:16:19 +07:00
Priyadi Iman Nurcahyo
4c05e39a02
Switch to Emoji layer using Punc + greek
2017-02-11 22:13:35 +07:00
Priyadi Iman Nurcahyo
4586b19be3
Turn off capslock when entering num layer
2017-02-11 22:07:04 +07:00