Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Fix Mechlovin's Olly/BB keyboard matrix file #14680

Merged
merged 1 commit into from
Oct 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 35 additions & 34 deletions keyboards/mechlovin/olly/bb/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "matrix.h"
#include "gpio.h"

static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;

Expand All @@ -27,40 +28,40 @@ static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
* 0: 0 ── 0 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 1: 0 ── 0 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 2: 0 ── 1 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 3: 0 ── 1 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 4: 1 ── 0 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 5: 1 ── 0 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 6: 1 ── 1 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 7: 1 ── 1 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 8: 1 ── 1 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
* 9: 0 ── 0 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*10: 0 ── 0 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
*11: 0 ── 1 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*12: 0 ── 1 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
*13: 1 ── 0 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*14: 1 ── 0 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
*15: 1 ── 1 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*16: 0 ── 0 ── 0 0 ── 0 1 0 0
* ────────────────────────────────────────────
*17: 0 ── 0 ── 0 0 ── 0 0 1 0
* ────────────────────────────────────────────
*18: 0 ── 0 ── 0 0 ── 0 0 0 1
* ────────────────────────────────────────────
* 2: 0 ── 1 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 3: 0 ── 1 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 4: 1 ── 0 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 5: 1 ── 0 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 6: 1 ── 1 ── 0 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 7: 1 ── 1 ── 1 1 ── 0 0 0 0
* ────────────────────────────────────────────
* 8: 1 ── 1 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
* 9: 0 ── 0 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*10: 0 ── 0 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
*11: 0 ── 1 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*12: 0 ── 1 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
*13: 1 ── 0 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*14: 1 ── 0 ── 1 0 ── 1 0 0 0
* ────────────────────────────────────────────
*15: 1 ── 1 ── 0 0 ── 1 0 0 0
* ────────────────────────────────────────────
*16: 0 ── 0 ── 0 0 ── 0 1 0 0
* ────────────────────────────────────────────
*17: 0 ── 0 ── 0 0 ── 0 0 1 0
* ────────────────────────────────────────────
*18: 0 ── 0 ── 0 0 ── 0 0 0 1
*
*/
static void select_col(uint8_t col) {
Expand Down