Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb/output/eeprom.dat	(revision 4071)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-1a
+2a
 1b
 c2
 84
@@ -67,7 +67,7 @@
 c0
 68
 05
-b7
+b9
 c0
 69
 03
@@ -135,11 +135,11 @@
 c0
 47
 05
-fa
+fc
 c0
 49
 86
-0b
+0d
 c0
 53
 05
@@ -711,7 +711,7 @@
 20
 40
 06
-17
+19
 20
 40
 47
@@ -3883,7 +3883,7 @@
 20
 40
 05
-e7
+e9
 20
 40
 3e
@@ -4099,15 +4099,15 @@
 20
 40
 06
-59
+5b
 20
 40
 06
-95
+97
 20
 40
 06
-87
+89
 20
 60
 00
@@ -4219,7 +4219,7 @@
 20
 40
 05
-ea
+ec
 68
 48
 c9
@@ -5727,7 +5727,7 @@
 20
 40
 05
-b4
+b6
 6f
 e0
 c8
@@ -5818,6 +5818,14 @@
 b9
 6f
 e0
+cc
+af
+24
+7a
+00
+00
+6f
+e0
 c9
 2c
 c1
@@ -5831,7 +5839,7 @@
 20
 40
 06
-11
+13
 20
 40
 47
@@ -5839,7 +5847,7 @@
 20
 40
 06
-14
+16
 20
 60
 00
@@ -5847,11 +5855,11 @@
 20
 40
 05
-b7
+b9
 20
 40
 05
-ed
+ef
 20
 20
 41
@@ -5871,15 +5879,15 @@
 20
 40
 05
-be
+c0
 20
 40
 05
-cd
+cf
 20
 40
 05
-da
+dc
 20
 20
 41
@@ -5891,7 +5899,7 @@
 20
 40
 05
-e7
+e9
 20
 40
 41
@@ -5911,7 +5919,7 @@
 20
 40
 05
-e7
+e9
 20
 40
 41
@@ -5931,7 +5939,7 @@
 20
 40
 05
-e7
+e9
 20
 40
 41
@@ -5975,7 +5983,7 @@
 c0
 7f
 85
-d6
+d8
 20
 20
 41
@@ -5987,7 +5995,7 @@
 20
 40
 05
-ea
+ec
 68
 48
 c9
@@ -6027,7 +6035,7 @@
 c0
 7f
 85
-e3
+e5
 20
 20
 41
@@ -6039,7 +6047,7 @@
 20
 40
 05
-ea
+ec
 68
 48
 c9
@@ -6091,11 +6099,11 @@
 20
 40
 05
-f4
+f6
 20
 40
 05
-f7
+f9
 20
 20
 41
@@ -6138,8 +6146,8 @@
 80
 c0
 00
-05
-ff
+06
+01
 20
 20
 7a
@@ -6167,7 +6175,7 @@
 c0
 00
 86
-06
+08
 20
 20
 7a
@@ -6179,7 +6187,7 @@
 c0
 04
 86
-09
+0b
 20
 20
 7a
@@ -6259,15 +6267,15 @@
 20
 40
 06
-24
+26
 20
 40
 06
-4c
+4e
 20
 40
 06
-29
+2b
 6f
 e0
 cc
@@ -6319,7 +6327,7 @@
 20
 40
 06
-2d
+2f
 6f
 e0
 c9
@@ -6367,7 +6375,7 @@
 24
 41
 06
-41
+43
 1f
 e2
 24
@@ -6455,7 +6463,7 @@
 20
 40
 06
-44
+46
 6f
 e4
 4b
@@ -6463,15 +6471,15 @@
 c2
 8e
 86
-53
+55
 c2
 8f
 06
-55
+57
 c2
 8f
 86
-57
+59
 70
 49
 2e
@@ -6515,7 +6523,7 @@
 20
 40
 06
-5f
+61
 6f
 e0
 c9
@@ -6539,11 +6547,11 @@
 24
 20
 86
-63
+65
 20
 20
 06
-70
+72
 6f
 e0
 c9
@@ -6635,7 +6643,7 @@
 20
 40
 06
-47
+49
 20
 40
 48
@@ -6655,7 +6663,7 @@
 58
 00
 06
-1b
+1d
 67
 e1
 0b
@@ -6703,11 +6711,11 @@
 c0
 2d
 06
-8d
+8f
 c0
 52
 86
-91
+93
 20
 60
 00
@@ -6767,7 +6775,7 @@
 20
 40
 06
-32
+34
 24
 74
 00
@@ -6780,10 +6788,18 @@
 74
 00
 00
+6f
+f0
+8c
+24
+c3
+81
+00
+00
 20
 20
 06
-9f
+a3
 6f
 f0
 8c
@@ -6799,7 +6815,7 @@
 c3
 0a
 86
-a5
+a9
 6f
 e0
 cb
@@ -6807,7 +6823,7 @@
 c0
 00
 86
-ab
+af
 20
 40
 37
@@ -6839,7 +6855,7 @@
 20
 3a
 06
-b6
+ba
 6f
 e4
 4b
@@ -6855,11 +6871,11 @@
 c0
 01
 86
-b8
+bc
 c0
 01
 06
-bf
+c3
 20
 40
 37
@@ -6883,7 +6899,7 @@
 20
 20
 06
-ae
+b2
 20
 40
 37
@@ -6940,8 +6956,8 @@
 60
 00
 00
-cc
-f0
+3b
+96
 aa
 55
 40
@@ -7084,7 +7100,7 @@
 04
 29
 46
-42
+82
 00
 22
 02
@@ -8339,10 +8355,10 @@
 aa
 aa
 55
-d2
-9f
+12
+a0
+62
 95
-4a
 ff
 1e
 f0
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb/output/program.lis	(revision 4071)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb/output/program.lis	(working copy)
@@ -15,7 +15,7 @@
 000c c066858d beq patch19_5 ,p_mouse_motion 
 000d c0670420 beq patch19_6 ,p_mouse_dpi_process 
 000e c0678429 beq patch19_7 ,p_mouse_seting_dpi 
-000f c06805b7 beq patch1a_0 ,p_mouse_check_key_gpio 
+000f c06805b9 beq patch1a_0 ,p_mouse_check_key_gpio 
 0010 c0690390 beq patch1a_2 ,p_mouse_init_sunt 
 0011 c06983a5 beq patch1a_3 ,p_mouse_sensor_poweron 
 0012 c06a843c beq patch1a_5 ,p_mouse_priority_bb_event 
@@ -34,8 +34,8 @@
 pf_patch_ext:
 001e c00f80b5 beq patch23_7 ,p_twspi_reset 
 001f c0428532 beq patch30_5 ,p_ui_timer_check 
-0020 c04705fa beq patch31_6 ,p_usb_class_type 
-0021 c049860b beq patch32_3 ,p_usb_tx 
+0020 c04705fc beq patch31_6 ,p_usb_class_type 
+0021 c049860d beq patch32_3 ,p_usb_tx 
 0022 c0530536 beq patch34_6 ,p_le_enable_phy_by_pdata 
 0023 c06e803c beq patch3b_5 ,p_g24_dispatch 
 0024 c06f01f7 beq patch3b_6 ,p_g24_receive_packet 
@@ -224,7 +224,7 @@
 00ad 204041e7 call mouse_init_sunt 
 00ae 20758000 rtn wake 
 00af 2040042a call p_mouse_seting_sensor_type 
-00b0 20400617 call p_mouse_usb_check_enable 
+00b0 20400619 call p_mouse_usb_check_enable 
 00b1 20404766 call mouse_drawing_optima_init 
 00b2 20400112 call p_mouse_cb_fuction 
 00b3 204003af call p_mouse_sensor_powerdown 
@@ -1291,7 +1291,7 @@
 03c6 6848c914 fetcht 1 ,mem_matrix_public_gpio 
 03c7 204060e6 call gpio_clr_wake 
 03c8 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-03c9 204005e7 call p_mouse_gpio_config_output_high 
+03c9 204005e9 call p_mouse_gpio_config_output_high 
 03ca 20403e80 call mouse_lpm_before_common 
 03cb 20403e72 call mouse_gpio_pu_idle 
 03cc d8400001 arg 0x01 ,temp 
@@ -1361,9 +1361,9 @@
 03fc 20400406 call p_mouse_check_select_device_by_switch 
 03fd 20404714 call mouse_bt_button_check 
 03fe 20403fc8 call mouse_wheel_check 
-03ff 20400659 call p_mouse_usb_isr 
-0400 20400695 call p_mouse_usb_mode 
-0401 20400687 call p_mouse_usb_mode_flag_check 
+03ff 2040065b call p_mouse_usb_isr 
+0400 20400697 call p_mouse_usb_mode 
+0401 20400689 call p_mouse_usb_mode_flag_check 
 0402 20600000 rtn 
 
 p_mouse_select_device_check:
@@ -1403,7 +1403,7 @@
 
 p_mouse_3io6key_dpi_check:
 041c 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-041d 204005ea call p_mouse_gpio_config_output_low 
+041d 204005ec call p_mouse_gpio_config_output_low 
 041e 6848c913 fetcht 1 ,mem_dpi_button_gpio 
 041f 202041d5 branch mouse_3io6key_check 
 
@@ -1908,7 +1908,7 @@
 0593 2040042a call p_mouse_seting_sensor_type 
 0594 20403fbe call mouse_zwheel 
 0595 20403fc3 call mouse_t_zwheel 
-0596 204005b4 call p_mouse_key 
+0596 204005b6 call p_mouse_key 
 0597 6fe0c8d4 fetch 1 ,mem_mouse_key 
 0598 1fe17e1f and_into 0x1f ,pdata 
 0599 67e0c8d4 store 1 ,mem_mouse_key 
@@ -1939,391 +1939,395 @@
 05ac 202042b9 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-05ad 6fe0c92c fetch 1 ,mem_config_sensor_type 
-05ae c1018000 rtneq p3212 
-05af c1058000 rtneq ka8g2 
-05b0 20400611 call p_usb_store_mem 
-05b1 20404758 call mouse_drawing_optima 
-05b2 20400614 call p_usb_get_mem 
-05b3 20600000 rtn 
+05ad 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+05ae 247a0000 nrtn blank 
+05af 6fe0c92c fetch 1 ,mem_config_sensor_type 
+05b0 c1018000 rtneq p3212 
+05b1 c1058000 rtneq ka8g2 
+05b2 20400613 call p_usb_store_mem 
+05b3 20404758 call mouse_drawing_optima 
+05b4 20400616 call p_usb_get_mem 
+05b5 20600000 rtn 
 
 p_mouse_key:
-05b4 204005b7 call p_mouse_check_key_gpio 
-05b5 204005ed call p_mouse_ghost_key_check 
-05b6 2020411e branch mouse_key + 2 
+05b6 204005b9 call p_mouse_check_key_gpio 
+05b7 204005ef call p_mouse_ghost_key_check 
+05b8 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-05b7 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-05b8 245a4161 ncall mouse_check_key_gpio_once ,blank 
-05b9 da200000 arg 0 ,rega 
-05ba 204005be call p_mouse_check_lkey_gpio 
-05bb 204005cd call p_mouse_check_bkkey_gpio 
-05bc 204005da call p_mouse_check_fwkey_gpio 
-05bd 2020415e branch mouse_check_key_gpio_next 
+05b9 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+05ba 245a4161 ncall mouse_check_key_gpio_once ,blank 
+05bb da200000 arg 0 ,rega 
+05bc 204005c0 call p_mouse_check_lkey_gpio 
+05bd 204005cf call p_mouse_check_bkkey_gpio 
+05be 204005dc call p_mouse_check_fwkey_gpio 
+05bf 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-05be 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-05bf 204005e7 call p_mouse_gpio_config_output_high 
-05c0 20404164 call mouse_check_lkey_gpio 
-05c1 6848c91c fetcht 1 ,mem_lbutton_gpio 
-05c2 20403f96 call mouse_gpio_config_input_pu 
+05c0 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+05c1 204005e9 call p_mouse_gpio_config_output_high 
+05c2 20404164 call mouse_check_lkey_gpio 
+05c3 6848c91c fetcht 1 ,mem_lbutton_gpio 
+05c4 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-05c3 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-05c4 204005e7 call p_mouse_gpio_config_output_high 
-05c5 2040416a call mouse_check_rkey_gpio 
-05c6 6848c91d fetcht 1 ,mem_rbutton_gpio 
-05c7 20403f96 call mouse_gpio_config_input_pu 
+05c5 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+05c6 204005e9 call p_mouse_gpio_config_output_high 
+05c7 2040416a call mouse_check_rkey_gpio 
+05c8 6848c91d fetcht 1 ,mem_rbutton_gpio 
+05c9 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-05c8 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-05c9 204005e7 call p_mouse_gpio_config_output_high 
-05ca 20404170 call mouse_check_mkey_gpio 
-05cb 6848c91e fetcht 1 ,mem_mbutton_gpio 
-05cc 20203f96 branch mouse_gpio_config_input_pu 
+05ca 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+05cb 204005e9 call p_mouse_gpio_config_output_high 
+05cc 20404170 call mouse_check_mkey_gpio 
+05cd 6848c91e fetcht 1 ,mem_mbutton_gpio 
+05ce 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-05cd 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-05ce c17f8000 rtneq gpio_disable 
-05cf 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-05d0 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-05d1 1fe22600 copy pdata ,regc 
-05d2 6848c911 fetcht 1 ,mem_bk_button_gpio 
-05d3 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-05d4 c07f85d6 beq gpio_disable ,p_mouse_3io6key_bk_check 
-05d5 2020417e branch mouse_check_bkkey_gpio_next 
+05cf 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+05d0 c17f8000 rtneq gpio_disable 
+05d1 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+05d2 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+05d3 1fe22600 copy pdata ,regc 
+05d4 6848c911 fetcht 1 ,mem_bk_button_gpio 
+05d5 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+05d6 c07f85d8 beq gpio_disable ,p_mouse_3io6key_bk_check 
+05d7 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-05d6 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-05d7 204005ea call p_mouse_gpio_config_output_low 
-05d8 6848c911 fetcht 1 ,mem_bk_button_gpio 
-05d9 2020418b branch mouse_3io6key_bk_check 
+05d8 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+05d9 204005ec call p_mouse_gpio_config_output_low 
+05da 6848c911 fetcht 1 ,mem_bk_button_gpio 
+05db 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-05da 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-05db c17f8000 rtneq gpio_disable 
-05dc 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-05dd 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-05de 1fe22600 copy pdata ,regc 
-05df 6848c912 fetcht 1 ,mem_fw_button_gpio 
-05e0 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-05e1 c07f85e3 beq gpio_disable ,p_mouse_3io6key_fw_check 
-05e2 20204197 branch mouse_check_fwkey_gpio_next 
+05dc 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+05dd c17f8000 rtneq gpio_disable 
+05de 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+05df 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+05e0 1fe22600 copy pdata ,regc 
+05e1 6848c912 fetcht 1 ,mem_fw_button_gpio 
+05e2 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+05e3 c07f85e5 beq gpio_disable ,p_mouse_3io6key_fw_check 
+05e4 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-05e3 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-05e4 204005ea call p_mouse_gpio_config_output_low 
-05e5 6848c912 fetcht 1 ,mem_fw_button_gpio 
-05e6 202041a4 branch mouse_3io6key_fw_check 
+05e5 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+05e6 204005ec call p_mouse_gpio_config_output_low 
+05e7 6848c912 fetcht 1 ,mem_fw_button_gpio 
+05e8 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-05e7 c17f8000 rtneq gpio_disable 
-05e8 d840003f arg gpcfg_output_high ,temp 
-05e9 2020612c branch gpio_config_function_int 
+05e9 c17f8000 rtneq gpio_disable 
+05ea d840003f arg gpcfg_output_high ,temp 
+05eb 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-05ea c17f8000 rtneq gpio_disable 
-05eb d840003e arg gpcfg_output_low ,temp 
-05ec 2020612c branch gpio_config_function_int 
+05ec c17f8000 rtneq gpio_disable 
+05ed d840003e arg gpcfg_output_low ,temp 
+05ee 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-05ed 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-05ee 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-05ef 704bab00 jam 0 ,mem_mouse_ghost_flag 
-05f0 1fe20400 copy pdata ,temp 
-05f1 204005f4 call p_mouse_ghost_key_check_l_fw 
-05f2 204005f7 call p_mouse_ghost_key_check_r_bk 
-05f3 20204133 branch mouse_ghost_key_check + 6 
+05ef 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+05f0 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+05f1 704bab00 jam 0 ,mem_mouse_ghost_flag 
+05f2 1fe20400 copy pdata ,temp 
+05f3 204005f6 call p_mouse_ghost_key_check_l_fw 
+05f4 204005f9 call p_mouse_ghost_key_check_r_bk 
+05f5 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-05f4 18417e11 and temp ,mouse_l_fw_button ,pdata 
-05f5 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-05f6 20600000 rtn 
+05f6 18417e11 and temp ,mouse_l_fw_button ,pdata 
+05f7 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+05f8 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-05f7 18417e0a and temp ,mouse_r_bk_button ,pdata 
-05f8 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-05f9 20600000 rtn 
+05f9 18417e0a and temp ,mouse_r_bk_button ,pdata 
+05fa c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+05fb 20600000 rtn 
 
 p_usb_class_type:
-05fa 793f8023 set0 mark_isstr ,mark 
-05fb 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-05fc 1fe17e80 and_into 0x80 ,pdata 
-05fd c00005ff beq out_device ,p_usb_out_device 
-05fe 20207aa1 branch usb_class_type + 4 
+05fc 793f8023 set0 mark_isstr ,mark 
+05fd 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+05fe 1fe17e80 and_into 0x80 ,pdata 
+05ff c0000601 beq out_device ,p_usb_out_device 
+0600 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-05ff 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-0600 1ff1fe00 rshift4 pdata ,pdata 
-0601 1fe37e00 rshift pdata ,pdata 
-0602 1fe17e03 and_into 0x03 ,pdata 
-0603 c0007ac4 beq standard_req ,usb_out_standard_req 
-0604 c0008606 beq class_req ,p_usb_out_class_req 
-0605 20207ab4 branch usb_out_device + 4 
+0601 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+0602 1ff1fe00 rshift4 pdata ,pdata 
+0603 1fe37e00 rshift pdata ,pdata 
+0604 1fe17e03 and_into 0x03 ,pdata 
+0605 c0007ac4 beq standard_req ,usb_out_standard_req 
+0606 c0008608 beq class_req ,p_usb_out_class_req 
+0607 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-0606 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-0607 c0048609 beq set_report ,p_usb_set_report 
-0608 20207acd branch usb_out_class_req + 1 
+0608 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0609 c004860b beq set_report ,p_usb_set_report 
+060a 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-0609 20003a98 nop 15000 
-060a 20207c4a branch usb_set_report 
+060b 20003a98 nop 15000 
+060c 20207c4a branch usb_set_report 
 
 p_usb_tx:
-060b 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-060c 207a0000 rtn blank 
-060d 6ff08c24 fetch 1 ,core_usb_txbusy 
-060e 1fe17e0f and_into 0x0f ,pdata 
-060f 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-0610 20207ccc branch usb_tx + 3 
+060d 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+060e 207a0000 rtn blank 
+060f 6ff08c24 fetch 1 ,core_usb_txbusy 
+0610 1fe17e0f and_into 0x0f ,pdata 
+0611 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+0612 20207ccc branch usb_tx + 3 
 
 p_usb_store_mem:
-0611 d8c009f6 arg mem_usb_status ,contr 
-0612 d8a00c4b arg mem_usb_mem_temp ,contw 
-0613 20207d7f branch memcpy16 
+0613 d8c009f6 arg mem_usb_status ,contr 
+0614 d8a00c4b arg mem_usb_mem_temp ,contw 
+0615 20207d7f branch memcpy16 
 
 p_usb_get_mem:
-0614 d8a009f6 arg mem_usb_status ,contw 
-0615 d8c00c4b arg mem_usb_mem_temp ,contr 
-0616 20207d7f branch memcpy16 
+0616 d8a009f6 arg mem_usb_status ,contw 
+0617 d8c00c4b arg mem_usb_mem_temp ,contr 
+0618 20207d7f branch memcpy16 
 
 p_mouse_usb_check_enable:
-0617 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0618 c4068000 rtnbit0 mouse_enable_usb 
-0619 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-061a 20600000 rtn 
+0619 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+061a c4068000 rtnbit0 mouse_enable_usb 
+061b 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+061c 20600000 rtn 
 
 p_mouse_usb_config_param:
-061b 20400624 call p_mouse_usb_config_kb_check 
-061c 2040064c call p_mouse_usb_report_rate_set 
-061d 20400629 call p_mouse_usb_config_param_setup 
+061d 20400626 call p_mouse_usb_config_kb_check 
+061e 2040064e call p_mouse_usb_report_rate_set 
+061f 2040062b call p_mouse_usb_config_param_setup 
 
 p_mouse_usb_device_name_config:
-061e 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
-061f 207a0000 rtn blank 
-0620 d8c04c91 arg mem_usb_device_name_retention ,contr 
-0621 d8a00b09 arg mem_string2 ,contw 
-0622 df20001e arg 30 ,loopcnt 
-0623 20207dd4 branch memcpy 
+0620 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
+0621 207a0000 rtn blank 
+0622 d8c04c91 arg mem_usb_device_name_retention ,contr 
+0623 d8a00b09 arg mem_string2 ,contw 
+0624 df20001e arg 30 ,loopcnt 
+0625 20207dd4 branch memcpy 
 
 p_mouse_usb_config_kb_check:
-0624 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
-0625 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0626 c40a8000 rtnbit0 mouse_enable_keyboard 
-0627 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
-0628 20600000 rtn 
+0626 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
+0627 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0628 c40a8000 rtnbit0 mouse_enable_keyboard 
+0629 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
+062a 20600000 rtn 
 
 p_mouse_usb_config_param_setup:
-0629 20407a5b call usb_tx_interval_config 
-062a 2040062d call p_mouse_usb_vid_pid_config 
+062b 20407a5b call usb_tx_interval_config 
+062c 2040062f call p_mouse_usb_vid_pid_config 
 
 p_mouse_usb_hid_icon_config:
-062b 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-062c 202036ee branch dongle_usb_hid_icon_config + 1 
+062d 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+062e 202036ee branch dongle_usb_hid_icon_config + 1 
 
 p_mouse_usb_vid_pid_config:
-062d 6fe08b48 fetch 1 ,mem_usb_vid_pid 
-062e 207a0000 rtn blank 
-062f 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-0630 c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
-0631 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
+062f 6fe08b48 fetch 1 ,mem_usb_vid_pid 
+0630 207a0000 rtn blank 
+0631 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+0632 c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+0633 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
 
 p_usb_timer_check:
-0632 20407ec7 call disable_user 
-0633 684a4ace fetcht 4 ,mem_btclk_sensor 
-0634 1c427e00 copy clkn_bt ,pdata 
-0635 98467c00 isub temp ,null 
-0636 24410641 ncall p_usb_timer_timeout ,positive 
-0637 1fe22400 copy pdata ,regb 
-0638 6fe24ace fetch 4 ,mem_btclk_sensor 
-0639 6848c92e fetcht 1 ,mem_wire_usb_interval 
-063a 98408400 iadd temp ,temp 
-063b 1a427e00 copy regb ,pdata 
-063c 98467c00 isub temp ,null 
-063d 24610000 nrtn positive 
-063e 793ffe1c set0 28 ,pdata 
-063f 67e24ace store 4 ,mem_btclk_sensor 
-0640 20207ec5 branch enable_user 
+0634 20407ec7 call disable_user 
+0635 684a4ace fetcht 4 ,mem_btclk_sensor 
+0636 1c427e00 copy clkn_bt ,pdata 
+0637 98467c00 isub temp ,null 
+0638 24410643 ncall p_usb_timer_timeout ,positive 
+0639 1fe22400 copy pdata ,regb 
+063a 6fe24ace fetch 4 ,mem_btclk_sensor 
+063b 6848c92e fetcht 1 ,mem_wire_usb_interval 
+063c 98408400 iadd temp ,temp 
+063d 1a427e00 copy regb ,pdata 
+063e 98467c00 isub temp ,null 
+063f 24610000 nrtn positive 
+0640 793ffe1c set0 28 ,pdata 
+0641 67e24ace store 4 ,mem_btclk_sensor 
+0642 20207ec5 branch enable_user 
 
 p_usb_timer_timeout:
-0641 20628000 rtn zero 
-0642 79207e1c set1 28 ,pdata 
-0643 20600000 rtn 
+0643 20628000 rtn zero 
+0644 79207e1c set1 28 ,pdata 
+0645 20600000 rtn 
 
 p_usb_timer_init:
-0644 58000000 setarg 0 
-0645 67e24ace store 4 ,mem_btclk_sensor 
-0646 20600000 rtn 
+0646 58000000 setarg 0 
+0647 67e24ace store 4 ,mem_btclk_sensor 
+0648 20600000 rtn 
 
 p_select_system_clk_24m_dpll:
-0647 7041f018 jam system_clk_24m ,mem_system_clk 
-0648 70804201 jam clksel_dpll_24m ,core_clksel 
-0649 5800176f setarg 5999 
-064a 67f10040 store 2 ,core_halfslot 
-064b 20206312 branch calc_new_param 
+0649 7041f018 jam system_clk_24m ,mem_system_clk 
+064a 70804201 jam clksel_dpll_24m ,core_clksel 
+064b 5800176f setarg 5999 
+064c 67f10040 store 2 ,core_halfslot 
+064d 20206312 branch calc_new_param 
 
 p_mouse_usb_report_rate_set:
-064c 20400644 call p_usb_timer_init 
-064d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-064e c28e8653 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
-064f c28f0655 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
-0650 c28f8657 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
+064e 20400646 call p_usb_timer_init 
+064f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0650 c28e8655 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
+0651 c28f0657 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
+0652 c28f8659 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
 
 p_usb_report_rate_set_125hz:
-0651 70492e20 jam 32 ,mem_wire_usb_interval 
-0652 20600000 rtn 
+0653 70492e20 jam 32 ,mem_wire_usb_interval 
+0654 20600000 rtn 
 
 p_usb_report_rate_set_250hz:
-0653 70492e10 jam 16 ,mem_wire_usb_interval 
-0654 20600000 rtn 
+0655 70492e10 jam 16 ,mem_wire_usb_interval 
+0656 20600000 rtn 
 
 p_usb_report_rate_set_500hz:
-0655 70492e08 jam 8 ,mem_wire_usb_interval 
-0656 20600000 rtn 
+0657 70492e08 jam 8 ,mem_wire_usb_interval 
+0658 20600000 rtn 
 
 p_usb_report_rate_set_1000hz:
-0657 70492e04 jam 4 ,mem_wire_usb_interval 
-0658 20600000 rtn 
+0659 70492e04 jam 4 ,mem_wire_usb_interval 
+065a 20600000 rtn 
 
 p_mouse_usb_isr:
-0659 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-065a c4068000 rtnbit0 mouse_enable_usb 
-065b 2040065f call p_mouse_usb_interface_check 
-065c 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-065d c1ad0000 rtnne mouse_usb_interface_insert 
-065e 202079fc branch usb_isr 
+065b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+065c c4068000 rtnbit0 mouse_enable_usb 
+065d 20400661 call p_mouse_usb_interface_check 
+065e 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+065f c1ad0000 rtnne mouse_usb_interface_insert 
+0660 202079fc branch usb_isr 
 
 p_mouse_usb_interface_check:
-065f 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
-0660 204060fd call gpio_get_bit 
-0661 24208663 nbranch p_mouse_usb_gpio_low ,true 
-0662 20200670 branch p_mouse_usb_gpio_high 
+0661 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+0662 204060fd call gpio_get_bit 
+0663 24208665 nbranch p_mouse_usb_gpio_low ,true 
+0664 20200672 branch p_mouse_usb_gpio_high 
 
 p_mouse_usb_gpio_low:
-0663 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0664 c1528000 rtneq mouse_usb_interface_remove 
-0665 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-0666 704caf00 jam 0 ,mem_usb_mode_enable 
-0667 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
-0668 7009f600 jam 0 ,mem_usb_status 
-0669 700bec00 jam 0 ,mem_usb_state 
-066a 6ff10050 fetch 2 ,core_clkoff 
-066b 79207e0a set1 clock_off_usb ,pdata 
-066c 67f10050 store 2 ,core_clkoff 
-066d 70409901 jam 1 ,mem_lpm_mode 
-066e 20406321 call select_system_clk_12m_dpll 
-066f 20200387 branch p_mouse_soft_reset 
+0665 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+0666 c1528000 rtneq mouse_usb_interface_remove 
+0667 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+0668 704caf00 jam 0 ,mem_usb_mode_enable 
+0669 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
+066a 7009f600 jam 0 ,mem_usb_status 
+066b 700bec00 jam 0 ,mem_usb_state 
+066c 6ff10050 fetch 2 ,core_clkoff 
+066d 79207e0a set1 clock_off_usb ,pdata 
+066e 67f10050 store 2 ,core_clkoff 
+066f 70409901 jam 1 ,mem_lpm_mode 
+0670 20406321 call select_system_clk_12m_dpll 
+0671 20200387 branch p_mouse_soft_reset 
 
 p_mouse_usb_gpio_high:
-0670 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0671 c12d0000 rtneq mouse_usb_interface_insert 
-0672 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
-0673 704caf01 jam 1 ,mem_usb_mode_enable 
-0674 58000000 setarg 0 
-0675 67e14887 store 2 ,mem_24g_pair_timeout 
-0676 67e1488b store 2 ,mem_24g_reconn_timeout 
-0677 20400311 call p_mouse_multi_led_blink_disable 
-0678 70409900 jam 0 ,mem_lpm_mode 
-0679 20400647 call p_select_system_clk_24m_dpll 
-067a 20404831 call mouse_24g_stop 
-067b 20400054 call p_mouse_stop_bluetooth_mode 
-067c 7855fc00 disable wake 
-067d 2040430a call mouse_init_sensor_reset 
-067e 5800061b setarg p_mouse_usb_config_param 
-067f 67e10b45 store 2 ,mem_cb_usb_config 
-0680 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
-0681 67e08b47 store 1 ,mem_usb_tx_interval 
-0682 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
-0683 d8a00b48 arg mem_usb_vid_pid ,contw 
-0684 df200009 arg 9 ,loopcnt 
-0685 20407dd4 call memcpy 
-0686 20207a08 branch usb_init 
+0672 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+0673 c12d0000 rtneq mouse_usb_interface_insert 
+0674 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
+0675 704caf01 jam 1 ,mem_usb_mode_enable 
+0676 58000000 setarg 0 
+0677 67e14887 store 2 ,mem_24g_pair_timeout 
+0678 67e1488b store 2 ,mem_24g_reconn_timeout 
+0679 20400311 call p_mouse_multi_led_blink_disable 
+067a 70409900 jam 0 ,mem_lpm_mode 
+067b 20400649 call p_select_system_clk_24m_dpll 
+067c 20404831 call mouse_24g_stop 
+067d 20400054 call p_mouse_stop_bluetooth_mode 
+067e 7855fc00 disable wake 
+067f 2040430a call mouse_init_sensor_reset 
+0680 5800061d setarg p_mouse_usb_config_param 
+0681 67e10b45 store 2 ,mem_cb_usb_config 
+0682 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
+0683 67e08b47 store 1 ,mem_usb_tx_interval 
+0684 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
+0685 d8a00b48 arg mem_usb_vid_pid ,contw 
+0686 df200009 arg 9 ,loopcnt 
+0687 20407dd4 call memcpy 
+0688 20207a08 branch usb_init 
 
 p_mouse_usb_mode_flag_check:
-0687 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0688 c4068000 rtnbit0 mouse_enable_usb 
-0689 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-068a c02d068d beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
-068b c0528691 beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
-068c 20600000 rtn 
+0689 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+068a c4068000 rtnbit0 mouse_enable_usb 
+068b 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+068c c02d068f beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
+068d c0528693 beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
+068e 20600000 rtn 
 
 p_mouse_usb_mode_flag_enable:
-068d 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-068e 207a0000 rtn blank 
-068f 704cbe01 jam 1 ,mem_mouse_pair_success 
-0690 20600000 rtn 
+068f 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0690 207a0000 rtn blank 
+0691 704cbe01 jam 1 ,mem_mouse_pair_success 
+0692 20600000 rtn 
 
 p_mouse_usb_mode_flag_disable:
-0691 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-0692 207a0000 rtn blank 
-0693 704cbe00 jam 0 ,mem_mouse_pair_success 
-0694 20600000 rtn 
+0693 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0694 207a0000 rtn blank 
+0695 704cbe00 jam 0 ,mem_mouse_pair_success 
+0696 20600000 rtn 
 
 p_mouse_usb_mode:
-0695 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0696 c4068000 rtnbit0 mouse_enable_usb 
-0697 6ff08c02 fetch 1 ,core_usb_addr 
-0698 67e0c92f store 1 ,mem_usb_addr 
-0699 c4038000 rtnbit0 7 
-069a 20400632 call p_usb_timer_check 
-069b 24740000 nrtn user 
-069c 20403fb0 call mouse_motion 
+0697 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0698 c4068000 rtnbit0 mouse_enable_usb 
+0699 6ff08c02 fetch 1 ,core_usb_addr 
+069a 67e0c92f store 1 ,mem_usb_addr 
+069b c4038000 rtnbit0 7 
+069c 20400634 call p_usb_timer_check 
 069d 24740000 nrtn user 
-069e 2020069f branch p_mouse_push_data_to_usb 
+069e 20403fb0 call mouse_motion 
+069f 24740000 nrtn user 
+06a0 6ff08c24 fetch 1 ,core_usb_txbusy 
+06a1 c3810000 rtnbit1 2 
+06a2 202006a3 branch p_mouse_push_data_to_usb 
 
 p_mouse_push_data_to_usb:
-069f 6ff08c02 fetch 1 ,core_usb_addr 
-06a0 c4038000 rtnbit0 7 
-06a1 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-06a2 c30a86a5 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
-06a3 6fe0cb9c fetch 1 ,mem_customer_key 
-06a4 c00086ab beq 1 ,p_mouse_push_keyboard_data_to_usb 
+06a3 6ff08c02 fetch 1 ,core_usb_addr 
+06a4 c4038000 rtnbit0 7 
+06a5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+06a6 c30a86a9 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
+06a7 6fe0cb9c fetch 1 ,mem_customer_key 
+06a8 c00086af beq 1 ,p_mouse_push_keyboard_data_to_usb 
 
 p_mouse_push_mouse_data_to_usb:
-06a5 2040370f call dongle_usb_tx_ms_data 
-06a6 58000001 setarg ms_report_id 
-06a7 67e08bff store 1 ,mem_usb_mouse_data 
-06a8 6fe3c8d4 fetch 7 ,mem_mouse_key 
-06a9 e7e38005 istore 7 ,contw 
-06aa 20600000 rtn 
+06a9 2040370f call dongle_usb_tx_ms_data 
+06aa 58000001 setarg ms_report_id 
+06ab 67e08bff store 1 ,mem_usb_mouse_data 
+06ac 6fe3c8d4 fetch 7 ,mem_mouse_key 
+06ad e7e38005 istore 7 ,contw 
+06ae 20600000 rtn 
 
 p_mouse_push_keyboard_data_to_usb:
-06ab 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
-06ac 203a06b6 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
-06ad 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+06af 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+06b0 203a06ba branch p_mouse_push_release_keyboard_data_to_usb ,blank 
+06b1 6fe44bde fetch 8 ,mem_customer_key_press + 1 
 
 p_mouse_push_keyboard_package_data_to_usb:
-06ae 67e4095c store 8 ,mem_pdatatemp 
-06af 6fe0cbdd fetch 1 ,mem_customer_key_press 
-06b0 c00186b8 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
-06b1 c00106bf beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
-06b2 2040371d call dongle_usb_tx_kb_data 
-06b3 6fe4095c fetch 8 ,mem_pdatatemp 
-06b4 67e40c0f store 8 ,mem_usb_kb_data 
-06b5 20600000 rtn 
+06b2 67e4095c store 8 ,mem_pdatatemp 
+06b3 6fe0cbdd fetch 1 ,mem_customer_key_press 
+06b4 c00186bc beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
+06b5 c00106c3 beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
+06b6 2040371d call dongle_usb_tx_kb_data 
+06b7 6fe4095c fetch 8 ,mem_pdatatemp 
+06b8 67e40c0f store 8 ,mem_usb_kb_data 
+06b9 20600000 rtn 
 
 p_mouse_push_release_keyboard_data_to_usb:
-06b6 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
-06b7 202006ae branch p_mouse_push_keyboard_package_data_to_usb 
+06ba 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+06bb 202006b2 branch p_mouse_push_keyboard_package_data_to_usb 
 
 p_mouse_push_multimedia_key_data_to_usb:
-06b8 20403710 call dongle_usb_tx_enable_ep2 
-06b9 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
-06ba 58000003 setarg kb_multikey_report_id 
-06bb 67e08c1f store 1 ,mem_usb_kb_multikey 
-06bc 6fe1095c fetch 2 ,mem_pdatatemp 
-06bd e7e10005 istore 2 ,contw 
-06be 20600000 rtn 
+06bc 20403710 call dongle_usb_tx_enable_ep2 
+06bd 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
+06be 58000003 setarg kb_multikey_report_id 
+06bf 67e08c1f store 1 ,mem_usb_kb_multikey 
+06c0 6fe1095c fetch 2 ,mem_pdatatemp 
+06c1 e7e10005 istore 2 ,contw 
+06c2 20600000 rtn 
 
 p_mouse_push_systemctrl_key_data_to_usb:
-06bf 20403710 call dongle_usb_tx_enable_ep2 
-06c0 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
-06c1 58000002 setarg kb_system_conctrl_report_id 
-06c2 67e08c2f store 1 ,mem_usb_kb_system 
-06c3 6fe0895c fetch 1 ,mem_pdatatemp 
-06c4 e7e08005 istore 1 ,contw 
-06c5 20600000 rtn 
+06c3 20403710 call dongle_usb_tx_enable_ep2 
+06c4 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+06c5 58000002 setarg kb_system_conctrl_report_id 
+06c6 67e08c2f store 1 ,mem_usb_kb_system 
+06c7 6fe0895c fetch 1 ,mem_pdatatemp 
+06c8 e7e08005 istore 1 ,contw 
+06c9 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb/program/patch.prog	(revision 4071)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb/program/patch.prog	(working copy)
@@ -2327,6 +2327,8 @@
 	branch mouse_p3212_sensor_motion_2
 	
 p_mouse_drawing_optima:
+	fetch 1,mem_usb_mode_enable
+	nrtn blank
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
 	rtneq KA8G2
@@ -2673,8 +2675,8 @@
 	nrtn user
 	call mouse_motion
 	nrtn user
-//	fetch 1,core_usb_txbusy
-//	rtnbit1 2
+	fetch 1,core_usb_txbusy
+	rtnbit1 2
 	branch p_mouse_push_data_to_usb
 
 p_mouse_push_data_to_usb:
Index: sched/mouse.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public_4mode_usb/sched/mouse.dat	(revision 4071)
+++ /YC1308AF/branch/mouse/mouse_public_4mode_usb/sched/mouse.dat	(working copy)
@@ -51,7 +51,7 @@
 #bit5 MOUSE_ENABLE_USB_250
 #bit6 MOUSE_ENABLE_USB_500
 #bit7 MOUSE_ENABLE_USB_1000
-42
+82
 
 #mouse flag byte5
 #bit0 MOUSE_ENABLE_POWER_ON_LED
