1
0
Fork 0

Move keyboard USB IDs and strings to data driven: S (#17889)

This commit is contained in:
Ryan 2022-08-04 08:12:37 +10:00 committed by GitHub
parent b40c03140e
commit a8744b1630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
227 changed files with 704 additions and 825 deletions

View file

@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x04D8
#define PRODUCT_ID 0xEB0C
#define DEVICE_VER 0x0001
#define MANUFACTURER Swiftrax
#define PRODUCT Retropad
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 2

View file

@ -1,7 +1,13 @@
{
"keyboard_name": "Retropad",
"manufacturer": "Swiftrax",
"url": "https://github.com/swiftrax",
"maintainer": "swiftrax",
"usb": {
"vid": "0x04D8",
"pid": "0xEB0C",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,1", "x":0.5, "y":0}, {"label":"1,0", "x":0, "y":1.5}, {"label":"1,1", "x":1, "y":1.5}, {"label":"2,0", "x":0, "y":2.5}, {"label":"2,1", "x":1, "y":2.5}]