Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/format/app_mouse.format	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/format/app_mouse.format	(working copy)
@@ -343,6 +343,13 @@
 1 mem_mouse_multi_led_blink_count_limited
 1 mem_mouse_multi_led_on_poweron2s_flag
 1 mem_mouse_customerkey_finish
+
+0 mem_sensor_s201_dpi
+1 mem_sensor_s201_dpi_0
+1 mem_sensor_s201_dpi_1
+1 mem_sensor_s201_dpi_2
+1 mem_sensor_s201_dpi_3
+1 mem_sensor_s201_dpi_4
 )
 
 
@@ -520,7 +527,7 @@
 0X09 KA8_UL
 0X0a KA8_HD
 0X0b KA8G2
-
+0x0e S201X
 
 //SENSOR REG
 0x00 PAN_REG_PID_L
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/eeprom.dat	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-7a
+f6
 07
 c2
 84
@@ -19,15 +19,15 @@
 c0
 45
 01
-d8
+f7
 c0
 45
 80
-d5
+d6
 c0
 4f
 80
-d3
+d4
 c0
 57
 00
@@ -39,15 +39,15 @@
 c0
 61
 80
-a3
+a4
 c0
 64
 80
-e8
+e9
 c0
 65
 00
-f8
+f9
 c0
 66
 00
@@ -55,27 +55,27 @@
 c0
 67
 01
-23
+24
 c0
 68
 01
-3f
+40
 c0
 68
 80
-c2
+c3
 c0
 69
 81
-4a
+63
 c0
 6b
 01
-09
+0a
 c0
 6c
 81
-6d
+8c
 20
 20
 13
@@ -599,27 +599,31 @@
 20
 40
 00
-9a
+9b
 20
 40
 3b
 f0
 20
 40
-41
-a7
+01
+63
 20
 75
 80
 00
 20
 40
-40
-8e
+00
+9a
 20
 20
 3b
 c5
+20
+20
+01
+42
 6f
 e0
 cb
@@ -631,7 +635,7 @@
 20
 40
 01
-ae
+cd
 6f
 e0
 c9
@@ -663,7 +667,7 @@
 c0
 00
 00
-a8
+a9
 20
 40
 3d
@@ -679,7 +683,7 @@
 20
 40
 01
-ae
+cd
 6f
 e4
 4b
@@ -703,7 +707,7 @@
 20
 40
 00
-bd
+be
 1f
 e1
 7e
@@ -755,7 +759,7 @@
 c2
 00
 00
-b8
+b9
 20
 60
 00
@@ -767,7 +771,7 @@
 20
 40
 00
-c2
+c3
 d8
 40
 00
@@ -831,7 +835,7 @@
 24
 5a
 00
-d1
+d2
 1a
 22
 7e
@@ -903,7 +907,7 @@
 c0
 84
 00
-e2
+e3
 70
 8a
 08
@@ -927,7 +931,7 @@
 20
 40
 01
-db
+fa
 20
 20
 12
@@ -951,7 +955,7 @@
 c0
 7f
 80
-f1
+f2
 68
 48
 c9
@@ -991,7 +995,7 @@
 20
 40
 01
-bc
+db
 20
 20
 3e
@@ -1071,11 +1075,11 @@
 c0
 1d
 01
-0d
+0e
 c0
 1e
 01
-1b
+1c
 20
 20
 43
@@ -1095,7 +1099,7 @@
 c0
 01
 01
-14
+15
 c0
 02
 48
@@ -1115,7 +1119,7 @@
 c2
 97
 81
-18
+19
 c2
 98
 48
@@ -1127,7 +1131,7 @@
 20
 40
 00
-b4
+b5
 20
 34
 48
@@ -1151,7 +1155,7 @@
 20
 22
 81
-21
+22
 67
 e2
 48
@@ -1223,7 +1227,7 @@
 24
 34
 01
-34
+35
 20
 40
 47
@@ -1231,7 +1235,7 @@
 20
 40
 01
-37
+38
 20
 20
 45
@@ -1287,7 +1291,7 @@
 20
 40
 01
-5f
+7e
 6f
 e0
 c9
@@ -1295,7 +1299,11 @@
 c0
 02
 81
-44
+46
+c0
+07
+01
+4c
 20
 20
 40
@@ -1324,6 +1332,98 @@
 20
 40
 a0
+6f
+e0
+c9
+92
+c0
+00
+01
+50
+c0
+00
+81
+53
+c0
+01
+01
+56
+6f
+e0
+cb
+f4
+1f
+e2
+22
+00
+20
+20
+01
+5b
+6f
+e0
+cb
+f5
+1f
+e2
+22
+00
+20
+20
+01
+5b
+6f
+e0
+cb
+f6
+1f
+e2
+22
+00
+20
+20
+01
+5b
+6f
+e0
+cb
+f7
+1f
+e2
+22
+00
+58
+00
+c3
+09
+20
+40
+5b
+0c
+1a
+22
+7e
+00
+1f
+ed
+7e
+00
+1f
+e0
+fe
+23
+20
+40
+5b
+0c
+58
+00
+00
+09
+20
+20
+5b
+0c
 20
 40
 3f
@@ -1343,7 +1443,7 @@
 c0
 18
 01
-54
+6d
 c0
 18
 c2
@@ -1363,19 +1463,19 @@
 20
 20
 01
-4d
+66
 6f
 e0
 c9
 c2
 c0
 68
-c1
-da
+81
+78
 c0
 2d
 01
-58
+71
 20
 20
 41
@@ -1399,7 +1499,7 @@
 20
 20
 01
-5d
+76
 20
 40
 42
@@ -1407,7 +1507,31 @@
 20
 20
 01
+42
+58
+00
+00
+49
+20
+40
+5b
+0d
+c0
+50
+81
+7c
+20
+20
 41
+da
+70
+49
+27
+0e
+20
+60
+00
+00
 6f
 e0
 c9
@@ -1455,7 +1579,7 @@
 20
 3a
 01
-c3
+e2
 67
 e0
 cb
@@ -1491,19 +1615,19 @@
 20
 40
 01
-c0
+df
 20
 40
 01
-b3
+d2
 20
 40
 01
-83
+a2
 20
 40
 01
-78
+97
 20
 20
 44
@@ -1519,7 +1643,7 @@
 c2
 9b
 01
-7c
+9b
 20
 60
 00
@@ -1539,7 +1663,7 @@
 da
 40
 01
-81
+a0
 20
 20
 31
@@ -1567,11 +1691,11 @@
 c0
 00
 01
-89
+a8
 c0
 00
 81
-93
+b2
 20
 60
 00
@@ -1603,7 +1727,7 @@
 20
 42
 81
-91
+b0
 20
 60
 00
@@ -1615,7 +1739,7 @@
 20
 20
 01
-a5
+c4
 6f
 e0
 cb
@@ -1647,7 +1771,7 @@
 20
 3a
 01
-9f
+be
 6f
 e0
 cb
@@ -1655,7 +1779,7 @@
 20
 3a
 01
-a5
+c4
 1f
 e0
 ff
@@ -1703,7 +1827,7 @@
 24
 3a
 01
-ab
+ca
 70
 4b
 e8
@@ -1775,7 +1899,7 @@
 da
 40
 01
-bc
+db
 20
 20
 31
@@ -1803,7 +1927,7 @@
 da
 40
 01
-c3
+e2
 20
 20
 31
@@ -1859,11 +1983,11 @@
 20
 41
 01
-d2
+f1
 24
 41
 01
-d6
+f5
 20
 20
 48
@@ -1899,7 +2023,7 @@
 c0
 4f
 81
-db
+fa
 20
 20
 12
@@ -1916,8 +2040,8 @@
 20
 12
 2a
-f4
-46
+7a
+5e
 aa
 55
 40
@@ -2885,6 +3009,17 @@
 ff
 aa
 55
+05
+00
+f4
+4b
+8b
+89
+8a
+84
+88
+aa
+55
 02
 00
 8d
@@ -3097,145 +3232,10 @@
 aa
 aa
 55
-0e
-5f
-17
-3b
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+fb
+63
+58
+cf
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-06
-e8
+16
+d5
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/memmap.format	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/memmap.format	(working copy)
@@ -2220,6 +2220,12 @@
 0x4bf1 mem_mouse_multi_led_blink_count_limited
 0x4bf2 mem_mouse_multi_led_on_poweron2s_flag
 0x4bf3 mem_mouse_customerkey_finish
+0x4bf4 mem_sensor_s201_dpi
+0x4bf4 mem_sensor_s201_dpi_0
+0x4bf5 mem_sensor_s201_dpi_1
+0x4bf6 mem_sensor_s201_dpi_2
+0x4bf7 mem_sensor_s201_dpi_3
+0x4bf8 mem_sensor_s201_dpi_4
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/program.lis	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/program.lis	(working copy)
@@ -3,21 +3,21 @@
 0000 c2840013 bbit1 8 ,pf_patch_ext 
 0001 c0000016 beq patch00_0 ,p_soft_reset 
 0002 c001801a beq patch00_3 ,p_main_loop 
-0003 c04501d8 beq patch11_2 ,p_txon 
-0004 c04580d5 beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f80d3 beq patch13_7 ,p_init_param 
+0003 c04501f7 beq patch11_2 ,p_txon 
+0004 c04580d6 beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f80d4 beq patch13_7 ,p_init_param 
 0006 c0570093 beq patch15_6 ,p_app_init 
 0007 c0580087 beq patch16_0 ,p_app_evt_100ms_loop 
-0008 c06180a3 beq patch18_3 ,p_mouse_start_work 
-0009 c06480e8 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c06500f8 beq patch19_2 ,p_mouse_lpm_before_common 
+0008 c06180a4 beq patch18_3 ,p_mouse_start_work 
+0009 c06480e9 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000a c06500f9 beq patch19_2 ,p_mouse_lpm_before_common 
 000b c0660053 beq patch19_4 ,p_mouse_adc_read_start 
-000c c0670123 beq patch19_6 ,p_mouse_motion 
-000d c068013f beq patch1a_0 ,p_mouse_seting_dpi 
-000e c06880c2 beq patch1a_1 ,p_mouse_check_key_gpio 
-000f c069814a beq patch1a_3 ,p_mouse_init_sunt 
-0010 c06b0109 beq patch1a_6 ,p_mouse_priority_bb_event 
-0011 c06c816d beq patch1b_1 ,p_mouse_bb_event_timer 
+000c c0670124 beq patch19_6 ,p_mouse_motion 
+000d c0680140 beq patch1a_0 ,p_mouse_seting_dpi 
+000e c06880c3 beq patch1a_1 ,p_mouse_check_key_gpio 
+000f c0698163 beq patch1a_3 ,p_mouse_init_sunt 
+0010 c06b010a beq patch1a_6 ,p_mouse_priority_bb_event 
+0011 c06c818c beq patch1b_1 ,p_mouse_bb_event_timer 
 0012 2020137c branch loop 
 
 pf_patch_ext:
@@ -182,454 +182,503 @@
 
 p_mouse_init:
 0093 20406df3 call enable_authrom 
-0094 2040009a call p_mouse_wheel_set_wakeup 
+0094 2040009b call p_mouse_wheel_set_wakeup 
 0095 20403bf0 call mouse_setting_config 
-0096 204041a7 call mouse_init_sunt 
+0096 20400163 call p_mouse_init_sunt 
 0097 20758000 rtn wake 
-0098 2040408e call mouse_dpi_config 
+0098 2040009a call p_mouse_dpi_config 
 0099 20203bc5 branch mouse_init + 4 
 
+p_mouse_dpi_config:
+009a 20200142 branch p_mouse_seting_sensor_type 
+
 p_mouse_wheel_set_wakeup:
-009a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-009b 207a0000 rtn blank 
-009c 204001ae call p_mouse_mode_24g_device_multi_led_on 
-009d 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-009e d8400040 arg gpcfg_pullup ,temp 
-009f 20406093 call gpio_config_function_int 
-00a0 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-00a1 d8400040 arg gpcfg_pullup ,temp 
-00a2 20206093 branch gpio_config_function_int 
+009b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+009c 207a0000 rtn blank 
+009d 204001cd call p_mouse_mode_24g_device_multi_led_on 
+009e 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+009f d8400040 arg gpcfg_pullup ,temp 
+00a0 20406093 call gpio_config_function_int 
+00a1 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+00a2 d8400040 arg gpcfg_pullup ,temp 
+00a3 20206093 branch gpio_config_function_int 
 
 p_mouse_start_work:
-00a3 6fe0c938 fetch 1 ,mem_device_flag 
-00a4 c00000a8 beq mode_24g_device ,p_mouse_24g_start_mode 
-00a5 20403d65 call mouse_wakeup_from_power_check 
-00a6 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-00a7 20203d59 branch mouse_start_reconnect_device 
+00a4 6fe0c938 fetch 1 ,mem_device_flag 
+00a5 c00000a9 beq mode_24g_device ,p_mouse_24g_start_mode 
+00a6 20403d65 call mouse_wakeup_from_power_check 
+00a7 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+00a8 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-00a8 204001ae call p_mouse_mode_24g_device_multi_led_on 
-00a9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00aa c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ac c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00ad c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00ae 204000bd call p_mouse_key_check_once 
-00af 1fe17e07 and pdata ,0x07 ,pdata 
-00b0 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-00b1 98467c00 isub temp ,null 
-00b2 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00b3 2020480c branch mouse_24g_reconn_general_dongle 
+00a9 204001cd call p_mouse_mode_24g_device_multi_led_on 
+00aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ab c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00ac 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ad c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00ae c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00af 204000be call p_mouse_key_check_once 
+00b0 1fe17e07 and pdata ,0x07 ,pdata 
+00b1 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+00b2 98467c00 isub temp ,null 
+00b3 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00b4 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_g24_factory_check:
-00b4 df200002 arg 2 ,loopcnt 
-00b5 d8c04993 arg mem_mouse_24g_addr ,contr 
+00b5 df200002 arg 2 ,loopcnt 
+00b6 d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-00b6 20407e54 call enable_user 
-00b7 5800ffff setarg 0xffff 
+00b7 20407e54 call enable_user 
+00b8 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-00b8 e8410006 ifetcht 2 ,contr 
-00b9 98467c00 isub temp ,null 
-00ba 2442fe56 ncall disable_user ,zero 
-00bb c20000b8 loop p_pdata_0xff_check_loop 
-00bc 20600000 rtn 
+00b9 e8410006 ifetcht 2 ,contr 
+00ba 98467c00 isub temp ,null 
+00bb 2442fe56 ncall disable_user ,zero 
+00bc c20000b9 loop p_pdata_0xff_check_loop 
+00bd 20600000 rtn 
 
 p_mouse_key_check_once:
-00bd 20404121 call mouse_check_key_gpio_once 
-00be 204000c2 call p_mouse_check_key_gpio 
-00bf d8400000 arg 0 ,temp 
-00c0 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-00c1 20600000 rtn 
+00be 20404121 call mouse_check_key_gpio_once 
+00bf 204000c3 call p_mouse_check_key_gpio 
+00c0 d8400000 arg 0 ,temp 
+00c1 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+00c2 20600000 rtn 
 
 p_mouse_check_key_gpio:
-00c2 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00c3 245a4121 ncall mouse_check_key_gpio_once ,blank 
-00c4 da200000 arg 0 ,rega 
-00c5 20404124 call mouse_check_lkey_gpio 
-00c6 2040412a call mouse_check_rkey_gpio 
-00c7 20404130 call mouse_check_mkey_gpio 
-00c8 20404136 call mouse_check_bkkey_gpio 
-00c9 2040414f call mouse_check_fwkey_gpio 
-00ca 704b8b00 jam 0 ,mem_customer_key 
-00cb 6fe0c9de fetch 1 ,mem_mouse_dpi_long_press_flag 
-00cc 245a417a ncall mouse_customerkey_press ,blank 
-00cd 6fe0cbf3 fetch 1 ,mem_mouse_customerkey_finish 
-00ce 245a00d1 ncall p_mouse_customerkey_release ,blank 
-00cf 1a227e00 copy rega ,pdata 
-00d0 20600000 rtn 
+00c3 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00c4 245a4121 ncall mouse_check_key_gpio_once ,blank 
+00c5 da200000 arg 0 ,rega 
+00c6 20404124 call mouse_check_lkey_gpio 
+00c7 2040412a call mouse_check_rkey_gpio 
+00c8 20404130 call mouse_check_mkey_gpio 
+00c9 20404136 call mouse_check_bkkey_gpio 
+00ca 2040414f call mouse_check_fwkey_gpio 
+00cb 704b8b00 jam 0 ,mem_customer_key 
+00cc 6fe0c9de fetch 1 ,mem_mouse_dpi_long_press_flag 
+00cd 245a417a ncall mouse_customerkey_press ,blank 
+00ce 6fe0cbf3 fetch 1 ,mem_mouse_customerkey_finish 
+00cf 245a00d2 ncall p_mouse_customerkey_release ,blank 
+00d0 1a227e00 copy rega ,pdata 
+00d1 20600000 rtn 
 
 p_mouse_customerkey_release:
-00d1 704bf300 jam 0 ,mem_mouse_customerkey_finish 
-00d2 2020417d branch mouse_customerkey_release 
+00d2 704bf300 jam 0 ,mem_mouse_customerkey_finish 
+00d3 2020417d branch mouse_customerkey_release 
 
 p_init_param:
-00d3 70008000 jam 0 ,mem_lmo_tid2 
-00d4 202013b7 branch init_param_next + 1 
+00d4 70008000 jam 0 ,mem_lmo_tid2 
+00d5 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-00d5 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-00d6 2040126a call initialize_syn_afc_cfg1 
-00d7 20401271 call initialize_rf_ldo_cfg1 
-00d8 20401277 call initialize_rc_cal 
-00d9 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-00da 708a0305 jam 5 ,core_clkpll_cfg0 
-00db 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-00dc 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-00dd 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-00de 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-00df 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-00e0 c08400e2 bne xtal_16m ,p_initialize_radio_cont_next 
-00e1 708a0834 jam 0x34 ,core_clkpll_cfg5 
+00d6 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+00d7 2040126a call initialize_syn_afc_cfg1 
+00d8 20401271 call initialize_rf_ldo_cfg1 
+00d9 20401277 call initialize_rc_cal 
+00da 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+00db 708a0305 jam 5 ,core_clkpll_cfg0 
+00dc 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+00dd 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+00de 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+00df 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+00e0 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+00e1 c08400e3 bne xtal_16m ,p_initialize_radio_cont_next 
+00e2 708a0834 jam 0x34 ,core_clkpll_cfg5 
 
 p_initialize_radio_cont_next:
-00e2 708a01ff jam 0xff ,core_clkpll_ctrl1 
-00e3 20000064 nop 100 
-00e4 708a020e jam 0x0e ,core_clkpll_ctrl2 
-00e5 708a0003 jam 0x03 ,core_clkpll_ctrl0 
-00e6 204001db call p_set_tx_power_pair 
-00e7 20201265 branch initialize_radio_cont_next2 
+00e3 708a01ff jam 0xff ,core_clkpll_ctrl1 
+00e4 20000064 nop 100 
+00e5 708a020e jam 0x0e ,core_clkpll_ctrl2 
+00e6 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+00e7 204001fa call p_set_tx_power_pair 
+00e8 20201265 branch initialize_radio_cont_next2 
 
 p_mouse_setgpio_hibernate:
-00e8 204042e9 call mouse_set_sdio_high 
-00e9 20407fdc call clear_wake 
-00ea 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00eb 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-00ec c07f80f1 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-00ed 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00ee 20406069 call gpio_out_active 
-00ef 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00f0 20406042 call gpio_clr_wake 
+00e9 204042e9 call mouse_set_sdio_high 
+00ea 20407fdc call clear_wake 
+00eb 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00ec 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+00ed c07f80f2 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+00ee 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00ef 20406069 call gpio_out_active 
+00f0 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00f1 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-00f1 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-00f2 20403f56 call mouse_gpio_config_input_pu 
-00f3 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00f4 d840003f arg gpcfg_output_high ,temp 
-00f5 20406093 call gpio_config_function_int 
-00f6 204001bc call p_mouse_logo_led_on_timeout 
-00f7 20203e36 branch mouse_setgpio_hibernate + 3 
+00f2 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+00f3 20403f56 call mouse_gpio_config_input_pu 
+00f4 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00f5 d840003f arg gpcfg_output_high ,temp 
+00f6 20406093 call gpio_config_function_int 
+00f7 204001db call p_mouse_logo_led_on_timeout 
+00f8 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-00f8 20403f88 call mouse_wheel_check 
-00f9 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00fa d840003f arg gpcfg_output_high ,temp 
-00fb 20406093 call gpio_config_function_int 
-00fc 20405b04 call twspi_disable 
-00fd 6848c918 fetcht 1 ,mem_lbutton_gpio 
-00fe 20406036 call gpio_set_wake 
-00ff 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0100 20406036 call gpio_set_wake 
-0101 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0102 20406036 call gpio_set_wake 
-0103 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0104 20406036 call gpio_set_wake 
-0105 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0106 20406036 call gpio_set_wake 
-0107 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0108 20206036 branch gpio_set_wake 
+00f9 20403f88 call mouse_wheel_check 
+00fa 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+00fb d840003f arg gpcfg_output_high ,temp 
+00fc 20406093 call gpio_config_function_int 
+00fd 20405b04 call twspi_disable 
+00fe 6848c918 fetcht 1 ,mem_lbutton_gpio 
+00ff 20406036 call gpio_set_wake 
+0100 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0101 20406036 call gpio_set_wake 
+0102 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0103 20406036 call gpio_set_wake 
+0104 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0105 20406036 call gpio_set_wake 
+0106 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0107 20406036 call gpio_set_wake 
+0108 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0109 20206036 branch gpio_set_wake 
 
 p_mouse_priority_bb_event:
-0109 1a627e00 copy regc ,pdata 
-010a c01d010d beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-010b c01e011b beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-010c 20204336 branch mouse_priority_bb_event + 2 
+010a 1a627e00 copy regc ,pdata 
+010b c01d010e beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+010c c01e011c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+010d 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_fail:
-010d 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-010e 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
+010e 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+010f 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
 
 p_mouse_24g_attempt_fail_next:
-010f 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0110 c0010114 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-0111 c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
-0112 c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
-0113 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+0110 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0111 c0010115 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0112 c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+0113 c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+0114 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0114 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0115 c2978118 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0116 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0117 20204806 branch mouse_24g_reconn_dongle_start 
+0115 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0116 c2978119 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0117 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0118 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0118 204000b4 call p_g24_factory_check 
-0119 20344812 branch mouse_24g_start_auto_pair_next ,user 
-011a 20204806 branch mouse_24g_reconn_dongle_start 
+0119 204000b5 call p_g24_factory_check 
+011a 20344812 branch mouse_24g_start_auto_pair_next ,user 
+011b 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_attempt_success:
-011b 6fe2483c fetch 4 ,mem_24g_addr 
-011c 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
-011d 98467c00 isub temp ,null 
-011e 20228121 branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
-011f 67e24891 store 4 ,mem_24g_receiver_addr 
-0120 67e24993 store 4 ,mem_mouse_24g_addr 
+011c 6fe2483c fetch 4 ,mem_24g_addr 
+011d 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+011e 98467c00 isub temp ,null 
+011f 20228122 branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
+0120 67e24891 store 4 ,mem_24g_receiver_addr 
+0121 67e24993 store 4 ,mem_mouse_24g_addr 
 
 p_mouse_24g_attempt_success_skip_store_addr:
-0121 204048c6 call mouse_device_poweron_timer_init 
-0122 2020484e branch mouse_24g_attempt_success 
+0122 204048c6 call mouse_device_poweron_timer_init 
+0123 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_motion:
-0123 78547c00 disable user 
-0124 58000000 setarg 0 
-0125 67e348d1 store 6 ,mem_mouse_x 
-0126 20404240 call mouse_check_sensor_data 
-0127 2040408e call mouse_dpi_config 
-0128 20403f7e call mouse_zwheel 
-0129 20403f83 call mouse_t_zwheel 
-012a 204040dc call mouse_key 
-012b 6fe0c8d0 fetch 1 ,mem_mouse_key 
-012c 1fe17e1f and_into 0x1f ,pdata 
-012d 67e0c8d0 store 1 ,mem_mouse_key 
-012e 6fe0cb8b fetch 1 ,mem_customer_key 
-012f 245a7e54 ncall enable_user ,blank 
-0130 24340134 nbranch p_mouse_motion_nodata ,user 
-0131 2040471a call mouse_drawing_optima 
-0132 20400137 call p_mouse_logo_led_on_check 
-0133 20204544 branch mouse_no_data_timer_init 
+0124 78547c00 disable user 
+0125 58000000 setarg 0 
+0126 67e348d1 store 6 ,mem_mouse_x 
+0127 20404240 call mouse_check_sensor_data 
+0128 2040408e call mouse_dpi_config 
+0129 20403f7e call mouse_zwheel 
+012a 20403f83 call mouse_t_zwheel 
+012b 204040dc call mouse_key 
+012c 6fe0c8d0 fetch 1 ,mem_mouse_key 
+012d 1fe17e1f and_into 0x1f ,pdata 
+012e 67e0c8d0 store 1 ,mem_mouse_key 
+012f 6fe0cb8b fetch 1 ,mem_customer_key 
+0130 245a7e54 ncall enable_user ,blank 
+0131 24340135 nbranch p_mouse_motion_nodata ,user 
+0132 2040471a call mouse_drawing_optima 
+0133 20400138 call p_mouse_logo_led_on_check 
+0134 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-0134 20404728 call mouse_drawing_optima_init 
-0135 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-0136 20600000 rtn 
+0135 20404728 call mouse_drawing_optima_init 
+0136 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+0137 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-0137 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-0138 1fe0fe01 increase 1 ,pdata 
-0139 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-013a 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-013b 20610000 rtn positive 
+0138 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+0139 1fe0fe01 increase 1 ,pdata 
+013a 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+013b 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+013c 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-013c 58000258 setarg 0x0258 
-013d 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-013e 20600000 rtn 
+013d 58000258 setarg 0x0258 
+013e 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+013f 20600000 rtn 
 
 p_mouse_seting_dpi:
-013f 2040408f call mouse_setting_dpi_4_level 
-0140 2040015f call p_mouse_dpi_led_blink_delay 
+0140 2040408f call mouse_setting_dpi_4_level 
+0141 2040017e call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-0141 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0142 c0028144 beq mx8650 ,p_mouse_setting_8650_dpi 
-0143 20204099 branch mouse_seting_sensor_type + 1 
+0142 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0143 c0028146 beq mx8650 ,p_mouse_setting_8650_dpi 
+0144 c007014c beq s201x ,p_mouse_seting_s201_dpi 
+0145 20204099 branch mouse_seting_sensor_type + 1 
 
 p_mouse_setting_8650_dpi:
-0144 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0145 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
-0146 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
-0147 c00140a4 beq mouse_dpi_level3 ,mouse_set_cpi2 
-0148 c001c0a6 beq mouse_dpi_level4 ,mouse_set_cpi3 
-0149 202040a0 branch mouse_set_cpi1 
+0146 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0147 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
+0148 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
+0149 c00140a4 beq mouse_dpi_level3 ,mouse_set_cpi2 
+014a c001c0a6 beq mouse_dpi_level4 ,mouse_set_cpi3 
+014b 202040a0 branch mouse_set_cpi1 
+
+p_mouse_seting_s201_dpi:
+014c 6fe0c992 fetch 1 ,mem_mouse_dpi 
+014d c0000150 beq mouse_dpi_level1 ,p_mouse_set_s201_dpi_0 
+014e c0008153 beq mouse_dpi_level2 ,p_mouse_set_s201_dpi_1 
+014f c0010156 beq mouse_dpi_level3 ,p_mouse_set_s201_dpi_2 
+
+p_mouse_set_s201_dpi_0:
+0150 6fe0cbf4 fetch 1 ,mem_sensor_s201_dpi_0 
+0151 1fe22200 copy pdata ,rega 
+0152 2020015b branch p_mouse_dpi_s201_store 
+
+p_mouse_set_s201_dpi_1:
+0153 6fe0cbf5 fetch 1 ,mem_sensor_s201_dpi_1 
+0154 1fe22200 copy pdata ,rega 
+0155 2020015b branch p_mouse_dpi_s201_store 
+
+p_mouse_set_s201_dpi_2:
+0156 6fe0cbf6 fetch 1 ,mem_sensor_s201_dpi_2 
+0157 1fe22200 copy pdata ,rega 
+0158 2020015b branch p_mouse_dpi_s201_store 
+
+p_mouse_set_s201_dpi_3:
+0159 6fe0cbf7 fetch 1 ,mem_sensor_s201_dpi_3 
+015a 1fe22200 copy pdata ,rega 
+
+p_mouse_dpi_s201_store:
+015b 5800c309 setarg 0xc309 
+015c 20405b0c call twspi_write 
+015d 1a227e00 copy rega ,pdata 
+015e 1fed7e00 lshift8 pdata ,pdata 
+015f 1fe0fe23 add pdata ,0x23 ,pdata 
+0160 20405b0c call twspi_write 
+0161 58000009 setarg 0x0009 
+0162 20205b0c branch twspi_write 
 
 p_mouse_init_sunt:
-014a 20403f65 call mouse_sensor_spi_init 
-014b 20758000 rtn wake 
+0163 20403f65 call mouse_sensor_spi_init 
+0164 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-014c 20404236 call mouse_sensor_poweron 
+0165 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-014d 204041b5 call mouse_read_sensor_id 
-014e c0180154 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-014f c018c217 beq p3065_id1 ,mouse_init_p3065 
-0150 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-0151 204041b2 call mouse_twspi_reset 
-0152 20001af4 nop 6900 
-0153 2020014d branch p_mouse_init_sensor 
+0166 204041b5 call mouse_read_sensor_id 
+0167 c018016d beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0168 c018c217 beq p3065_id1 ,mouse_init_p3065 
+0169 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+016a 204041b2 call mouse_twspi_reset 
+016b 20001af4 nop 6900 
+016c 20200166 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-0154 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-0155 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-0156 c02d0158 beq p_mx8650 ,p_mouse_mx8650_init_param 
-0157 202041be branch mouse_init_p32xx_id2_judge + 2 
+016d 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+016e c0688178 beq p3205_tj3t_id2 ,p_mouse_3205_3t_init_param 
+016f c02d0171 beq p_mx8650 ,p_mouse_mx8650_init_param 
+0170 202041be branch mouse_init_p32xx_id2_judge + 2 
 
 p_mouse_mx8650_init_param:
-0158 70492705 jam mx8650 ,mem_config_sensor_type 
-0159 20404232 call mouse_sensor_reset 
-015a 20407d12 call delay_10ms 
-015b da604a39 arg mem_sensor_8650_init ,regc 
-015c 2020015d branch p_mouse_sensor_end 
+0171 70492705 jam mx8650 ,mem_config_sensor_type 
+0172 20404232 call mouse_sensor_reset 
+0173 20407d12 call delay_10ms 
+0174 da604a39 arg mem_sensor_8650_init ,regc 
+0175 20200176 branch p_mouse_sensor_end 
 
 p_mouse_sensor_end:
-015d 2040422b call mouse_sensor_wr_seq 
-015e 20200141 branch p_mouse_seting_sensor_type 
+0176 2040422b call mouse_sensor_wr_seq 
+0177 20200142 branch p_mouse_seting_sensor_type 
+
+p_mouse_3205_3t_init_param:
+0178 58000049 setarg 0x49 
+0179 20405b0d call twspi_read 
+017a c050817c beq 0xa1 ,p_mouse_s201x_init_param 
+017b 202041da branch mouse_3205_3t_init_param 
+
+p_mouse_s201x_init_param:
+017c 7049270e jam s201x ,mem_config_sensor_type 
+017d 20600000 rtn 
 
 p_mouse_dpi_led_blink_delay:
-015f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0160 c17f8000 rtneq gpio_disable 
-0161 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0162 247a0000 nrtn blank 
-0163 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0164 247a0000 nrtn blank 
-0165 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0166 247a0000 nrtn blank 
-0167 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0168 247a0000 nrtn blank 
-0169 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-016a 203a01c3 branch p_mouse_dpi_led_blink_init ,blank 
-016b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-016c 20600000 rtn 
+017e 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+017f c17f8000 rtneq gpio_disable 
+0180 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0181 247a0000 nrtn blank 
+0182 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0183 247a0000 nrtn blank 
+0184 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0185 247a0000 nrtn blank 
+0186 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0187 247a0000 nrtn blank 
+0188 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0189 203a01e2 branch p_mouse_dpi_led_blink_init ,blank 
+018a 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+018b 20600000 rtn 
 
 p_mouse_bb_event_timer:
-016d 20403e9b call mouse_adc_read 
-016e 20400069 call p_mouse_low_voltage_led_timer 
-016f 2040232b call g24_pair_timeout_timer 
-0170 20402556 call g24_reconn_timeout_timer 
-0171 204047cd call mouse_24g_long_sleep_param_update_timer 
-0172 204048be call mouse_device_poweron_timer 
-0173 204001c0 call p_mouse_dpi_led_blink_delay_timer 
-0174 204001b3 call p_mouse_logo_led_on_timer 
-0175 20400183 call p_mouse_multi_led_blink_timer 
-0176 20400178 call p_mouse_dpi_key_check_long_press 
-0177 202044bd branch mouse_bb_event_timer + 8 
+018c 20403e9b call mouse_adc_read 
+018d 20400069 call p_mouse_low_voltage_led_timer 
+018e 2040232b call g24_pair_timeout_timer 
+018f 20402556 call g24_reconn_timeout_timer 
+0190 204047cd call mouse_24g_long_sleep_param_update_timer 
+0191 204048be call mouse_device_poweron_timer 
+0192 204001df call p_mouse_dpi_led_blink_delay_timer 
+0193 204001d2 call p_mouse_logo_led_on_timer 
+0194 204001a2 call p_mouse_multi_led_blink_timer 
+0195 20400197 call p_mouse_dpi_key_check_long_press 
+0196 202044bd branch mouse_bb_event_timer + 8 
 
 p_mouse_dpi_key_check_long_press:
-0178 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0179 c2944080 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
-017a c29b017c bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_send_customer_by_dpi_button 
-017b 20600000 rtn 
+0197 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0198 c2944080 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+0199 c29b019b bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_send_customer_by_dpi_button 
+019a 20600000 rtn 
 
 p_send_customer_by_dpi_button:
-017c 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
-017d c1808000 rtnne dpi_button_state_down 
-017e da604b9b arg mem_bt_discovery_count ,regc 
-017f da400181 arg p_mouse_customerkey_press ,regb 
-0180 2020318a branch timer_single_step 
+019b 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
+019c c1808000 rtnne dpi_button_state_down 
+019d da604b9b arg mem_bt_discovery_count ,regc 
+019e da4001a0 arg p_mouse_customerkey_press ,regb 
+019f 2020318a branch timer_single_step 
 
 p_mouse_customerkey_press:
-0181 7049de01 jam 1 ,mem_mouse_dpi_long_press_flag 
-0182 20600000 rtn 
+01a0 7049de01 jam 1 ,mem_mouse_dpi_long_press_flag 
+01a1 20600000 rtn 
 
 p_mouse_multi_led_blink_timer:
-0183 6fe0cbe8 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0184 207a0000 rtn blank 
-0185 6fe0cbeb fetch 1 ,mem_mouse_multi_led_type 
-0186 c0000189 beq multi_led_on ,p_mouse_multi_led_type_on 
-0187 c0008193 beq multi_led_blink ,p_mouse_multi_led_type_blink 
-0188 20600000 rtn 
+01a2 6fe0cbe8 fetch 1 ,mem_mouse_multi_led_blink_enable 
+01a3 207a0000 rtn blank 
+01a4 6fe0cbeb fetch 1 ,mem_mouse_multi_led_type 
+01a5 c00001a8 beq multi_led_on ,p_mouse_multi_led_type_on 
+01a6 c00081b2 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+01a7 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-0189 20400081 call p_mouse_low_voltage_led_on 
-018a 6fe0cbec fetch 1 ,mem_mouse_multi_led_on_timer 
-018b 1fe0fe01 increase 1 ,pdata 
-018c 67e0cbec store 1 ,mem_mouse_multi_led_on_timer 
-018d 6848cbed fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-018e 98467c00 isub temp ,null 
-018f 20428191 call p_mouse_multi_led_off_poweron2s ,zero 
-0190 20600000 rtn 
+01a8 20400081 call p_mouse_low_voltage_led_on 
+01a9 6fe0cbec fetch 1 ,mem_mouse_multi_led_on_timer 
+01aa 1fe0fe01 increase 1 ,pdata 
+01ab 67e0cbec store 1 ,mem_mouse_multi_led_on_timer 
+01ac 6848cbed fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+01ad 98467c00 isub temp ,null 
+01ae 204281b0 call p_mouse_multi_led_off_poweron2s ,zero 
+01af 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-0191 704bf200 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0192 202001a5 branch p_mouse_multi_led_blink_off 
+01b0 704bf200 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+01b1 202001c4 branch p_mouse_multi_led_blink_off 
 
 p_mouse_multi_led_type_blink:
-0193 6fe0cbef fetch 1 ,mem_mouse_multi_led_blink_timer 
-0194 1fe0ffff increase -1 ,pdata 
-0195 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
-0196 247a0000 nrtn blank 
-0197 6fe0cbee fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0198 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
-0199 6fe0cbf1 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-019a 203a019f branch p_mouse_multi_led_blink_count_no_limited ,blank 
-019b 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
-019c 203a01a5 branch p_mouse_multi_led_blink_off ,blank 
-019d 1fe0ffff increase -1 ,pdata 
-019e 67e0cbf0 store 1 ,mem_mouse_multi_led_blink_count 
+01b2 6fe0cbef fetch 1 ,mem_mouse_multi_led_blink_timer 
+01b3 1fe0ffff increase -1 ,pdata 
+01b4 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
+01b5 247a0000 nrtn blank 
+01b6 6fe0cbee fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+01b7 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
+01b8 6fe0cbf1 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+01b9 203a01be branch p_mouse_multi_led_blink_count_no_limited ,blank 
+01ba 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
+01bb 203a01c4 branch p_mouse_multi_led_blink_off ,blank 
+01bc 1fe0ffff increase -1 ,pdata 
+01bd 67e0cbf0 store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-019f 6fe0cbea fetch 1 ,mem_mouse_multi_led_state 
-01a0 c0008084 beq on ,p_mouse_low_voltage_led_off 
-01a1 c0000081 beq off ,p_mouse_low_voltage_led_on 
-01a2 20600000 rtn 
+01be 6fe0cbea fetch 1 ,mem_mouse_multi_led_state 
+01bf c0008084 beq on ,p_mouse_low_voltage_led_off 
+01c0 c0000081 beq off ,p_mouse_low_voltage_led_on 
+01c1 20600000 rtn 
 
 p_mouse_multi_led_on:
-01a3 704bea01 jam on ,mem_mouse_multi_led_state 
-01a4 20200081 branch p_mouse_low_voltage_led_on 
+01c2 704bea01 jam on ,mem_mouse_multi_led_state 
+01c3 20200081 branch p_mouse_low_voltage_led_on 
 
 p_mouse_multi_led_blink_off:
-01a5 58000000 setarg 0 
-01a6 67e1cbef store 3 ,mem_mouse_multi_led_blink_timer 
+01c4 58000000 setarg 0 
+01c5 67e1cbef store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-01a7 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
-01a8 243a01ab nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-01a9 704be800 jam 0 ,mem_mouse_multi_led_blink_enable 
-01aa 704beb00 jam 0 ,mem_mouse_multi_led_type 
+01c6 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
+01c7 243a01ca nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+01c8 704be800 jam 0 ,mem_mouse_multi_led_blink_enable 
+01c9 704beb00 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-01ab 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
-01ac 704bea00 jam off ,mem_mouse_multi_led_state 
-01ad 20200084 branch p_mouse_low_voltage_led_off 
+01ca 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
+01cb 704bea00 jam off ,mem_mouse_multi_led_state 
+01cc 20200084 branch p_mouse_low_voltage_led_off 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-01ae 704bf201 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-01af 704be801 jam on ,mem_mouse_multi_led_blink_enable 
-01b0 704beb00 jam multi_led_on ,mem_mouse_multi_led_type 
-01b1 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
-01b2 20600000 rtn 
+01cd 704bf201 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+01ce 704be801 jam on ,mem_mouse_multi_led_blink_enable 
+01cf 704beb00 jam multi_led_on ,mem_mouse_multi_led_type 
+01d0 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
+01d1 20600000 rtn 
 
 p_mouse_logo_led_on_timer:
-01b3 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-01b4 c17f8000 rtneq gpio_disable 
-01b5 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-01b6 207a0000 rtn blank 
-01b7 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-01b8 20406069 call gpio_out_active 
-01b9 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-01ba da4001bc arg p_mouse_logo_led_on_timeout ,regb 
-01bb 20203191 branch timer_single_step_2b 
+01d2 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+01d3 c17f8000 rtneq gpio_disable 
+01d4 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+01d5 207a0000 rtn blank 
+01d6 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+01d7 20406069 call gpio_out_active 
+01d8 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+01d9 da4001db arg p_mouse_logo_led_on_timeout ,regb 
+01da 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-01bc 58000000 setarg 0 
-01bd 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-01be 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-01bf 20206065 branch gpio_out_inactive 
+01db 58000000 setarg 0 
+01dc 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+01dd 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+01de 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-01c0 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01c1 da4001c3 arg p_mouse_dpi_led_blink_init ,regb 
-01c2 2020318a branch timer_single_step 
+01df da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01e0 da4001e2 arg p_mouse_dpi_led_blink_init ,regb 
+01e1 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-01c3 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01c4 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-01c5 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-01c6 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01c7 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-01c8 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-01c9 67e14930 store 2 ,mem_mouse_on_time 
-01ca 67e14932 store 2 ,mem_mouse_off_time 
-01cb da200000 arg 0 ,rega 
-01cc 6848c992 fetcht 1 ,mem_mouse_dpi 
-01cd 18408402 increase 2 ,temp 
-01ce 18467c03 sub temp ,3 ,null 
-01cf 204101d2 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-01d0 244101d6 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-01d1 202048ff branch mouse_dpi_led_blink_init_end 
+01e2 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01e3 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+01e4 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+01e5 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01e6 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+01e7 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+01e8 67e14930 store 2 ,mem_mouse_on_time 
+01e9 67e14932 store 2 ,mem_mouse_off_time 
+01ea da200000 arg 0 ,rega 
+01eb 6848c992 fetcht 1 ,mem_mouse_dpi 
+01ec 18408402 increase 2 ,temp 
+01ed 18467c03 sub temp ,3 ,null 
+01ee 204101f1 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+01ef 244101f5 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+01f0 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-01d2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01d3 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-01d4 18408401 increase 1 ,temp 
-01d5 20600000 rtn 
+01f1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01f2 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+01f3 18408401 increase 1 ,temp 
+01f4 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-01d6 184085fd increase -3 ,temp 
-01d7 20600000 rtn 
+01f5 184085fd increase -3 ,temp 
+01f6 20600000 rtn 
 
 p_txon:
-01d8 6fe0c1e8 fetch 1 ,mem_tx_power 
-01d9 c04f81db beq tx_power_pair ,p_set_tx_power_pair 
-01da 2020121f branch txon_next 
+01f7 6fe0c1e8 fetch 1 ,mem_tx_power 
+01f8 c04f81fa beq tx_power_pair ,p_set_tx_power_pair 
+01f9 2020121f branch txon_next 
 
 p_set_tx_power_pair:
-01db 708a3903 jam 0x03 ,core_tx_pwr_ctrl0 
-01dc 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-01dd 2020122a branch set_rf_ldo_cfg89 
+01fa 708a3903 jam 0x03 ,core_tx_pwr_ctrl0 
+01fb 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+01fc 2020122a branch set_rf_ldo_cfg89 
               org 0x800
 
 start:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/ramcode.rom	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/ramcode.rom	(working copy)
@@ -1,21 +1,21 @@
 c2840013
 c0000016
 c001801a
-c04501d8
-c04580d5
-c04f80d3
+c04501f7
+c04580d6
+c04f80d4
 c0570093
 c0580087
-c06180a3
-c06480e8
-c06500f8
+c06180a4
+c06480e9
+c06500f9
 c0660053
-c0670123
-c068013f
-c06880c2
-c069814a
-c06b0109
-c06c816d
+c0670124
+c0680140
+c06880c3
+c0698163
+c06b010a
+c06c818c
 2020137c
 c0198033
 c01a0038
@@ -146,15 +146,16 @@
 20407e05
 20200087
 20406df3
-2040009a
+2040009b
 20403bf0
-204041a7
+20400163
 20758000
-2040408e
+2040009a
 20203bc5
+20200142
 6fe0cbe1
 207a0000
-204001ae
+204001cd
 6fe0c913
 d8400040
 20406093
@@ -162,17 +163,17 @@
 d8400040
 20206093
 6fe0c938
-c00000a8
+c00000a9
 20403d65
 243442eb
 20203d59
-204001ae
+204001cd
 6fe44bab
 c308c803
 6fe44bab
 c298480c
 c318c80c
-204000bd
+204000be
 1fe17e07
 6848cbcb
 98467c00
@@ -185,10 +186,10 @@
 e8410006
 98467c00
 2442fe56
-c20000b8
+c20000b9
 20600000
 20404121
-204000c2
+204000c3
 d8400000
 6049cb8e
 20600000
@@ -204,7 +205,7 @@
 6fe0c9de
 245a417a
 6fe0cbf3
-245a00d1
+245a00d2
 1a227e00
 20600000
 704bf300
@@ -222,19 +223,19 @@
 708a0f05
 708a8390
 6fe0c0c5
-c08400e2
+c08400e3
 708a0834
 708a01ff
 20000064
 708a020e
 708a0003
-204001db
+204001fa
 20201265
 204042e9
 20407fdc
 20404015
 6fe0c910
-c07f80f1
+c07f80f2
 6848c910
 20406069
 6848c910
@@ -244,7 +245,7 @@
 6fe0c920
 d840003f
 20406093
-204001bc
+204001db
 20203e36
 20403f88
 6fe0c91f
@@ -264,27 +265,27 @@
 6848c90f
 20206036
 1a627e00
-c01d010d
-c01e011b
+c01d010e
+c01e011c
 20204336
 6fe0c8a5
 243a47e1
 6fe0c88b
-c0010114
+c0010115
 c0024844
 c001c849
 20204839
 6fe44bab
-c2978118
+c2978119
 c2984811
 20204806
-204000b4
+204000b5
 20344812
 20204806
 6fe2483c
 684a488d
 98467c00
-20228121
+20228122
 67e24891
 67e24993
 204048c6
@@ -302,9 +303,9 @@
 67e0c8d0
 6fe0cb8b
 245a7e54
-24340134
+24340135
 2040471a
-20400137
+20400138
 20204544
 20404728
 704be400
@@ -318,9 +319,10 @@
 67e14be5
 20600000
 2040408f
-2040015f
+2040017e
 6fe0c927
-c0028144
+c0028146
+c007014c
 20204099
 6fe0c992
 c00040a2
@@ -328,27 +330,56 @@
 c00140a4
 c001c0a6
 202040a0
+6fe0c992
+c0000150
+c0008153
+c0010156
+6fe0cbf4
+1fe22200
+2020015b
+6fe0cbf5
+1fe22200
+2020015b
+6fe0cbf6
+1fe22200
+2020015b
+6fe0cbf7
+1fe22200
+5800c309
+20405b0c
+1a227e00
+1fed7e00
+1fe0fe23
+20405b0c
+58000009
+20205b0c
 20403f65
 20758000
 20404236
 204041b5
-c0180154
+c018016d
 c018c217
 c02c4220
 204041b2
 20001af4
-2020014d
+20200166
 6fe0c9c2
-c068c1da
-c02d0158
+c0688178
+c02d0171
 202041be
 70492705
 20404232
 20407d12
 da604a39
-2020015d
+20200176
 2040422b
-20200141
+20200142
+58000049
+20405b0d
+c050817c
+202041da
+7049270e
+20600000
 6fe0c923
 c17f8000
 6fe14ac2
@@ -360,7 +391,7 @@
 6fe0cba7
 247a0000
 6fe0cbc1
-203a01c3
+203a01e2
 67e0cba8
 20600000
 20403e9b
@@ -369,27 +400,27 @@
 20402556
 204047cd
 204048be
-204001c0
-204001b3
-20400183
-20400178
+204001df
+204001d2
+204001a2
+20400197
 202044bd
 6fe44bab
 c2944080
-c29b017c
+c29b019b
 20600000
 6fe0c9dd
 c1808000
 da604b9b
-da400181
+da4001a0
 2020318a
 7049de01
 20600000
 6fe0cbe8
 207a0000
 6fe0cbeb
-c0000189
-c0008193
+c00001a8
+c00081b2
 20600000
 20400081
 6fe0cbec
@@ -397,10 +428,10 @@
 67e0cbec
 6848cbed
 98467c00
-20428191
+204281b0
 20600000
 704bf200
-202001a5
+202001c4
 6fe0cbef
 1fe0ffff
 67e0cbef
@@ -408,9 +439,9 @@
 6fe0cbee
 67e0cbef
 6fe0cbf1
-203a019f
+203a01be
 6fe0cbf0
-203a01a5
+203a01c4
 1fe0ffff
 67e0cbf0
 6fe0cbea
@@ -422,7 +453,7 @@
 58000000
 67e1cbef
 6fe0cbf0
-243a01ab
+243a01ca
 704be800
 704beb00
 704bec00
@@ -440,14 +471,14 @@
 6848cbe3
 20406069
 da604be5
-da4001bc
+da4001db
 20203191
 58000000
 67e14be5
 6848cbe3
 20206065
 da604ba8
-da4001c3
+da4001e2
 2020318a
 6fe0c927
 c001c8f2
@@ -461,8 +492,8 @@
 6848c992
 18408402
 18467c03
-204101d2
-244101d6
+204101f1
+244101f5
 202048ff
 6fe44bab
 c40e0000
@@ -471,7 +502,7 @@
 184085fd
 20600000
 6fe0c1e8
-c04f81db
+c04f81fa
 2020121f
 708a3903
 708a3a00
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/sched.rom	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/output/sched.rom	(working copy)
@@ -500,6 +500,12 @@
 09 00
 ff ff
 
+mem_sensor_s201_dpi:
+8b  ##1600
+89  ##1000
+8a  ##1200
+84  
+88 
 
 mem_ui_led_struct_ptr:mem_mouse_led_type
 mem_ui_led_struct_num:01
Index: program/app_mouse.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/program/app_mouse.prog	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/program/app_mouse.prog	(working copy)
@@ -2117,7 +2117,7 @@
 	arg mem_sensor_8009_init,regc
 	branch mouse_sensor_wr_seq
 
-mouse_3205_3t_init_param:
+	mouse_3205_3t_init_param:
 	jam P3205,mem_config_sensor_type
 	arg mem_sensor_3205_init,regc
 	call mouse_sensor_wr_seq
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/program/patch.prog	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/program/patch.prog	(working copy)
@@ -207,10 +207,12 @@
 	call enable_authrom
 	call p_mouse_wheel_set_wakeup
 	call mouse_setting_config
-	call mouse_init_sunt
+	call p_mouse_init_sunt
 	rtn wake
-	call mouse_dpi_config
+	call p_mouse_dpi_config
 	branch mouse_init+4
+p_mouse_dpi_config:
+	branch p_mouse_seting_sensor_type
 
 p_mouse_wheel_set_wakeup:
 	fetch 1,mem_sensor_shutdown_flag
@@ -448,7 +450,10 @@
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
 	beq MX8650,p_mouse_setting_8650_dpi
+	beq S201X,p_mouse_seting_S201_dpi
 	branch mouse_seting_sensor_type+1
+
+
 p_mouse_setting_8650_dpi:
 	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,mouse_set_cpi0		//1200
@@ -456,6 +461,42 @@
 	beq MOUSE_DPI_LEVEL3,mouse_set_cpi2		//800
 	beq MOUSE_DPI_LEVEL4,mouse_set_cpi3		//1000
 	branch mouse_set_cpi1
+
+p_mouse_seting_S201_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_S201_dpi_0	
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_S201_dpi_1	
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_S201_dpi_2	
+	// beq MOUSE_DPI_LEVEL4,p_mouse_set_S201_dpi_3	
+p_mouse_set_S201_dpi_0:	//1600
+	fetch 1,mem_sensor_s201_dpi_0
+	copy pdata,rega
+	branch p_mouse_dpi_S201_store
+	
+p_mouse_set_S201_dpi_1:	//1000
+	fetch 1,mem_sensor_s201_dpi_1
+	copy pdata,rega
+	branch p_mouse_dpi_S201_store
+	
+p_mouse_set_S201_dpi_2:	//1200
+	fetch 1,mem_sensor_s201_dpi_2
+	copy pdata,rega
+	branch p_mouse_dpi_s201_store
+
+p_mouse_set_S201_dpi_3:	
+	fetch 1,mem_sensor_s201_dpi_3
+	copy pdata,rega
+	//branch p_mouse_dpi_s201_store
+p_mouse_dpi_s201_store:
+	setarg 0xc309
+	call twspi_write
+	copy rega,pdata
+	lshift8 pdata,pdata
+	add pdata,0x23,pdata
+	call twspi_write
+	setarg 0x0009
+	branch twspi_write
+
 p_mouse_init_sunt:
 	call mouse_sensor_spi_init		
 	rtn wake
@@ -472,7 +513,7 @@
 
 p_mouse_init_p32xx_id2_judge:
 	fetch 1,mem_sensor_id2
-	beq P3205_TJ3T_ID2,mouse_3205_3t_init_param
+	beq P3205_TJ3T_ID2,p_mouse_3205_3t_init_param
 	beq P_MX8650,p_mouse_mx8650_init_param
 	branch mouse_init_p32xx_id2_judge+2
 
@@ -485,6 +526,16 @@
 p_mouse_sensor_end:
 	call mouse_sensor_wr_seq
 	branch p_mouse_seting_sensor_type	
+p_mouse_3205_3t_init_param:
+	setarg 0x49		// id3
+	call twspi_read
+	beq 0xa1,p_mouse_S201X_init_param
+	branch mouse_3205_3t_init_param
+
+p_mouse_S201X_init_param:
+	jam S201X,mem_config_sensor_type
+	rtn
+
 
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/sched/mouse.dat	(revision 4689)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V40_Only2.4G_LRpair/sched/mouse.dat	(working copy)
@@ -433,6 +433,12 @@
 09 00
 ff ff
 
+mem_sensor_s201_dpi:
+8b  ##1600
+89  ##1000
+8a  ##1200
+84  
+88 
 
 mem_ui_led_struct_ptr:mem_mouse_led_type
 mem_ui_led_struct_num:01
