Gergely Nagy
0c497f884a
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8fdbf016ad
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
94b553a2f2
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ace73a9449
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
09825b62d0
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4070116b2a
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
27e4b80e1f
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b73d0109de
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3ca17d682b
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
dd1f499b69
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
090d43ca70
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
185248816a
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
42c7b9d662
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c47011b29b
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0798e48364
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a2479a4d4d
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1fdcaebef1
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
12d993a8b1
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
2c0f42f838
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
42e819d39a
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f614532139
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
32d5cc6ae4
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
39776b32ab
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b8088abbe1
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e5842ecc13
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
17e17810dd
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6bcc8ee562
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
980c58da36
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
47906e7f49
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e12606e330
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
928cd41fa9
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
51756fa4d6
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a722fea88d
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c29a6772a4
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fe06702a59
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
31f2c40625
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
743c6e45d3
Remove references to the Wire library, which the KeyboardioScanner no longer uses
8 years ago
Jesse Vincent
8dbf70e278
remove unused breathe state structure
8 years ago
Jesse Vincent
b230c1f27d
Removing additional use of 'float'
8 years ago
Jesse Vincent
7b2cc10d4a
Switch mouse keys to use integer math. This removes the last use of floating point math in the Model 01 core, saving us a good few K of program space
8 years ago
Jesse Vincent
84613fbd4d
Switch the "breathe" effect to use integer math
8 years ago
Jesse Vincent
27f77b978f
Merge pull request #79 from algernon/f/Key/operators
...
key_defs: Add some operators
8 years ago
Jesse Vincent
4fee90d184
Merge pull request #82 from algernon/f/arch-compatibility
...
Support an Arch-style Arduino installation
8 years ago
Jesse Vincent
1cf37d2134
Merge pull request #81 from algernon/f/LEDs/late-sync
...
Sync the LEDs at the end of the loop
8 years ago
Gergely Nagy
b38b9ca446
Support an Arch-style Arduino installation
...
Arch puts the Arduino tools into /usr/bin, hardware bits under
/usr/share/arduino, and so on. To make ends meet, and support both the
traditional install, and Arch, introduce a bit of magic:
- If `ARDUINO_TOOLS_PATH` is empty, then we should not add the `-tools`
param that refers to it. On arch, this is not needed, and there is no
reasonable alternative, that would also make sense. So in this case,
it should not be added at all. Setting the variable to an empty string
accomplishes that goal nicely.
- If an `AVR_GCC_PREFIX` variable is set, use that as the value for
`runtime.tools.avr-gcc.path`, otherwise `arduino-builder` will try to
find the avr-* tools somewhere under the Arduino prefix, which on
Arch, is not the case.
With this change, along with keyboardio/KeyboardioHID#3 , and adding an
`archlinux-arduino`=>`arduino` symlink somewhere, it becomes possible to
complie KeyboardioFirmware on Arch, using the packaged Arduino, with the
following commandline:
> make ARDUINO_BUILDER_PATH=/usr/bin/arduino-builder \
> ARDUINO_PATH=/usr/share/arduino \
> ARDUINO_LOCAL_LIB_PATH=../arduino-local \
> AVR_GCC_PREFIX=/usr \
> ARDUINO_TOOLS_PATH= \
> AVR_SIZE_PATH=avr-size
Not the nicest, by far, but possible.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
5b99952c67
Sync the LEDs at the end of the loop
...
Instead of syncing right after updating, sync at the end of the loop. This
allows hooks (both loop and event handler hooks) to override LED colors, without
cooperation from the active LED effect, and without flickering.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
fd5b78b92b
Merge pull request #80 from algernon/f/rawKey-to-keyCode
...
Rename Key.rawKey to Key.keyCode
8 years ago
Gergely Nagy
4b76f12ba4
Rename Key.rawKey to Key.keyCode
...
Because we have `raw`, `rawKey` was confusing. Rename it to `keyCode` instead,
which better conveys what the byte is for.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0cfa1f7adb
key_defs: Add some operators
...
Makes some code not only easier to follow (by not having to use `.raw`
all the time), but for some odd reason, smaller too, in many cases.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
910b9db948
Merge pull request #78 from algernon/h/Keyboardio/static-to-extern
...
Keyboardio: Change from static to extern
8 years ago