Move keyboard USB IDs and strings to data driven: A (#17781)
This commit is contained in:
		
							parent
							
								
									a939293aca
								
							
						
					
					
						commit
						674422eb13
					
				
					 150 changed files with 475 additions and 546 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       0x4152 // "AR"
 | 
			
		||||
#define PRODUCT_ID      0x4F46 // "OF"
 | 
			
		||||
#define DEVICE_VER      0x0001
 | 
			
		||||
#define MANUFACTURER    Array Peripherals
 | 
			
		||||
#define PRODUCT         [1x4] + 1 Macropad
 | 
			
		||||
 | 
			
		||||
/* key matrix size */
 | 
			
		||||
#define MATRIX_ROWS 1
 | 
			
		||||
#define MATRIX_COLS 5
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,13 @@
 | 
			
		|||
{
 | 
			
		||||
  "keyboard_name": "[1 x 4] + 1 Macropad",
 | 
			
		||||
  "keyboard_name": "[1x4] + 1 Macropad",
 | 
			
		||||
  "manufacturer": "Array Peripherals",
 | 
			
		||||
  "url": "https://github.com/daviddoan",
 | 
			
		||||
  "maintainer": "David Doan",
 | 
			
		||||
  "usb": {
 | 
			
		||||
        "vid": "0x4152",
 | 
			
		||||
        "pid": "0x4F46",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
  "layouts": {
 | 
			
		||||
    "LAYOUT_ortho_1x5": {
 | 
			
		||||
      "layout": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue