Keyboard: Move Bathroom Epiphany boards into its own directory (#3936)

* make bpiphany directory with simple readme file

* move unloved_bastard to bpiphany directory

* move frosty_flake to bpiphany directory

* move pegasushoof to bpiphany directory

* move tiger_lily to bpiphany directory

* add a little more info to readme

* move kitten_paw to bpiphany directory

* update make instructions

* update intro text

* add missing routines to matrix.c of unloved_bastard

* add missing routines
This commit is contained in:
MechMerlin 2018-09-19 16:25:58 -07:00 committed by Drashna Jaelre
parent 14be5258a6
commit 5b4bcfa7f2
78 changed files with 121 additions and 28 deletions

View file

@ -32,6 +32,24 @@ static uint8_t debouncing = DEBOUNCING_DELAY;
static matrix_row_t matrix[MATRIX_ROWS]; static matrix_row_t matrix[MATRIX_ROWS];
static matrix_row_t matrix_debouncing[MATRIX_ROWS]; static matrix_row_t matrix_debouncing[MATRIX_ROWS];
__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
__attribute__ ((weak))
void matrix_scan_kb(void) {
matrix_scan_user();
}
__attribute__ ((weak))
void matrix_init_user(void) {
}
__attribute__ ((weak))
void matrix_scan_user(void) {
}
static matrix_row_t scan_col(void) { static matrix_row_t scan_col(void) {
return ( return (
(PINC&(1<<7) ? 0 : ((matrix_row_t)1<<0)) | (PINC&(1<<7) ? 0 : ((matrix_row_t)1<<0)) |

View file

@ -25,22 +25,19 @@ Make example for this keyboard (after setting up your build environment):
104 key default layout: 104 key default layout:
``` ```
make frosty_flake:default make bpiphany/frosty_flake:default
``` ```
To directly flash the frosty_flake after compiling use To directly flash the frosty_flake after compiling use
``` ```
make frosty_flake:default:dfu make bpiphany/frosty_flake:default:dfu
``` ```
87 key tkl layout: 87 key tkl layout:
``` ```
make frosty_flake:tkl:dfu make bpiphany/frosty_flake:tkl:dfu
``` ```
See [build environment See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
setup](https://docs.qmk.fm/build_environment_setup.html) then the
[make instructions](https://docs.qmk.fm/make_instructions.html) for
more information.

View file

@ -35,6 +35,24 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
static uint8_t read_rows(void); static uint8_t read_rows(void);
static void select_col(uint8_t col); static void select_col(uint8_t col);
__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
__attribute__ ((weak))
void matrix_scan_kb(void) {
matrix_scan_user();
}
__attribute__ ((weak))
void matrix_init_user(void) {
}
__attribute__ ((weak))
void matrix_scan_user(void) {
}
inline uint8_t matrix_rows(void) { inline uint8_t matrix_rows(void) {
return MATRIX_ROWS; return MATRIX_ROWS;
} }
@ -48,7 +66,7 @@ inline uint8_t matrix_cols(void) {
* col: 0 1 2 3 4 5 6 7 * col: 0 1 2 3 4 5 6 7
* pin: PC7 PD5 PD3 PD1 PC2 PD6 PD4 PD2 * pin: PC7 PD5 PD3 PD1 PC2 PD6 PD4 PD2
* *
* Rrr pin configuration * Rrr pin configuration
* *
* These rrrs uses one 74HC154 4 to 16 bit demultiplexer (low * These rrrs uses one 74HC154 4 to 16 bit demultiplexer (low
* active), together with 2 rrrs driven directly from the micro * active), together with 2 rrrs driven directly from the micro
@ -84,7 +102,7 @@ uint8_t matrix_scan(void) {
} }
} }
} }
if (debouncing) { if (debouncing) {
if (--debouncing) { if (--debouncing) {
_delay_ms(1); _delay_ms(1);

View file

@ -11,6 +11,6 @@ Hardware Availability: https://geekhack.org/index.php?topic=46700.0
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make kitten_paw:default make bpiphany/kitten_paw:default
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -0,0 +1,12 @@
Pegasus Hoof Controller
===
Keyboard Maintainer: QMK Community
Hardware Supported: Pegasus Hoof
Hardware Availability: https://1upkeyboards.com/filco-pegasus-hoof-controller.html
Make example for this keyboard (after setting up your build environment):
make bpiphany/pegasus_hoof:default
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -33,6 +33,24 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
static matrix_row_t read_cols(void); static matrix_row_t read_cols(void);
static void select_row(uint8_t col); static void select_row(uint8_t col);
__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
__attribute__ ((weak))
void matrix_scan_kb(void) {
matrix_scan_user();
}
__attribute__ ((weak))
void matrix_init_user(void) {
}
__attribute__ ((weak))
void matrix_scan_user(void) {
}
inline uint8_t matrix_rows(void) inline uint8_t matrix_rows(void)
{ {
return MATRIX_ROWS; return MATRIX_ROWS;

View file

@ -0,0 +1,6 @@
# Bathroom Epiphanies
bpiphany is the owner and designer of [Bathroom Epiphanies](http://bathroomepiphanies.com/).
He is based in Sweden and creates several controller boards as a swappable component for some off the shelf keyboards.

View file

@ -32,6 +32,24 @@ static uint8_t debouncing = DEBOUNCING_DELAY;
static matrix_row_t matrix[MATRIX_ROWS]; static matrix_row_t matrix[MATRIX_ROWS];
static matrix_row_t matrix_debouncing[MATRIX_ROWS]; static matrix_row_t matrix_debouncing[MATRIX_ROWS];
__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
__attribute__ ((weak))
void matrix_scan_kb(void) {
matrix_scan_user();
}
__attribute__ ((weak))
void matrix_init_user(void) {
}
__attribute__ ((weak))
void matrix_scan_user(void) {
}
static matrix_row_t scan_col(void) { static matrix_row_t scan_col(void) {
return ( return (
(PINC&(1<<2) ? 0 : ((matrix_row_t)1<<0)) | \ (PINC&(1<<2) ? 0 : ((matrix_row_t)1<<0)) | \
@ -134,4 +152,4 @@ uint8_t matrix_key_count(void) {
for (uint8_t row = 0; row < MATRIX_ROWS; row++) for (uint8_t row = 0; row < MATRIX_ROWS; row++)
count += bitpop32(matrix[row]); count += bitpop32(matrix[row]);
return count; return count;
} }

View file

@ -11,6 +11,6 @@ Hardware Availability: https://geekhack.org/index.php?topic=46700.0
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make tiger_lily:default make bpiphany/tiger_lily:default
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -25,6 +25,24 @@
#include "util.h" #include "util.h"
#include "matrix.h" #include "matrix.h"
__attribute__ ((weak))
void matrix_init_kb(void) {
matrix_init_user();
}
__attribute__ ((weak))
void matrix_scan_kb(void) {
matrix_scan_user();
}
__attribute__ ((weak))
void matrix_init_user(void) {
}
__attribute__ ((weak))
void matrix_scan_user(void) {
}
#ifndef DEBOUNCING_DELAY #ifndef DEBOUNCING_DELAY
# define DEBOUNCING_DELAY 5 # define DEBOUNCING_DELAY 5
#endif #endif

View file

@ -10,6 +10,6 @@ Hardware Availability: Pretty much anywhere
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make unloved_bastard:default make bpiphany/unloved_bastard:default
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -1,12 +0,0 @@
Pegasus Hoof Controller
===
Keyboard Maintainer: QMK Community
Hardware Supported: Pegasus Hoof
Hardware Availability: https://1upkeyboards.com/filco-pegasus-hoof-controller.html
Make example for this keyboard (after setting up your build environment):
make pegasus_hoof:default
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.