1
0

185 Commits

Author SHA1 Message Date
Jesse Vincent
50abef7b54 add notes about updating firmware and libraries to the README 2017-10-02 23:21:27 -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
Jesse Vincent
1257825f18 Merge pull request #14 from algernon/f/numlock-no-macro
Updated to use the new NumLock plugin.
2017-10-02 15:35:41 -07:00
Jesse Vincent
36796237bb add some notes to the end of the readme. Thanks to @Jennigma++ 2017-10-02 12:02:40 -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
Jesse Vincent
0ee5a937a5 A couple explanatory notes suggested by Jennifer Leigh 2017-09-08 00:39:40 -04:00
Gergely Nagy
6f5cfeb9b3 Merge pull request #13 from cdisselkoen/improved-flashing-docs
Improve documentation related to flashing
2017-08-27 12:11:22 +02:00
Craig Disselkoen
2564d28fe3 Improve documentation related to flashing
In particular, add instructions for the Arduino IDE
2017-08-24 21:31:52 -07:00
Jesse Vincent
971236f64e Point Makefile to new make rules 2017-08-21 21:59:10 -07:00
Gergely Nagy
d0e5e80479 Merge pull request #12 from algernon/f/led-api-update
Updated to use the new LEDMode/LEDControl APIs
2017-08-17 00:27:15 +02:00
Jesse Vincent
0738d12c8c
add a note about customizing the location of the Arduino install on Linux 2017-08-16 13:26:57 -07:00
Jesse Vincent
2b740c403e
slight makefile tweaks 2017-08-16 13:26:57 -07:00
Jesse Vincent
487e97accd
a bit more tweaking to the readme 2017-08-16 13:26:57 -07:00
Jesse Vincent
f5254600c6
Reorganize makefile to avoid suggestions that Arduino lets you customize
your sketchbook directory
2017-08-16 13:26:57 -07:00
Jesse Vincent
4b2be6fc2f
fix a path in the makefile 2017-08-16 13:26:57 -07:00
Jesse Vincent
3595586023
fix rendering of README 2017-08-16 13:26:56 -07:00
Jesse Vincent
205c41cace
A pass at cleaning up the install instructions and Makefile a bit 2017-08-16 13:26:55 -07: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
Jesse Vincent
d3ee4f857f Merge pull request #9 from algernon/h/fn-fn-numpad-lock-be-gone
Turn the Fn keys into Keymap1_Momentary
2017-08-03 18:04: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
242c468569 Merge pull request #7 from algernon/h/readme-fixups
Small README fixups
2017-07-27 14:33:54 -07:00
Gergely Nagy
c3ba1ff206 README.md: Break a line in two, for better presentation
Lines in fenced code blocks are not automatically wrapped, and a long line can
easily result in an embedded scroll bar to be shown. Because those look bad, and
reading wrapped text is easier, break a long line into two lines.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2017-07-27 13:16:09 +02:00
Gergely Nagy
7f68cf1ba1 Fix the build status image URL
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2017-07-27 13:15:34 +02:00
Jesse Vincent
c273d3f9ce
Add a first pass README 2017-07-26 23:22:10 -07:00
Jesse Vincent
935f457dbb
Update makefile to fix issues 2017-07-26 23:09:20 -07: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