Archived
1
0
Commit Graph

11 Commits

Author SHA1 Message Date
Jacob Alexander
5696fc5dfb Adding name and file stacks and layer naming
- Name and kll filenames are treated as special variables
- Using the order of the stacks the compilation order can be inferred (useful for debugging)
- Layer names are finally implemented (instead of Layer 1, Layer 2, etc.)
2015-02-16 13:29:26 -08:00
Jacob Alexander
6454917b11 Adding define support to KLL compiler.
- Variable support is not complete
- However PartialMap support is basically ready
2014-11-20 13:52:58 -08:00
Jacob Alexander
b4e4a13811 Fixing layered assignment bug.
- Layered assignments were lost due to how the cached assignments were replayed
- Replaying each assignment cache after each file is done processing
2014-09-16 18:14:06 -07:00
Jacob Alexander
59a4b27de5 Adding support for firstScanCode calculation and initial Variable container implementation
- To better support RAM/Flash packing adding support for first scan code calculation
- This way if the first scan code is high (e.g. 0x40) RAM is not used for the scan codes without keys assigned

- Some initial work for KLL variables
- Will be used to influence runtime and compiler features of the firmware
2014-09-16 17:01:40 -07:00
Jacob Alexander
bbf2c3ffaf Adding full partial layer support.
- Layers never worked previously due to backend bug
- Added base configuration which is automatically clone for replacement, then subtracted for layers if scancode is unused (this allows for partial layer functionality)
- Added default map argument to define a combined map that is different than the typical ANSI map that is used for the base configuration
2014-09-09 17:49:46 -07:00
Jacob Alexander
e8d498a0d6 Fixed layer generation to only build trigger lists from the given layer.
- Required more complex correlation to get the layer ownership right for each trigger macro from the global list
2014-09-08 23:51:44 -07:00
Jacob Alexander
ff6ba9198b Adding basic layer support
- Not yet complete
- Partial layers are not compiling properly (adding too many macros, wasting memory)
- Adding example hhkb layout to try out as a layer
2014-09-07 23:22:07 -07:00
Jacob Alexander
0fe79f3418 Adding support for USB Code trigger assignment
- Added USBCode "cached assignment"
- Added ANSI -> Colemak USBCode assignment kll file
- Removed debug printing
2014-09-07 21:32:36 -07:00
Jacob Alexander
81231a708e kll compiler now working!
- Basic ScanCode to USBCode mapping now generating for the kiibohd controller
- Small fix to template
- Backend
- Macro correlation and transformation

TODO
- More testing
- Analog support
- LED support
- Layer support (only supports default layer currently)
2014-09-06 20:56:46 -07:00
Jacob Alexander
a005ad49ad Adding list to tuple conversion and USBCode to Capabiltiy conversion. 2014-09-06 12:35:22 -07:00
Jacob Alexander
1f0bf65417 Initial source dump.
- Not quite complete.
- Most of the parser is done (excluding analog) for 0.3 of the KLL spec
- Transformation and correlation isn't complete yet.
- Backend generation for Kiibohd capabilties is complete.
2014-09-02 10:03:50 -07:00