1
0
Fork 0

Migrate python tests away from onekey (#11367)

* Migrate python tests away from onekey

* Add stub files to stop lint complaints

* Make all the pytest keymaps compile
This commit is contained in:
Joel Challis 2021-01-05 00:52:31 +00:00 committed by GitHub
parent 810eafad12
commit f03b10b6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 113 additions and 82 deletions

View file

@ -0,0 +1,18 @@
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6465
#define DEVICE_VER 0x0001
#define MANUFACTURER none
#define PRODUCT pytest
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 1
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define DIODE_DIRECTION COL2ROW