Gergely Nagy
1432015235
Focus: Merge keymap.dump and keymap.upload into keymap.map
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a83d61e280
Focus: Fix the command list
...
`eeprom.dump` and `eeprom.upload` has been merged into `eeprom.contents`,
reflect that in the command list, too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
78836fd091
Focus: Less formatting in the dump output
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cdd6b811f9
Focus: Allow partial eeprom upload
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fc59d1f64b
Focus: Merge the eeprom.dump and eeprom.upload commands
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0bfb773619
Focus: Don't format the eeprom.dump output
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a880eea367
Add a way to hook into the lock/unlock mechanism
...
The callback can't prevent the action, but it can have side effects, such as
lighting up the LEDs, when the keyboard becomes locked (or unlocked).
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c72c7a5fe9
Drop some debugging stuff. Oops.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1feb474a62
EEPROM & Focus support
...
This makes it possible to persist the settings in EEPROM too, and allow setting
them via Focus.
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6e49fb4481
Move the configurable settings into a struct
...
This is in preparation for persisting these in EEPROM.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
107d51ce5a
Initial import
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
656c2934f3
Add a Pastel palette
...
Source: http://www.colourlovers.com/palette/1390882/c64
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8a5b13673a
Focus: Add a "clear" sub-command
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cd8a87ec47
Restart the cycle early if the palette does not change
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8b6653d3c8
Fix the example
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f83ac78605
Add an (optional) default palette
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
406410a735
Focus: add fingerpainter.toggle
...
Toggles the Edit mode.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
249437d6e7
Initial import
...
There are some issues here and there, and this saw minimal testing only. But it
is okay-ish for an initial attempt.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
19b5655770
Add a way to figure out the used & free EEPROM amount
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
26d7af1b96
Fix the `settings.version` Focus command
...
There was a missing `break`, so control flowed through to the CRC case.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
9884e54f9d
The "NOTICE" file caused some user confusion
8 years ago
Jesse Vincent
19c63e6a8b
Merge pull request #122 from algernon/f/focus-layer-hook
...
Add an optional Focus hook
8 years ago
Jesse Vincent
d73b27eea7
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
37fa269ecb
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
79f543734f
Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent
e3b5ae4012
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
e008887261
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
14ed3a2b18
Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent
a3def769a0
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
fbee5854ee
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
7d6225f724
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
5d4fef2f66
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
3740937865
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
4a45dc2faf
Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent
b34180f4c7
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
826194a269
change "handle_key_event" to "handle_keyswitch_event" to make it clear that we're talking about something on the physical layer, rather than, say, a HID event
8 years ago
Jesse Vincent
6c8dd7ef04
Merge pull request #5 from keyboardio/f/new-step-types
...
New step types
8 years ago
Jesse Vincent
a492d3182e
Add some doc for UNKNOWN_KEYSWITCH_LOCATION
8 years ago
Gergely Nagy
215d7de8ce
Use UNKNOWN_KEYSWITCH_LOCATION instead of magic numbers
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
7f4d14a6f9
Merge pull request #125 from algernon/f/UNKNOWN_KEYSWITCH_LOCATION
...
Add an UNKNOWN_KEYSWITCH_LOCATION helper
8 years ago
Gergely Nagy
b66c17c77d
Add an optional Focus hook
...
Implements the `layer.on`, `layer.off`, and `layer.getState` commands, which can
be used to control the active layers from the host.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
69bc303828
Add an UNKNOWN_KEYSWITCH_LOCATION helper
...
To be used in places where we have absolutely, positively no clue where a key
event came from, coordinate-wise.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
1c468752c8
Merge pull request #123 from algernon/h/appswitcher-fix
...
Update AppSwitcher, following up on HostOS changes
8 years ago
Gergely Nagy
06131ed468
Update AppSwitcher, following up on HostOS changes
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
b4debe142d
Merge pull request #4 from keyboardio/f/focus-hook
...
Add an (optional) Focus hook
8 years ago
Gergely Nagy
c07288cc5e
Add an (optional) Focus hook
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
dede93e0fd
Instead of full docs, only document the commands
...
Full documentation takes way too much space, and command names are a reasonable
compromise for discoverability.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f1e7ab05eb
Instead of full docs, only document the commands
...
Full documentation takes way too much space, and command names are a reasonable
compromise for discoverability.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cdbbc0cd0a
Instead of full docs, only document the commands
...
Full documentation takes way too much space, and command names are a reasonable
compromise for discoverability.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a407ac3fea
Instead of full docs, only document the commands
...
Full documentation takes way too much space, and command names are a reasonable
compromise for discoverability.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago