Move keyboard USB IDs and strings to data driven: S (#17889)
This commit is contained in:
parent
b40c03140e
commit
a8744b1630
227 changed files with 704 additions and 825 deletions
|
@ -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
|
||||
|
|
|
@ -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}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue