Rearrange the file layout in preparation of becoming a monorepo

Move the documentation to `doc/plugin/Hardware-EZ-ErgoDox.md`, sources under
`src/kaleidoscope/plugin/` (appropriately namespaced). This is in preparation of
merging plugins into a single monorepo.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/427/head^2
Gergely Nagy 6 years ago
parent 9506e2b70b
commit 819c2c6a34
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -1,6 +1,8 @@
# Kaleidoscope-Hardware-ErgoDox # Kaleidoscope-Hardware-EZ-ErgoDox
This is a plugin for [Kaleidoscope][fw], that adds hardware support for [![Build Status][travis:image]][travis:status]
the ErgoDox.
[fw]: https://github.com/keyboardio/Kaleidoscope [travis:image]: https://travis-ci.org/keyboardio/Kaleidoscope-Hardware-EZ-ErgoDox.svg?branch=master
[travis:status]: https://travis-ci.org/keyboardio/Kaleidoscope-Hardware-EZ-ErgoDox
See [doc/plugin/Hardware-EZ-ErgoDox.md](doc/plugin/Hardware-EZ-ErgoDox.md) for documentation.

@ -0,0 +1,6 @@
# Kaleidoscope-Hardware-ErgoDox
This is a plugin for [Kaleidoscope][fw], that adds hardware support for
the ErgoDox.
[fw]: https://github.com/keyboardio/Kaleidoscope

@ -27,7 +27,7 @@
#include <Kaleidoscope.h> #include <Kaleidoscope.h>
#include <KeyboardioHID.h> #include <KeyboardioHID.h>
#include <avr/wdt.h> #include <avr/wdt.h>
#include "ErgoDoxScanner.h" #include "kaleidoscope/hardware/ErgoDox/ErgoDoxScanner.h"
namespace kaleidoscope { namespace kaleidoscope {
namespace hardware { namespace hardware {

@ -27,7 +27,7 @@
#include <Arduino.h> #include <Arduino.h>
#include "ErgoDoxScanner.h" #include "kaleidoscope/hardware/ErgoDox/ErgoDoxScanner.h"
#define HARDWARE_IMPLEMENTATION kaleidoscope::hardware::ErgoDox #define HARDWARE_IMPLEMENTATION kaleidoscope::hardware::ErgoDox
#include "Kaleidoscope-HIDAdaptor-KeyboardioHID.h" #include "Kaleidoscope-HIDAdaptor-KeyboardioHID.h"

@ -23,9 +23,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "ErgoDoxScanner.h" #include "kaleidoscope/hardware/ErgoDox/ErgoDoxScanner.h"
#include <avr/wdt.h> #include <avr/wdt.h>
#include "i2cmaster.h" #include "kaleidoscope/hardware/ErgoDox/i2cmaster.h"
#define I2C_ADDR 0b0100000 #define I2C_ADDR 0b0100000
#define I2C_ADDR_WRITE ( (I2C_ADDR<<1) | I2C_WRITE ) #define I2C_ADDR_WRITE ( (I2C_ADDR<<1) | I2C_WRITE )

@ -9,7 +9,7 @@
#include <inttypes.h> #include <inttypes.h>
#include <compat/twi.h> #include <compat/twi.h>
#include "i2cmaster.h" #include "kaleidoscope/hardware/ErgoDox/i2cmaster.h"
/* define CPU frequency in Mhz here if not defined in Makefile */ /* define CPU frequency in Mhz here if not defined in Makefile */
Loading…
Cancel
Save