forked from mirrors/qmk_userspace
		
	ver 0.2
This commit is contained in:
		
					parent
					
						
							
								1de02c1f15
							
						
					
				
			
			
				commit
				
					
						1bcebc2848
					
				
			
		
					 2 changed files with 5 additions and 5 deletions
				
			
		
							
								
								
									
										2
									
								
								mykey.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								mykey.c
									
										
									
									
									
								
							| 
						 | 
					@ -76,7 +76,7 @@ int main(void)
 | 
				
			||||||
    TCCR0B = 0x05;
 | 
					    TCCR0B = 0x05;
 | 
				
			||||||
    TIMSK0 = (1<<TOIE0);
 | 
					    TIMSK0 = (1<<TOIE0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    print("keyboard firmware 0.1 for t.m.k.\n");
 | 
					    print("firmware 0.2 for t.m.k.\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    while (1) {
 | 
					    while (1) {
 | 
				
			||||||
        int layer = 0;
 | 
					        int layer = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,16 +35,16 @@
 | 
				
			||||||
 **************************************************************************/
 | 
					 **************************************************************************/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// You can change these to give your code its own name.
 | 
					// You can change these to give your code its own name.
 | 
				
			||||||
#define STR_MANUFACTURER	L"MfgName"
 | 
					#define STR_MANUFACTURER	L"t.m.k."
 | 
				
			||||||
#define STR_PRODUCT		L"Keyboard"
 | 
					#define STR_PRODUCT		L"t.m.k. keyboard"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Mac OS-X and Linux automatically load the correct drivers.  On
 | 
					// Mac OS-X and Linux automatically load the correct drivers.  On
 | 
				
			||||||
// Windows, even though the driver is supplied by Microsoft, an
 | 
					// Windows, even though the driver is supplied by Microsoft, an
 | 
				
			||||||
// INF file is needed to load the driver.  These numbers need to
 | 
					// INF file is needed to load the driver.  These numbers need to
 | 
				
			||||||
// match the INF file.
 | 
					// match the INF file.
 | 
				
			||||||
#define VENDOR_ID		0x16C0
 | 
					#define VENDOR_ID		0xFEED
 | 
				
			||||||
#define PRODUCT_ID		0x047D
 | 
					#define PRODUCT_ID		0xBABE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// USB devices are supposed to implment a halt feature, which is
 | 
					// USB devices are supposed to implment a halt feature, which is
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue