Gergely Nagy
035c95a207
No need to consume the trailing \n anymore
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a747d6c8cf
Use the new Focus helpers
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
5a7601bb30
Update to use the new EEPROM-Settings library
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4e1a579136
Do not treat 0xffff as NoKey
...
We expect the keymap in EEPROM to be set up by the time we get to use it,
instead of having uninitialized EEPROM there. So remove the special handling of
0xffff.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e3481be6ed
Fix the `keymap.dump` Focus command
...
The `keymap.dump` command should dump up to `maxLayers` amount of layers,
instead of a hardcoded four.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
18d8a31338
Drop the getPos & setPos commands
...
They are not all that useful, and take up considerable space, for very
little gain.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
33f5d8d9de
Some small code optimizations
...
Lifted out a few things from the main `focusKeymap` method, to make code
size smaller.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
80178956e4
Travis: Remove obsolete workarounds
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
807d18ab31
Nicer dump output
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
45391388db
Move the Focus hook into a separate file
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
00b836d0ac
Code optimalization
...
Lift out the key updating code into a private method.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
73c0f86d37
Add a missing #pragma once
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
03ab5f1a47
Updated to support newest Focus
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
db09b35be3
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago