1
0

58 Commits

Author SHA1 Message Date
Jesse Vincent
e99467aa48 Doc updates as suggested by @cdisselkoen++ 2017-10-02 23:26:33 -07:00
Jesse Vincent
028b9c6dda Slightly simplify the default keymaps, removing some duplication 2017-10-02 23:01:26 -07:00
Jesse Vincent
d466c1fa63 Close a comment 2017-10-02 22:44:49 -07:00
Jesse Vincent
cb27773980 astyle 2017-10-02 22:43:48 -07:00
Jesse Vincent
c56b4da44b First pass at comments on the rest of the default sketch 2017-10-02 22:40:54 -07:00
Jesse Vincent
a10ddeaa50 comment much of the default sketch 2017-10-02 22:04:13 -07:00
Jesse Vincent
0e670bc7ab We're not actually exposing BootKeyboard yet. 2017-10-02 20:56:56 -07:00
Jesse Vincent
99c25e40da Move some LED color definitions to after the macro defnitions.
It seems a little clearer.
2017-10-02 20:01:34 -07:00
Jesse Vincent
556256aabe move the hopefully-going-away numpad keymap id definition closer to
where one can intuit why it's that number
2017-10-02 20:00:59 -07:00
Jesse Vincent
d84b937086 reorganize imports for a little more clarity 2017-10-02 20:00:25 -07:00
Jesse Vincent
d64810c9b2 whitespace 2017-10-02 19:56:01 -07:00
Jesse Vincent
ac0a2c5ab8 Refactor macro code to remove hand-coded numbers and make code a bit more readable 2017-10-02 19:34:57 -07:00
Jesse Vincent
2f0beee0db astyle 2017-10-02 19:00:25 -07:00
Jesse Vincent
3498d43e73 Remove a couple of C preprocessor macros involved in the definition of
keyboard macros, in the hope of making the code clearer
2017-10-02 18:59:44 -07:00
Jesse Vincent
55062b5382 DEBUG_SERIAL is unused. kill it 2017-10-02 18:58:54 -07:00
Jesse Vincent
6bdef3675b replace a magic seeming constant with a macro 2017-10-02 18:48:39 -07:00
Jesse Vincent
8bfd32d5b9 decompose a conditional to make it easier to read and refactor 2017-10-02 18:46:46 -07:00
Jesse Vincent
91ddf30b55 Kaleidoscope.setup no longer takes an argument 2017-10-02 18:46:17 -07:00
Jesse Vincent
f881a1b192 change the name of a compiler macro to make it clear that it's an id 2017-10-02 18:44:23 -07:00
Jesse Vincent
b0e1c32113 rename our keymaps to be more consistent.
I feel weird about putting the name before the word 'keymap', but this
seems less confusing than explaining why KEYMAP_QWERTY and
KEYMAP_STACKED are different kidns of entitites
2017-10-02 18:43:21 -07:00
Gergely Nagy
2a13e4a9c9 Updated to use the new NumLock plugin
The NumLock plugin works without a macro now, so we can simplify the factory
firmware by just using `Key_KeypadNumLock`.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
2017-10-01 01:18:59 +02:00
Gergely Nagy
76afe3a280 Updated to use the new LEDMode/LEDControl APIs
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
2017-08-16 10:01:59 +02:00
Jesse Vincent
747d42dc92
astyle 2017-08-13 21:18:10 -07:00
Jesse Vincent
7a4dabc8ee
We had the wrong key definition for what keyboards actually use as the
'menu'
2017-08-13 15:17:57 -07:00
Jesse Vincent
d6435ac21c
First pass at adding in the boot greeting plugin to make the LED key
glow on boot
2017-08-13 15:17:49 -07:00
Jesse Vincent
6a0888f316
Switch our mute key to Key_Mute in the hope that it works better on OSX 2017-08-07 14:15:34 +09:00
Gergely Nagy
dfcecf1eb2 Turn the Fn keys into Keymap1_Momentary
When both `Fn` keys are `KeymapNext_Momentary`, holding both would get us to the
`NUMPAD` layer, which overrides the palm keys and turns them into
`Keymap1_Momentary` keys. Thus, when releasing them, we would receive a release
event for `Keymap1_Momentary`, not for `KeymapNext_Momentary`, and we'd be stuck
on the `Numpad` layer until toggling it off.

To avoid this scenario, change the `KeymapNext_Momentary` keys into
`Keymap1_Momentary`, so we never reach the `NUMPAD` layer via the `Fn` keys.

Fixes keyboardio/Kaleidoscope#151, with thanks to @chughes87 for the report!

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2017-07-30 09:40:16 +02:00
Jesse Vincent
92b9163a64
astyle 2017-07-25 15:14:23 -07:00
Jesse Vincent
de97e9a2f4
Fix key repeat on Any. Port to new hid facade api 2017-07-25 15:14:07 -07:00
Jesse Vincent
ddc4e15fbf
switch to new CamelCased' toggle functions 2017-07-24 14:43:50 -07:00
Gergely Nagy
90a4a06126 Update to work with an argument-less NumLock.toggle()
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2017-07-02 22:47:11 +02:00
Jesse Vincent
119423cbbd move the rainbow effects earlier in the effect list 2017-06-19 12:59:55 +08:00
Jesse Vincent
c6a2d4f99a brighten up the rainbow effects 2017-06-12 09:39:00 +08:00
Jesse Vincent
be5c9498d2 Move the version key to "any" on the numlock layer 2017-06-12 08:35:36 +08:00
Jesse Vincent
221101c6aa Macro.type needs PSTR() macros around strings.
Algernon talked me out of putting the newline in the macro
2017-06-11 19:40:55 +08:00
Jesse Vincent
8cf3f68cf4 That's a stacked keymap 2017-06-10 06:45:14 -07:00
Jesse Vincent
d04098d212 Update the versioning macro to hopefully pull verison info in from the build system 2017-06-09 18:08:34 -07:00
Jesse Vincent
9f987624d5 Call Macros "Macro_blah" rather than "Key_blah" 2017-06-09 18:08:09 -07:00
Jesse Vincent
74ffc7eda6
Update mouse buttons to match the printed layout cards 2017-06-07 15:46:45 -07:00
Jesse Vincent
94f988ae44
formatting cleanup 2017-06-07 15:41:05 -07:00
Jesse Vincent
6f113dc08c
Remove tabs 2017-06-07 15:27:07 -07:00
Jesse Vincent
5569810beb
Update to new Stalker API 2017-06-07 15:23:19 -07:00
Jesse Vincent
9f75928b20
"make astyle" 2017-06-07 15:21:20 -07:00
Jesse Vincent
f9b8624727
Cut down the example key layouts 2017-05-22 20:43:30 -07:00
Jesse Vincent
e521decce6
Update keymaps and macros to use the new more consistent definitions 2017-05-21 22:20:40 -07:00
Jesse Vincent
5583d6df6c
update the keymap to match the model01 documentation 2017-05-16 14:14:02 -07:00
Jesse Vincent
6b3a2b18ce Astyle 2017-03-20 19:08:41 -07:00
Jesse Vincent
a09276185b Add AlphaSquare effect to the default firmware. 2017-03-20 19:07:19 -07:00
Jesse Vincent
14666f8ce4 Tweak our ROYGBIV colors to not pull more than half an amp 2017-03-20 15:45:59 -07:00
Gergely Nagy
5ef42552a5 Include the Stalker LED effect too
Set it to the BlazingTrail variant, because that looks much better.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2017-03-02 20:42:41 +01:00