Index: output/ramcode.rom
===================================================================
--- /1306ac/branch/dongle/usb_1M_YeCai_wc/output/ramcode.rom	(revision 1122)
+++ /1306ac/branch/dongle/usb_1M_YeCai_wc/output/ramcode.rom	(working copy)
@@ -4,18 +4,18 @@
 c0178026
 c01b0052
 c038007b
-c06780e6
-c0610109
+c06780e5
+c0610108
 c061802a
 c064003a
 20203a8a
 c17f8000
-c0230141
-c023814d
-c024816b
-c0268128
+c0230140
+c023814c
+c024816a
+c0268127
 c027801b
-c028011d
+c028011c
 20203a8a
 708a7503
 708a8500
@@ -127,30 +127,29 @@
 67e1452f
 58000086
 67e14531
-580000d6
+580000d5
 67e1452d
-580000be
+580000bd
 67e106f3
 2020703f
 6fe0c536
 c002008a
-c00280a1
+c00280a0
 202051c6
 d8a00900
 d8c04536
 df200008
 20407419
-70090004
 6fe40900
-245a0099
+245a0098
 6fe40900
-205a009d
+205a009c
 6fe40900
 67e44594
 684c459c
 98467c00
-244280b7
-202000ae
+244280b6
+202000ad
 70092001
 58000180
 d8e0000e
@@ -164,34 +163,34 @@
 df200008
 20407419
 6fe40910
-245a00b1
+245a00b0
 6fe40910
-205a00b3
+205a00b2
 6fe40910
 67e44594
 684c459c
 98467c00
-244280b9
+244280b8
 6fe44594
 67e4459c
 20204a39
 70092101
-202000b4
+202000b3
 70092100
 58000180
 d8e0000e
 20207420
 7007aa15
-202000ba
+202000b9
 7007aa16
 6fe087ab
 79207e02
 67e087ab
 20600000
 6fe0c5b3
-c28200c2
+c28200c1
 6fe0c593
-c0ad00c6
+c0ad00c5
 7045935a
 6ff2137a
 79207e1d
@@ -201,9 +200,9 @@
 204050fc
 2040708d
 204050e9
-202000cc
+202000cb
 6fe0c593
-c02d00d2
+c02d00d1
 58009272
 67e105fb
 70064a1a
@@ -213,16 +212,16 @@
 70066364
 202050f8
 6fe0c4d4
-c00080d9
-c00100dc
+c00080d8
+c00100db
 6fe0c5dd
 c280519d
-202000de
+202000dd
 6fe0c5dd
 c280d1a1
 6fe0c55c
 c000d1a8
-c00180e2
+c00180e1
 20600000
 6fe0c444
 c000c984
@@ -241,7 +240,7 @@
 6fe087a0
 243a7356
 2040732a
-204000f5
+204000f4
 20207342
 6ff08c24
 c3810000
@@ -252,8 +251,8 @@
 67e087ab
 6fe087aa
 207a0000
-c00a8101
-c00b0105
+c00a8100
+c00b0104
 2020733e
 7007aa00
 df200008
@@ -268,7 +267,7 @@
 2040f03f
 6ff08c23
 2feffe01
-20408117
+20408116
 6ff08c23
 67f08c23
 67e0855e
@@ -278,14 +277,14 @@
 2040731a
 20207092
 6fe08797
-c00d0034
+c00c8034
 2020004d
 6fe0879f
 207a0000
 2020004d
 6fe0c561
 c1838000
-20400121
+20400120
 20204b00
 6fe0c560
 c3838000
@@ -323,7 +322,7 @@
 20404792
 2437ca39
 20404997
-20400147
+20400146
 2020498e
 6fe0c442
 67e0c4d4
@@ -334,37 +333,37 @@
 6fe0c535
 c05549a2
 c02ac9b3
-c0110153
-c07f8180
+c0110152
+c07f817f
 20600000
 6fe0c4f9
-203a0159
+203a0158
 6fe24537
 684a4577
 98467c00
 24628000
 6fe0c536
-c000815d
-c0010164
+c000815c
+c0010163
 20600000
 6fe0c529
 247a0000
 6fe0c51e
-c0010162
+c0010161
 20600000
 70452901
 202049e5
 6fe0c52a
 247a0000
 6fe0c51f
-c0800169
+c0800168
 20600000
 70452a01
 202049f3
 6fe0c535
-c0008170
+c000816f
 c0014a4e
-c07f817e
+c07f817d
 20204a39
 20404a08
 20404ba2
@@ -373,7 +372,7 @@
 284ffe03
 7920fe00
 67e0c555
-c0008179
+c0008178
 20204a47
 6fe0c529
 247a0000
@@ -381,10 +380,10 @@
 6fe2453d
 20204c14
 20404a16
-20200180
+2020017f
 6fe0c536
-c0008184
-c0010187
+c0008183
+c0010186
 20600000
 6fe0c529
 247a0000
Index: output/sched.rom
===================================================================
--- /1306ac/branch/dongle/usb_1M_YeCai_wc/output/sched.rom	(revision 1122)
+++ /1306ac/branch/dongle/usb_1M_YeCai_wc/output/sched.rom	(working copy)
@@ -117,25 +117,25 @@
 # 09 06	#Usage (Keyboard)
 # a1 01	#Collection (Application)
 # 75 01 	#Report Size (1)
-# 95 08	#Report Count (8) 
+# 95 08	#Report Count (8)
 # 05 07	#Usage Page (Keyboard/Keypad)
 # 19 e0 	#Usage Minimum (Keyboard Left Control)
 # 29 e7 	#Usage Maximum (Keyboard Right GUI)
 # 15 00	#Logical Minimum (0)
 # 25 01	#Logical Maximum (1)
-# 81 02	#Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+# 81 02	#Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
 # 95 01 	#Report Count (1)
 # 75 08	#Report Size (8)
-# 81 03 	#Input (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
-# 95 05 	#Report Count (5) 
+# 81 03 	#Input (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
+# 95 05 	#Report Count (5)
 # 75 01	#Report Size (1)
 # 05 08	#Usage Page (LEDs)
 # 19 01	#Usage Minimum (Num Lock)
 # 29 05  	#Usage Maximum (Kana)
 # 91 02 	#Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit)
-# 95 01  	#Report Count (1) 
+# 95 01  	#Report Count (1)
 # 75 03  	#Report Size (3)
-# 91 03	#Output (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 
+# 91 03	#Output (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit)
 # 95 06 	#Report Count (6)
 # 75 08 	#Report Size (8)
 # 15 00 	#Logical Minimum (0)
@@ -144,104 +144,104 @@
 # 19 00	#Usage Minimum (Undefined)
 # 2a ff 00 	#Usage Maximum
 # 81 00	#Input (Data,Ary,Abs)
-# c0		#End Collection 						
+# c0		#End Collection
 
 mem_hidreportdesc_ms_new_config:
 64
 #75
-# 05 01  	#Usage Page (Generic Desktop) 
-# 09 02  	#Usage (Mouse) 
+# 05 01  	#Usage Page (Generic Desktop)
+# 09 02  	#Usage (Mouse)
 # a1 01  	#Collection (Application)
-# 85 01 	#Report ID (1)  
-# 09 01  	#Usage (Pointer) 
-# a1 00  	#Collection (Physical) 
-# 05 09  	#Usage Page (Button) 
+# 85 01 	#Report ID (1)
+# 09 01  	#Usage (Pointer)
+# a1 00  	#Collection (Physical)
+# 05 09  	#Usage Page (Button)
 # 19 01  	#Usage Minimum (Button 1)
-# 29 05  	#        Usage Maximum (Button 5) 
-# 15 00  	#        Logical Minimum (0) 
-# 25 01  	#        Logical Maximum (1) 
-# 95 05  	#        Report Count (5) 
-# 75 01  	#        Report Size (1) 
-# 81 02  	#        Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
-# 95 01  	#        Report Count (1) 
-# 75 03  	#        Report Size (3) 
-# 81 01  	#        Input (Cnst,Ary,Abs) 
-# 05 01  	#        Usage Page (Generic Desktop) 
-# 09 30  	#       Usage (X) 
-# 09 31  	#        Usage (Y) 
-# 16 01 f8 	#        Logical Minimum (-2047)  
-# 26 ff 07	#        Logical Maximum (2047)   
-# 75 10  	#        Report Size (16) 
-# 95 02  	#        Report Count (2) 
-# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
-# 09 38  	#        Usage (Wheel) 
-# 15 81  	#        Logical Minimum (-127) 
-# 25 7f  	#        Logical Maximum (127) 
-# 75 08  	#        Report Size (8) 
-# 95 01  	#        Report Count (1) 
-# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
-# 05 0c  	#        Usage Page (Consumer Devices) 
-# 0a 38 02 	#        Usage (AC Pan)  
-# 95 01  	#        Report Count (1) 
-# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
-# C0  		#End Collection 
-# C0  		#End Collection 
+# 29 05  	#        Usage Maximum (Button 5)
+# 15 00  	#        Logical Minimum (0)
+# 25 01  	#        Logical Maximum (1)
+# 95 05  	#        Report Count (5)
+# 75 01  	#        Report Size (1)
+# 81 02  	#        Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
+# 95 01  	#        Report Count (1)
+# 75 03  	#        Report Size (3)
+# 81 01  	#        Input (Cnst,Ary,Abs)
+# 05 01  	#        Usage Page (Generic Desktop)
+# 09 30  	#       Usage (X)
+# 09 31  	#        Usage (Y)
+# 16 01 f8 	#        Logical Minimum (-2047)
+# 26 ff 07	#        Logical Maximum (2047)
+# 75 10  	#        Report Size (16)
+# 95 02  	#        Report Count (2)
+# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
+# 09 38  	#        Usage (Wheel)
+# 15 81  	#        Logical Minimum (-127)
+# 25 7f  	#        Logical Maximum (127)
+# 75 08  	#        Report Size (8)
+# 95 01  	#        Report Count (1)
+# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
+# 05 0c  	#        Usage Page (Consumer Devices)
+# 0a 38 02 	#        Usage (AC Pan)
+# 95 01  	#        Report Count (1)
+# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
+# C0  		#End Collection
+# C0  		#End Collection
 #25
-05 01  	#Usage Page (Generic Desktop) 
-09 80  	#Usage (System Control) 
-a1 01  	#Collection (Application) 
-85 02  	#Report ID (2) 
-05 01	#Usage Page (Generic Desktop)   
-19 81  	#Usage Minimum (System Power Down) 
-29 88  	#Usage Maximum (System Menu Exit) 
-15 00  	#    Logical Minimum (0) 
-25 01  	#    Logical Maximum (1) 
-95 08 	#    Report Count (8)  
-75 01  	#    Report Size (1) 
-81 06  	#    Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
+05 01  	#Usage Page (Generic Desktop)
+09 80  	#Usage (System Control)
+a1 01  	#Collection (Application)
+85 02  	#Report ID (2)
+05 01	#Usage Page (Generic Desktop)
+19 81  	#Usage Minimum (System Power Down)
+29 88  	#Usage Maximum (System Menu Exit)
+15 00  	#    Logical Minimum (0)
+25 01  	#    Logical Maximum (1)
+95 08 	#    Report Count (8)
+75 01  	#    Report Size (1)
+81 06  	#    Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
 c0  		#End Collection
 
 #25
-05 0c  	#Usage Page (Consumer Devices) 
-09 01  	#Usage (Consumer Control) 
-a1 01  	#Collection (Application) 
-85 03  	#    Report ID (3) 
-15 00  	#    Logical Minimum (0) 
-26 80 03 	#    Logical Maximum (896)  
-19 00  	#    Usage Minimum (Undefined) 
-2a 80 03	#    Usage Maximum   
-75 10	#    Report Size (16)   
-95 01 	#    Report Count (1)  
-81 00	#    Input (Data,Ary,Abs)   
+05 0c  	#Usage Page (Consumer Devices)
+09 01  	#Usage (Consumer Control)
+a1 01  	#Collection (Application)
+85 03  	#    Report ID (3)
+15 00  	#    Logical Minimum (0)
+26 80 03 	#    Logical Maximum (896)
+19 00  	#    Usage Minimum (Undefined)
+2a 80 03	#    Usage Maximum
+75 10	#    Report Size (16)
+95 01 	#    Report Count (1)
+81 00	#    Input (Data,Ary,Abs)
 c0  		#End Collection
 
-#25																			     
-05 01       #Usage Page (Generic Desktop)																     
-09 06       #Usage (Keyboard)																						     
-A1 01       #Collection (Application)																		     
-85 04       #    Report ID (5)																						   															     
-95 38       #    Report Count (56)																				   
-75 01       #    Report Size (1)																					   
-15 00       #    Logical Minimum (0)																			   
-25 01       #    Logical Maximum (1)																			   
-05 07       #    Usage Page (Keyboard/Keypad)														     
-19 00       #    Usage Minimum (Undefined)																   
-29 37       #    Usage Maximum																						   
-81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)							   
-C0          #End Collection	
-#25																					     
-05 01       #Usage Page (Generic Desktop)																     
-09 05       #Usage (Keyboard)																						     
-A1 01       #Collection (Application)																		     
-85 06       #    Report ID (6)																						   
-95 38       #    Report Count (56)																				   
-75 01       #    Report Size (1)																					   
-15 00       #    Logical Minimum (0)																			   
-25 01       #    Logical Maximum (1)																			   
-05 07       #    Usage Page (Keyboard/Keypad)														     
-19 38       #    Usage Minimum (Keyboard ] and })									     
+#25
+05 01       #Usage Page (Generic Desktop)
+09 06       #Usage (Keyboard)
+A1 01       #Collection (Application)
+85 04       #    Report ID (5)
+95 38       #    Report Count (56)
+75 01       #    Report Size (1)
+15 00       #    Logical Minimum (0)
+25 01       #    Logical Maximum (1)
+05 07       #    Usage Page (Keyboard/Keypad)
+19 00       #    Usage Minimum (Undefined)
+29 37       #    Usage Maximum
+81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
+C0          #End Collection
+#25
+05 01       #Usage Page (Generic Desktop)
+09 06       #Usage (Keyboard)
+A1 01       #Collection (Application)
+85 05       #    Report ID (6)
+95 38       #    Report Count (56)
+75 01       #    Report Size (1)
+15 00       #    Logical Minimum (0)
+25 01       #    Logical Maximum (1)
+05 07       #    Usage Page (Keyboard/Keypad)
+19 38       #    Usage Minimum (Keyboard ] and })
 29 6f       #    Usage Maximum (Keypad =)
-81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)				   
+81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
 C0          #End Collection
 
 
@@ -296,14 +296,14 @@
 #09		#Size of this descriptor in bytes.
 #02		#Configuration (assigned by USB).
 #5b 00 	#Total length of data returned for this configuration
-#03		#Number of interfaces supported by this configuration  
+#03		#Number of interfaces supported by this configuration
 #01		#bConfigurationValue
 #00		#iConfiguration
 #a0		#bmAttributes
-#32		#MaxPower (in 2mA units) 
-# 
+#32		#MaxPower (in 2mA units)
+#
 # #interface_descriptor hid_interface_descriptor--keyboard
-# 
+#
 #09		# bLength
 #04		# bDescriptorType
 #00		#  bInterfaceNumber
@@ -313,9 +313,9 @@
 #01		#  bInterfaceSubClass
 #01		#  bInterfaceProcotol ; 1=keyboard
 #00		#  iInterface
-# 
+#
 # #class_descriptor hid_descriptor--keyboard
-# 
+#
 #09		#  bLength
 #21		#   bDescriptorType
 #00 02	#  bcdHID
@@ -324,85 +324,85 @@
 #22		# bDescriptorType
 #1a 00 	#  wItemLength (tot. len. of report confdesc)
 #
-# #IN endpoint (mandatory for HID)--keyboard 
-# 
+# #IN endpoint (mandatory for HID)--keyboard
+#
 #07		#bLength
 #05		#bDescriptorType
 #81		#bEndpointAddress
 #03		#bmAttributes
 #40 00	#MaxPacketSize (LITTLE ENDIAN)
-#02		#bInterval 
-# 
+#02		#bInterval
+#
 # #interface_descriptor hid_interface_descriptor--mouse
-# 
-#09		#bLength 
-#04		#bDescriptorType   
-#01		#bInterfaceNumber  
+#
+#09		#bLength
+#04		#bDescriptorType
+#01		#bInterfaceNumber
 #00		#bAlternateSetting
-#01		#bNumEndpoints  
-#03		#bInterfaceClass (3 = HID)   
-#01		#bInterfaceSubClass  
-#02		#bInterfaceProcotol ; 2=mouse  
-#00		#iInterface 
-# 
-# #class_descriptor hid_descriptor--mouse 
-# 
-#09		#bLength   
-#21		#bDescriptorType  
-#00 02	#bcdHID 
-#00		#bCountryCode  
-#01		#bNumDescriptors  
+#01		#bNumEndpoints
+#03		#bInterfaceClass (3 = HID)
+#01		#bInterfaceSubClass
+#02		#bInterfaceProcotol ; 2=mouse
+#00		#iInterface
+#
+# #class_descriptor hid_descriptor--mouse
+#
+#09		#bLength
+#21		#bDescriptorType
+#00 02	#bcdHID
+#00		#bCountryCode
+#01		#bNumDescriptors
 #22		#bDescriptorType
 #a3 00	#wItemLength (tot. len. of report confdesc)
-# 
+#
 # #endpoint_descriptor hid_endpoint_in_descriptor--mouse
-# 
-#07		#bLength  
-#05		#bDescriptorType  
-#82		#bEndpointAddress  
-#03		# bmAttributes  
-#40 00	#MaxPacketSize (LITTLE  ENDIAN)  
+#
+#07		#bLength
+#05		#bDescriptorType
+#82		#bEndpointAddress
+#03		# bmAttributes
+#40 00	#MaxPacketSize (LITTLE  ENDIAN)
 #02		#bInterval
 #
 #
 ##interface_descriptor hid_interface_descriptor
 #
-#09		#bLength 
-#04		#bDescriptorType   
-#02		#bInterfaceNumber  
+#09		#bLength
+#04		#bDescriptorType
+#02		#bInterfaceNumber
 #00		#bAlternateSetting
 #02		#bNumEndpoints
-#03		#bInterfaceClass (3 = HID)   
-#00		#bInterfaceSubClass  
+#03		#bInterfaceClass (3 = HID)
+#00		#bInterfaceSubClass
 #00		#bInterfaceProcotol
-#00		#iInterface 
-# 
-##class_descriptor hid_descriptor 
-#
-#09		#bLength   
-#21		#bDescriptorType  
-#00 02	#bcdHID 
-#00		#bCountryCode  
-#01		#bNumDescriptors  
+#00		#iInterface
+#
+##class_descriptor hid_descriptor
+#
+#09		#bLength
+#21		#bDescriptorType
+#00 02	#bcdHID
+#00		#bCountryCode
+#01		#bNumDescriptors
 #22		#bDescriptorType
 #1b 00	#wItemLength (tot. len. of report confdesc)
-# 
+#
 ##endpoint_descriptor hid_endpoint_in_descriptor
 #
-#07		#bLength  
-#05		#bDescriptorType  
-#83		#bEndpointAddress  
-#03		# bmAttributes  
-#40 00	#MaxPacketSize (LITTLE ENDIAN) 
+#07		#bLength
+#05		#bDescriptorType
+#83		#bEndpointAddress
+#03		# bmAttributes
+#40 00	#MaxPacketSize (LITTLE ENDIAN)
 #02		#bInterval
 #
 ##endpoint_descriptor hid_endpoint_out_descriptor
 #
-#07		#bLength  
-#05		#bDescriptorType  
-#03		#bEndpointAddress  
-#03		# bmAttributes  
-#40 00	#MaxPacketSize (LITTLE ENDIAN) 
+#07		#bLength
+#05		#bDescriptorType
+#03		#bEndpointAddress
+#03		# bmAttributes
+#40 00	#MaxPacketSize (LITTLE ENDIAN)
 #02		#bInterval
 
 
Index: sched/dongle.dat
===================================================================
--- /1306ac/branch/dongle/usb_1M_YeCai_wc/sched/dongle.dat	(revision 1122)
+++ /1306ac/branch/dongle/usb_1M_YeCai_wc/sched/dongle.dat	(working copy)
@@ -50,25 +50,25 @@
 # 09 06	#Usage (Keyboard)
 # a1 01	#Collection (Application)
 # 75 01 	#Report Size (1)
-# 95 08	#Report Count (8) 
+# 95 08	#Report Count (8)
 # 05 07	#Usage Page (Keyboard/Keypad)
 # 19 e0 	#Usage Minimum (Keyboard Left Control)
 # 29 e7 	#Usage Maximum (Keyboard Right GUI)
 # 15 00	#Logical Minimum (0)
 # 25 01	#Logical Maximum (1)
-# 81 02	#Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
+# 81 02	#Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
 # 95 01 	#Report Count (1)
 # 75 08	#Report Size (8)
-# 81 03 	#Input (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
-# 95 05 	#Report Count (5) 
+# 81 03 	#Input (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
+# 95 05 	#Report Count (5)
 # 75 01	#Report Size (1)
 # 05 08	#Usage Page (LEDs)
 # 19 01	#Usage Minimum (Num Lock)
 # 29 05  	#Usage Maximum (Kana)
 # 91 02 	#Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit)
-# 95 01  	#Report Count (1) 
+# 95 01  	#Report Count (1)
 # 75 03  	#Report Size (3)
-# 91 03	#Output (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 
+# 91 03	#Output (Cnst,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit)
 # 95 06 	#Report Count (6)
 # 75 08 	#Report Size (8)
 # 15 00 	#Logical Minimum (0)
@@ -77,104 +77,104 @@
 # 19 00	#Usage Minimum (Undefined)
 # 2a ff 00 	#Usage Maximum
 # 81 00	#Input (Data,Ary,Abs)
-# c0		#End Collection 						
+# c0		#End Collection
 
 mem_hidreportdesc_ms_new_config:
 64
 #75
-# 05 01  	#Usage Page (Generic Desktop) 
-# 09 02  	#Usage (Mouse) 
+# 05 01  	#Usage Page (Generic Desktop)
+# 09 02  	#Usage (Mouse)
 # a1 01  	#Collection (Application)
-# 85 01 	#Report ID (1)  
-# 09 01  	#Usage (Pointer) 
-# a1 00  	#Collection (Physical) 
-# 05 09  	#Usage Page (Button) 
+# 85 01 	#Report ID (1)
+# 09 01  	#Usage (Pointer)
+# a1 00  	#Collection (Physical)
+# 05 09  	#Usage Page (Button)
 # 19 01  	#Usage Minimum (Button 1)
-# 29 05  	#        Usage Maximum (Button 5) 
-# 15 00  	#        Logical Minimum (0) 
-# 25 01  	#        Logical Maximum (1) 
-# 95 05  	#        Report Count (5) 
-# 75 01  	#        Report Size (1) 
-# 81 02  	#        Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 
-# 95 01  	#        Report Count (1) 
-# 75 03  	#        Report Size (3) 
-# 81 01  	#        Input (Cnst,Ary,Abs) 
-# 05 01  	#        Usage Page (Generic Desktop) 
-# 09 30  	#       Usage (X) 
-# 09 31  	#        Usage (Y) 
-# 16 01 f8 	#        Logical Minimum (-2047)  
-# 26 ff 07	#        Logical Maximum (2047)   
-# 75 10  	#        Report Size (16) 
-# 95 02  	#        Report Count (2) 
-# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
-# 09 38  	#        Usage (Wheel) 
-# 15 81  	#        Logical Minimum (-127) 
-# 25 7f  	#        Logical Maximum (127) 
-# 75 08  	#        Report Size (8) 
-# 95 01  	#        Report Count (1) 
-# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
-# 05 0c  	#        Usage Page (Consumer Devices) 
-# 0a 38 02 	#        Usage (AC Pan)  
-# 95 01  	#        Report Count (1) 
-# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
-# C0  		#End Collection 
-# C0  		#End Collection 
+# 29 05  	#        Usage Maximum (Button 5)
+# 15 00  	#        Logical Minimum (0)
+# 25 01  	#        Logical Maximum (1)
+# 95 05  	#        Report Count (5)
+# 75 01  	#        Report Size (1)
+# 81 02  	#        Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
+# 95 01  	#        Report Count (1)
+# 75 03  	#        Report Size (3)
+# 81 01  	#        Input (Cnst,Ary,Abs)
+# 05 01  	#        Usage Page (Generic Desktop)
+# 09 30  	#       Usage (X)
+# 09 31  	#        Usage (Y)
+# 16 01 f8 	#        Logical Minimum (-2047)
+# 26 ff 07	#        Logical Maximum (2047)
+# 75 10  	#        Report Size (16)
+# 95 02  	#        Report Count (2)
+# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
+# 09 38  	#        Usage (Wheel)
+# 15 81  	#        Logical Minimum (-127)
+# 25 7f  	#        Logical Maximum (127)
+# 75 08  	#        Report Size (8)
+# 95 01  	#        Report Count (1)
+# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
+# 05 0c  	#        Usage Page (Consumer Devices)
+# 0a 38 02 	#        Usage (AC Pan)
+# 95 01  	#        Report Count (1)
+# 81 06  	#        Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
+# C0  		#End Collection
+# C0  		#End Collection
 #25
-05 01  	#Usage Page (Generic Desktop) 
-09 80  	#Usage (System Control) 
-a1 01  	#Collection (Application) 
-85 02  	#Report ID (2) 
-05 01	#Usage Page (Generic Desktop)   
-19 81  	#Usage Minimum (System Power Down) 
-29 88  	#Usage Maximum (System Menu Exit) 
-15 00  	#    Logical Minimum (0) 
-25 01  	#    Logical Maximum (1) 
-95 08 	#    Report Count (8)  
-75 01  	#    Report Size (1) 
-81 06  	#    Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit) 
+05 01  	#Usage Page (Generic Desktop)
+09 80  	#Usage (System Control)
+a1 01  	#Collection (Application)
+85 02  	#Report ID (2)
+05 01	#Usage Page (Generic Desktop)
+19 81  	#Usage Minimum (System Power Down)
+29 88  	#Usage Maximum (System Menu Exit)
+15 00  	#    Logical Minimum (0)
+25 01  	#    Logical Maximum (1)
+95 08 	#    Report Count (8)
+75 01  	#    Report Size (1)
+81 06  	#    Input (Data,Var,Rel,NWrp,Lin,Pref,NNul,Bit)
 c0  		#End Collection
 
 #25
-05 0c  	#Usage Page (Consumer Devices) 
-09 01  	#Usage (Consumer Control) 
-a1 01  	#Collection (Application) 
-85 03  	#    Report ID (3) 
-15 00  	#    Logical Minimum (0) 
-26 80 03 	#    Logical Maximum (896)  
-19 00  	#    Usage Minimum (Undefined) 
-2a 80 03	#    Usage Maximum   
-75 10	#    Report Size (16)   
-95 01 	#    Report Count (1)  
-81 00	#    Input (Data,Ary,Abs)   
+05 0c  	#Usage Page (Consumer Devices)
+09 01  	#Usage (Consumer Control)
+a1 01  	#Collection (Application)
+85 03  	#    Report ID (3)
+15 00  	#    Logical Minimum (0)
+26 80 03 	#    Logical Maximum (896)
+19 00  	#    Usage Minimum (Undefined)
+2a 80 03	#    Usage Maximum
+75 10	#    Report Size (16)
+95 01 	#    Report Count (1)
+81 00	#    Input (Data,Ary,Abs)
 c0  		#End Collection
 
-#25																			     
-05 01       #Usage Page (Generic Desktop)																     
-09 06       #Usage (Keyboard)																						     
-A1 01       #Collection (Application)																		     
-85 04       #    Report ID (5)																						   															     
-95 38       #    Report Count (56)																				   
-75 01       #    Report Size (1)																					   
-15 00       #    Logical Minimum (0)																			   
-25 01       #    Logical Maximum (1)																			   
-05 07       #    Usage Page (Keyboard/Keypad)														     
-19 00       #    Usage Minimum (Undefined)																   
-29 37       #    Usage Maximum																						   
-81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)							   
-C0          #End Collection	
-#25																					     
-05 01       #Usage Page (Generic Desktop)																     
-09 05       #Usage (Keyboard)																						     
-A1 01       #Collection (Application)																		     
-85 06       #    Report ID (6)																						   
-95 38       #    Report Count (56)																				   
-75 01       #    Report Size (1)																					   
-15 00       #    Logical Minimum (0)																			   
-25 01       #    Logical Maximum (1)																			   
-05 07       #    Usage Page (Keyboard/Keypad)														     
-19 38       #    Usage Minimum (Keyboard ] and })									     
+#25
+05 01       #Usage Page (Generic Desktop)
+09 06       #Usage (Keyboard)
+A1 01       #Collection (Application)
+85 04       #    Report ID (5)
+95 38       #    Report Count (56)
+75 01       #    Report Size (1)
+15 00       #    Logical Minimum (0)
+25 01       #    Logical Maximum (1)
+05 07       #    Usage Page (Keyboard/Keypad)
+19 00       #    Usage Minimum (Undefined)
+29 37       #    Usage Maximum
+81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
+C0          #End Collection
+#25
+05 01       #Usage Page (Generic Desktop)
+09 06       #Usage (Keyboard)
+A1 01       #Collection (Application)
+85 05       #    Report ID (6)
+95 38       #    Report Count (56)
+75 01       #    Report Size (1)
+15 00       #    Logical Minimum (0)
+25 01       #    Logical Maximum (1)
+05 07       #    Usage Page (Keyboard/Keypad)
+19 38       #    Usage Minimum (Keyboard ] and })
 29 6f       #    Usage Maximum (Keypad =)
-81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)				   
+81 02       #    Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit)
 C0          #End Collection
 
 
@@ -229,14 +229,14 @@
 #09		#Size of this descriptor in bytes.
 #02		#Configuration (assigned by USB).
 #5b 00 	#Total length of data returned for this configuration
-#03		#Number of interfaces supported by this configuration  
+#03		#Number of interfaces supported by this configuration
 #01		#bConfigurationValue
 #00		#iConfiguration
 #a0		#bmAttributes
-#32		#MaxPower (in 2mA units) 
-# 
+#32		#MaxPower (in 2mA units)
+#
 # #interface_descriptor hid_interface_descriptor--keyboard
-# 
+#
 #09		# bLength
 #04		# bDescriptorType
 #00		#  bInterfaceNumber
@@ -246,9 +246,9 @@
 #01		#  bInterfaceSubClass
 #01		#  bInterfaceProcotol ; 1=keyboard
 #00		#  iInterface
-# 
+#
 # #class_descriptor hid_descriptor--keyboard
-# 
+#
 #09		#  bLength
 #21		#   bDescriptorType
 #00 02	#  bcdHID
@@ -257,85 +257,85 @@
 #22		# bDescriptorType
 #1a 00 	#  wItemLength (tot. len. of report confdesc)
 #
-# #IN endpoint (mandatory for HID)--keyboard 
-# 
+# #IN endpoint (mandatory for HID)--keyboard
+#
 #07		#bLength
 #05		#bDescriptorType
 #81		#bEndpointAddress
 #03		#bmAttributes
 #40 00	#MaxPacketSize (LITTLE ENDIAN)
-#02		#bInterval 
-# 
+#02		#bInterval
+#
 # #interface_descriptor hid_interface_descriptor--mouse
-# 
-#09		#bLength 
-#04		#bDescriptorType   
-#01		#bInterfaceNumber  
+#
+#09		#bLength
+#04		#bDescriptorType
+#01		#bInterfaceNumber
 #00		#bAlternateSetting
-#01		#bNumEndpoints  
-#03		#bInterfaceClass (3 = HID)   
-#01		#bInterfaceSubClass  
-#02		#bInterfaceProcotol ; 2=mouse  
-#00		#iInterface 
-# 
-# #class_descriptor hid_descriptor--mouse 
-# 
-#09		#bLength   
-#21		#bDescriptorType  
-#00 02	#bcdHID 
-#00		#bCountryCode  
-#01		#bNumDescriptors  
+#01		#bNumEndpoints
+#03		#bInterfaceClass (3 = HID)
+#01		#bInterfaceSubClass
+#02		#bInterfaceProcotol ; 2=mouse
+#00		#iInterface
+#
+# #class_descriptor hid_descriptor--mouse
+#
+#09		#bLength
+#21		#bDescriptorType
+#00 02	#bcdHID
+#00		#bCountryCode
+#01		#bNumDescriptors
 #22		#bDescriptorType
 #a3 00	#wItemLength (tot. len. of report confdesc)
-# 
+#
 # #endpoint_descriptor hid_endpoint_in_descriptor--mouse
-# 
-#07		#bLength  
-#05		#bDescriptorType  
-#82		#bEndpointAddress  
-#03		# bmAttributes  
-#40 00	#MaxPacketSize (LITTLE  ENDIAN)  
+#
+#07		#bLength
+#05		#bDescriptorType
+#82		#bEndpointAddress
+#03		# bmAttributes
+#40 00	#MaxPacketSize (LITTLE  ENDIAN)
 #02		#bInterval
 #
 #
 ##interface_descriptor hid_interface_descriptor
 #
-#09		#bLength 
-#04		#bDescriptorType   
-#02		#bInterfaceNumber  
+#09		#bLength
+#04		#bDescriptorType
+#02		#bInterfaceNumber
 #00		#bAlternateSetting
 #02		#bNumEndpoints
-#03		#bInterfaceClass (3 = HID)   
-#00		#bInterfaceSubClass  
+#03		#bInterfaceClass (3 = HID)
+#00		#bInterfaceSubClass
 #00		#bInterfaceProcotol
-#00		#iInterface 
-# 
-##class_descriptor hid_descriptor 
-#
-#09		#bLength   
-#21		#bDescriptorType  
-#00 02	#bcdHID 
-#00		#bCountryCode  
-#01		#bNumDescriptors  
+#00		#iInterface
+#
+##class_descriptor hid_descriptor
+#
+#09		#bLength
+#21		#bDescriptorType
+#00 02	#bcdHID
+#00		#bCountryCode
+#01		#bNumDescriptors
 #22		#bDescriptorType
 #1b 00	#wItemLength (tot. len. of report confdesc)
-# 
+#
 ##endpoint_descriptor hid_endpoint_in_descriptor
 #
-#07		#bLength  
-#05		#bDescriptorType  
-#83		#bEndpointAddress  
-#03		# bmAttributes  
-#40 00	#MaxPacketSize (LITTLE ENDIAN) 
+#07		#bLength
+#05		#bDescriptorType
+#83		#bEndpointAddress
+#03		# bmAttributes
+#40 00	#MaxPacketSize (LITTLE ENDIAN)
 #02		#bInterval
 #
 ##endpoint_descriptor hid_endpoint_out_descriptor
 #
-#07		#bLength  
-#05		#bDescriptorType  
-#03		#bEndpointAddress  
-#03		# bmAttributes  
-#40 00	#MaxPacketSize (LITTLE ENDIAN) 
+#07		#bLength
+#05		#bDescriptorType
+#03		#bEndpointAddress
+#03		# bmAttributes
+#40 00	#MaxPacketSize (LITTLE ENDIAN)
 #02		#bInterval
 
 
