forked from tschulte/ergodox-firmware
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into neo2_SaSu
Conflicts: firmware/keyboard/ergodox/options.mk readme.md
- Loading branch information
Showing
32 changed files
with
2,594 additions
and
841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
To compile this from Source, do following steps: | ||
|
||
1) Clone the neo2--sasu branch or the TAG you want. | ||
|
||
2) Create a new Folder "src" on same level as the Folder "firmware" on you local pc | ||
|
||
3) Copy whole content of "firmware" to folder "src" | ||
|
||
4) change into Folder "src" and run "make" (if you'd run "make" before and want to recompile, first run "make clean") | ||
|
||
If everything worked, the '.hex' and '.eep' files will be in the src directory (where you currently are). | ||
|
||
5) Download and start the Teensy-Firmware-Loader for your OS: http://www.pjrc.com/teensy/loader.html | ||
|
||
6) Press the Image on http://www.pjrc.com/teensy/loader.html for your OS and read HowTo flash Firmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* ---------------------------------------------------------------------------- | ||
* Copyright (c) 2012 Ben Blazak <[email protected]> | ||
* Copyright (c) 2012, 2014 Ben Blazak <[email protected]> | ||
* Released under The MIT License (see "doc/licenses/MIT.md") | ||
* Project located at <https://github.com/benblazak/ergodox-firmware> | ||
* ------------------------------------------------------------------------- */ | ||
|
@@ -50,13 +50,20 @@ void kb__led__all_set (float percent); | |
// ------- | ||
void kb__led__state__power_on (void); | ||
void kb__led__state__ready (void); | ||
void kb__led__delay__error (void); | ||
void kb__led__delay__usb_init (void); | ||
|
||
// layout | ||
void kb__led__logical_on (char led); | ||
void kb__led__logical_off (char led); | ||
// ------- | ||
void kb__layout__exec_key (bool pressed, uint8_t row, uint8_t column); | ||
void kb__layout__exec_key ( bool pressed, | ||
uint8_t row, | ||
uint8_t column ); | ||
void kb__layout__exec_key_layer ( bool pressed, | ||
uint8_t layer, | ||
uint8_t row, | ||
uint8_t column ); | ||
|
||
|
||
// ---------------------------------------------------------------------------- | ||
|
@@ -217,6 +224,12 @@ void kb__layout__exec_key (bool pressed, uint8_t row, uint8_t column); | |
* keystrokes. | ||
*/ | ||
|
||
|
||
// === kb__led__delay__error() === | ||
/** functions/kb__led__delay__error/description | ||
* Signal a generic error | ||
*/ | ||
|
||
// === kb__led__delay__usb_init() === | ||
/** functions/kb__led__delay__usb_init/description | ||
* Delay for a total of ~1 second, to allow the host to load drivers and such. | ||
|
@@ -273,3 +286,22 @@ void kb__layout__exec_key (bool pressed, uint8_t row, uint8_t column); | |
* etc. from `main()`. | ||
*/ | ||
|
||
// === kb__layout__exec_key_layer === | ||
/** functions/kb__layout__exec_key_layer/description | ||
* Perform the appropriate actions for a "press" or "release" of the key at the | ||
* given position, on the given layer. | ||
* | ||
* Arguments: | ||
* - `pressed`: | ||
* - `true`: Indicates that the key to be "executed" has been pressed | ||
* - `false`: Indicates that the key to be "executed" has been released | ||
* - `layer`: The layer of the key to be "executed" | ||
* - `row`: The row of the key to be "executed" | ||
* - `column`: The column of the key to be "executed" | ||
* | ||
* Notes: | ||
* - If the implementation does not support layers, the `layer` argument should | ||
* be ignored, and this function will be equivalent to | ||
* `kb__layout__exec_key()`. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.