]> git.donarmstrong.com Git - kiibohd-kll.git/log
kiibohd-kll.git
8 years agoForcing UTF-8 when reading files
Jacob Alexander [Mon, 9 May 2016 06:25:11 +0000 (23:25 -0700)]
Forcing UTF-8 when reading files

- I blame Ubuntu...
- Can't the world just get along and UTF-8 already?

8 years agoUpdating KLL to generate _KLL defines for upcoming firmware update
Jacob Alexander [Mon, 9 May 2016 00:49:05 +0000 (17:49 -0700)]
Updating KLL to generate _KLL defines for upcoming firmware update

- Compatible with earlier Kiibohd firmware

8 years agoMerge pull request #7 from cryham/check
Jacob Alexander [Mon, 9 May 2016 00:16:41 +0000 (17:16 -0700)]
Merge pull request #7 from cryham/check

Added check for too small stateWordSize (default 8) showing: Over 255…

8 years agoadded print stateWordSize from value when changing,
CryHam [Sun, 8 May 2016 07:07:06 +0000 (09:07 +0200)]
added print stateWordSize from value when changing,
removed regular count prints

8 years agoAdded check for too small stateWordSize (default 8) showing: Over 255 trigger or...
CryHam [Sat, 7 May 2016 19:40:04 +0000 (21:40 +0200)]
Added check for too small stateWordSize (default 8) showing: Over 255 trigger or result macros, changing stateWordSize to 16.

8 years agoAdding a few more mouse tests master
Jacob Alexander [Tue, 22 Mar 2016 06:06:27 +0000 (23:06 -0700)]
Adding a few more mouse tests

8 years agoAdding support for relative movement mouse keys
Jacob Alexander [Tue, 22 Mar 2016 05:22:13 +0000 (22:22 -0700)]
Adding support for relative movement mouse keys

- Includes kll.py cleanup
- Fixed negative number generation and parsing

8 years agoAdding basic mouse button test .kll file
Jacob Alexander [Mon, 21 Mar 2016 07:41:49 +0000 (00:41 -0700)]
Adding basic mouse button test .kll file

- Will need to be updated for full KLL mouse support later

8 years agoAdding support for kll 0.3d
Jacob Alexander [Sat, 17 Oct 2015 22:00:17 +0000 (15:00 -0700)]
Adding support for kll 0.3d

- Adding brightness control hid extension http://www.usb.org/developers/hidpage/HUTRR41.pdf
- Adding next keyboard layout support http://www.usb.org/developers/hidpage/HUTRR56B_Application_Keyboard_Layout_Selector.pdf

8 years agoFixing partial map static layer compilation bug
Jacob Alexander [Tue, 13 Oct 2015 06:27:34 +0000 (23:27 -0700)]
Fixing partial map static layer compilation bug

 - Processing order was not correct

8 years agoAnother error message cleanup
Jacob Alexander [Tue, 13 Oct 2015 05:59:12 +0000 (22:59 -0700)]
Another error message cleanup

8 years agoAdding better error messages for Tokenization and Parsing
Jacob Alexander [Tue, 13 Oct 2015 05:42:32 +0000 (22:42 -0700)]
Adding better error messages for Tokenization and Parsing

 - More msg, less stack trace

8 years agoUpdating hhkb2 definition to match recent symbolic name fix
Jacob Alexander [Tue, 13 Oct 2015 01:56:21 +0000 (18:56 -0700)]
Updating hhkb2 definition to match recent symbolic name fix

8 years agoCleanup
Jacob Alexander [Mon, 12 Oct 2015 05:25:03 +0000 (22:25 -0700)]
Cleanup

8 years agoAdding aliases for international keys
Jacob Alexander [Sat, 10 Oct 2015 06:12:04 +0000 (23:12 -0700)]
Adding aliases for international keys

8 years agoFixing ascii string macro processing
Jacob Alexander [Thu, 8 Oct 2015 03:05:44 +0000 (20:05 -0700)]
Fixing ascii string macro processing

- Fixing very old naming convention Brace to Bracket
- For now, accepting the old Brace names (will be deprecated at some point)

8 years agoFixing AL and AC namespaced Consumer control media keys
Jacob Alexander [Fri, 2 Oct 2015 05:28:36 +0000 (22:28 -0700)]
Fixing AL and AC namespaced Consumer control media keys

8 years agoAdding support for "Soft Replace" kll 0.3c
Jacob Alexander [Wed, 30 Sep 2015 07:04:30 +0000 (00:04 -0700)]
Adding support for "Soft Replace" kll 0.3c

- Updated both FuncMaps to use Soft Replace
- Only used for layers, default and base maps are not affected by soft replace (works like a normal replace)

8 years agoAdding layer rotation (next/prev) support
Jacob Alexander [Tue, 29 Sep 2015 03:00:22 +0000 (20:00 -0700)]
Adding layer rotation (next/prev) support

- Includes symbolic names

9 years agoAdding Lock and Latch symbolic names (e.g. Function)
Jacob Alexander [Sun, 20 Sep 2015 21:45:42 +0000 (14:45 -0700)]
Adding Lock and Latch symbolic names (e.g. Function)

- Like Function, these are not valid USB codes, but can be used to easily refer a particular key (no possible with exact name)

U"Lock1"  : layerLock( 1 );
U"Latch1" : layerLatch( 1 );

9 years agoTypo
Jacob Alexander [Fri, 18 Sep 2015 07:25:18 +0000 (00:25 -0700)]
Typo

9 years agoAdding cabilities index to kll compiler
Jacob Alexander [Fri, 18 Sep 2015 07:09:17 +0000 (00:09 -0700)]
Adding cabilities index to kll compiler

- Including remote reload example configuration

9 years agoFixing reference url
Jacob Alexander [Sat, 22 Aug 2015 03:43:04 +0000 (20:43 -0700)]
Fixing reference url

9 years agoAdding Infinity ErgoDox default layers and overlay
Jacob Alexander [Sat, 22 Aug 2015 02:36:03 +0000 (19:36 -0700)]
Adding Infinity ErgoDox default layers and overlay

9 years agoUpdating Infinity layers now that media keys are fully working
Jacob Alexander [Sat, 22 Aug 2015 02:35:22 +0000 (19:35 -0700)]
Updating Infinity layers now that media keys are fully working

9 years agoAdding colors associations to layers.
Jacob Alexander [Tue, 18 Aug 2015 17:45:57 +0000 (10:45 -0700)]
Adding colors associations to layers.

- All colors (except Fanta Orange) have been reduced by 75%

9 years agoSpecial function map used for LCD layer display hooks
Jacob Alexander [Tue, 18 Aug 2015 08:11:51 +0000 (01:11 -0700)]
Special function map used for LCD layer display hooks

9 years agoAdding convenience capability function declarations.
Jacob Alexander [Tue, 18 Aug 2015 08:09:52 +0000 (01:09 -0700)]
Adding convenience capability function declarations.

- This makes it easier to define capabilties in any C file

9 years agoExample kll map using CustomActions on MD1
Jacob Alexander [Sun, 16 Aug 2015 21:46:04 +0000 (14:46 -0700)]
Example kll map using CustomActions on MD1

9 years agoFixing '~' interpreting bug.
Jacob Alexander [Sun, 16 Aug 2015 21:41:19 +0000 (14:41 -0700)]
Fixing '~' interpreting bug.

9 years agoAdding WhiteFox layer 1
Jacob Alexander [Sun, 16 Aug 2015 19:28:32 +0000 (12:28 -0700)]
Adding WhiteFox layer 1

9 years agoAdding support for Interconnect Nodes
Jacob Alexander [Sun, 16 Aug 2015 04:29:18 +0000 (21:29 -0700)]
Adding support for Interconnect Nodes

- Required changing the ScanCode node datastructure
- Interconnect Id's must be stored until the end as it's not possible to calculate the max per node ScanCode until after all the assignments are complete
- Should make future additions more straight-forward (that require per ScanCode information to be stored)

9 years agoMerge branch 'master' of github.com:kiibohd/kll
Jacob Alexander [Sun, 2 Aug 2015 20:42:38 +0000 (13:42 -0700)]
Merge branch 'master' of github.com:kiibohd/kll

9 years agoAdding support for multi-line defines
Jacob Alexander [Sun, 2 Aug 2015 20:42:16 +0000 (13:42 -0700)]
Adding support for multi-line defines

9 years agoUpdating url
Jacob Alexander [Sat, 1 Aug 2015 17:45:50 +0000 (10:45 -0700)]
Updating url

9 years agoConverting templates to use pragma once
Jacob Alexander [Sat, 25 Jul 2015 23:11:24 +0000 (16:11 -0700)]
Converting templates to use pragma once

9 years agoFixing naming issues with some of the symbolic names.
Jacob Alexander [Fri, 15 May 2015 04:06:44 +0000 (21:06 -0700)]
Fixing naming issues with some of the symbolic names.

9 years agoAdding incorrect hid code lookup error detection.
Jacob Alexander [Sun, 10 May 2015 22:41:51 +0000 (15:41 -0700)]
Adding incorrect hid code lookup error detection.

9 years agoAdding None keyword (0.3b)
Jacob Alexander [Sun, 10 May 2015 22:32:15 +0000 (15:32 -0700)]
Adding None keyword (0.3b)

- Prevents fall-through
- Cannot be combined with other result capabilities

9 years agoAdding media key support to KLL compiler (0.3b)
Jacob Alexander [Sun, 10 May 2015 21:52:07 +0000 (14:52 -0700)]
Adding media key support to KLL compiler (0.3b)

- Full HID dictionaries for LED, Consumer Control and System Control
- Re-organized parameter passing (will help with future kll spec additions)

9 years agoMerge pull request #2 from mcmasterathl/master
Jacob Alexander [Sun, 1 Mar 2015 06:51:07 +0000 (22:51 -0800)]
Merge pull request #2 from mcmasterathl/master

USB Codes not supported for trigger combinations/sequences

9 years agoUpdating README
Jacob Alexander [Sun, 1 Mar 2015 06:23:14 +0000 (22:23 -0800)]
Updating README

9 years agoAdd USB Code support for combination and sequence triggers
Steve McMaster [Sat, 28 Feb 2015 04:26:01 +0000 (23:26 -0500)]
Add USB Code support for combination and sequence triggers

9 years agoMerge pull request #1 from kiibohd/master
mcmasterathl [Fri, 27 Feb 2015 21:43:24 +0000 (16:43 -0500)]
Merge pull request #1 from kiibohd/master

Merge upstream changes

9 years agoAdding a few more symbolic names.
Jacob Alexander [Thu, 26 Feb 2015 07:51:49 +0000 (23:51 -0800)]
Adding a few more symbolic names.

9 years agoAdding more symbolic names to the kll lookup.
Jacob Alexander [Thu, 26 Feb 2015 07:47:17 +0000 (23:47 -0800)]
Adding more symbolic names to the kll lookup.

- These will be added to the KLL Spec 0.4

9 years agoAdding backend specific template and output defaults.
Jacob Alexander [Sun, 22 Feb 2015 07:34:14 +0000 (23:34 -0800)]
Adding backend specific template and output defaults.

9 years agoSimplifying template arguments
Jacob Alexander [Sun, 22 Feb 2015 07:19:35 +0000 (23:19 -0800)]
Simplifying template arguments

- Command Line arguments have slightly changed (will require controller git update)
- In preparation for JSON I/O

9 years agoAdding inheritance to Backend class
Jacob Alexander [Sun, 22 Feb 2015 05:45:20 +0000 (21:45 -0800)]
Adding inheritance to Backend class

- Preparing for JSON->kll and kll->JSON compilation modes

9 years agoIssue #13: Fixing bug in kll compiler when not setting any DefaultMap or PartialMap
Jacob Alexander [Sat, 21 Feb 2015 07:43:33 +0000 (23:43 -0800)]
Issue #13: Fixing bug in kll compiler when not setting any DefaultMap or PartialMap

- Recent change broke this functionality

9 years agoAdding KEYPAD_ASTERISK (also internally renaming ASTERIX to ASTERISK)
Jacob Alexander [Sat, 21 Feb 2015 05:04:05 +0000 (21:04 -0800)]
Adding KEYPAD_ASTERISK (also internally renaming ASTERIX to ASTERISK)

- When possible, use the symbolic names for keys in generatedKeymap.h
  e.g. KEY_A instead of 0x04

9 years agoMarkdown typo
Jacob Alexander [Mon, 16 Feb 2015 21:48:01 +0000 (13:48 -0800)]
Markdown typo

9 years agoConverting README to markdown
Jacob Alexander [Mon, 16 Feb 2015 21:46:29 +0000 (13:46 -0800)]
Converting README to markdown

- Also added some basic usage scenarios

9 years agoAdding name and file stacks and layer naming
Jacob Alexander [Mon, 16 Feb 2015 21:29:26 +0000 (13:29 -0800)]
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.)

9 years agoAdding more generation debug output
Jacob Alexander [Tue, 10 Feb 2015 04:15:00 +0000 (20:15 -0800)]
Adding more generation debug output

- Adding latest kll git commit rev
- Adding list of changed files since latest git rev
- Adding list of all command line arguments during generation
- Adding generation timestamp
- Updating copyrights

9 years agoDie gracefully
Rowan Decker [Wed, 31 Dec 2014 07:48:08 +0000 (01:48 -0600)]
Die gracefully

Don't explode into a 20 line stack trace if the kll file is formatted
incorrectly. Instead simply show the error message and exit with an
error code (which will stop the rest of a make command).

A misformatted file is most likely a user error so showing the full
backtrace for debugging is not necessary. The file and line number
should (hopefully) be enough to fix the parsing error.

9 years agoForgot to commit template file.
Jacob Alexander [Thu, 11 Dec 2014 06:21:51 +0000 (22:21 -0800)]
Forgot to commit template file.

9 years agoFixing kll permutation expansion bug.
Jacob Alexander [Fri, 21 Nov 2014 19:53:11 +0000 (11:53 -0800)]
Fixing kll permutation expansion bug.

9 years agoAdding define support to KLL compiler.
Jacob Alexander [Thu, 20 Nov 2014 21:52:58 +0000 (13:52 -0800)]
Adding define support to KLL compiler.

- Variable support is not complete
- However PartialMap support is basically ready

9 years agoAdding a basic overlay for md1
Jacob Alexander [Thu, 13 Nov 2014 07:59:27 +0000 (23:59 -0800)]
Adding a basic overlay for md1

9 years agoAdding extra code generation required for Macro output sequences.
Jacob Alexander [Mon, 27 Oct 2014 07:23:22 +0000 (00:23 -0700)]
Adding extra code generation required for Macro output sequences.

0x00 is now treated as a special case.

10 years agoAdding backend support for more RAM optimizations.
Jacob Alexander [Wed, 17 Sep 2014 06:31:11 +0000 (23:31 -0700)]
Adding backend support for more RAM optimizations.

10 years agoFixing layered assignment bug.
Jacob Alexander [Wed, 17 Sep 2014 01:14:06 +0000 (18:14 -0700)]
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

10 years agoAdding support for firstScanCode calculation and initial Variable container implement...
Jacob Alexander [Wed, 17 Sep 2014 00:01:40 +0000 (17:01 -0700)]
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

10 years agoAdding my own configuration of the kishsaver (HHKB-like)
Jacob Alexander [Tue, 16 Sep 2014 22:39:21 +0000 (15:39 -0700)]
Adding my own configuration of the kishsaver (HHKB-like)

10 years agoFixing unicode strings in funcparserlib
Jacob Alexander [Tue, 16 Sep 2014 00:32:07 +0000 (17:32 -0700)]
Fixing unicode strings in funcparserlib

- Required to work with Cygwin Python3

10 years agoAdding first official layouts for KLL.
Jacob Alexander [Sun, 14 Sep 2014 22:48:43 +0000 (15:48 -0700)]
Adding first official layouts for KLL.

10 years agoChanging array type to support different uC architectures.
Jacob Alexander [Thu, 11 Sep 2014 18:01:11 +0000 (11:01 -0700)]
Changing array type to support different uC architectures.

- nat_ptr_t is defined in kll.h

10 years agoFixed multi-byte capability arguments.
Jacob Alexander [Thu, 11 Sep 2014 03:12:10 +0000 (20:12 -0700)]
Fixed multi-byte capability arguments.

- Little endian byte conversion required (has to do with struct assignment rather than architecture)

10 years agoAdding full partial layer support.
Jacob Alexander [Wed, 10 Sep 2014 00:49:46 +0000 (17:49 -0700)]
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

10 years agoFixed layer generation to only build trigger lists from the given layer.
Jacob Alexander [Tue, 9 Sep 2014 06:51:44 +0000 (23:51 -0700)]
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

10 years agoAdding basic layer support
Jacob Alexander [Mon, 8 Sep 2014 06:22:07 +0000 (23:22 -0700)]
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

10 years agoAdding support for USB Code trigger assignment
Jacob Alexander [Mon, 8 Sep 2014 04:32:36 +0000 (21:32 -0700)]
Adding support for USB Code trigger assignment

- Added USBCode "cached assignment"
- Added ANSI -> Colemak USBCode assignment kll file
- Removed debug printing

10 years agokll compiler now working!
Jacob Alexander [Sun, 7 Sep 2014 03:56:46 +0000 (20:56 -0700)]
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)

10 years agoAdding list to tuple conversion and USBCode to Capabiltiy conversion.
Jacob Alexander [Sat, 6 Sep 2014 19:35:22 +0000 (12:35 -0700)]
Adding list to tuple conversion and USBCode to Capabiltiy conversion.

10 years agoAdding examples and template.
Jacob Alexander [Wed, 3 Sep 2014 06:45:07 +0000 (23:45 -0700)]
Adding examples and template.

10 years agoInitial source dump.
Jacob Alexander [Tue, 2 Sep 2014 17:03:50 +0000 (10:03 -0700)]
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.

10 years agoAdding README
Jacob Alexander [Tue, 2 Sep 2014 16:55:21 +0000 (09:55 -0700)]
Adding README

Includes link to the latest spec.

10 years agoInitial commit
Jacob Alexander [Tue, 2 Sep 2014 16:49:11 +0000 (09:49 -0700)]
Initial commit