Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/eeprom.dat	(revision 1864)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ca
+c6
 17
 c2
 84
@@ -79,7 +79,7 @@
 c0
 67
 85
-ba
+b9
 c0
 68
 03
@@ -191,7 +191,7 @@
 c0
 76
 85
-ea
+e9
 20
 20
 13
@@ -5419,7 +5419,7 @@
 20
 40
 05
-79
+78
 20
 20
 46
@@ -5565,9 +5565,9 @@
 27
 0c
 20
-20
-46
-ee
+60
+00
+00
 70
 49
 27
@@ -5583,7 +5583,7 @@
 20
 40
 05
-77
+76
 da
 60
 4c
@@ -5593,10 +5593,6 @@
 42
 2b
 20
-40
-46
-ee
-20
 20
 03
 05
@@ -5623,7 +5619,7 @@
 24
 3a
 05
-82
+81
 6f
 e0
 cc
@@ -5635,7 +5631,7 @@
 20
 40
 05
-92
+91
 68
 48
 cc
@@ -5675,11 +5671,11 @@
 20
 40
 05
-ab
+aa
 20
 40
 05
-96
+95
 68
 48
 cc
@@ -5723,7 +5719,7 @@
 20
 40
 05
-a1
+a0
 67
 e0
 cc
@@ -5735,7 +5731,7 @@
 20
 3a
 05
-9d
+9c
 6f
 e0
 cc
@@ -5799,11 +5795,11 @@
 c0
 03
 85
-b6
+b5
 c0
 00
 05
-b8
+b7
 20
 60
 00
@@ -5843,11 +5839,11 @@
 c0
 03
 85
-b6
+b5
 c0
 00
 05
-b8
+b7
 20
 60
 00
@@ -5891,7 +5887,7 @@
 c2
 9e
 85
-c6
+c5
 18
 42
 7e
@@ -5923,7 +5919,7 @@
 24
 3a
 05
-e3
+e2
 6f
 e4
 4b
@@ -5931,7 +5927,7 @@
 c2
 8e
 05
-d7
+d6
 18
 42
 7e
@@ -5943,11 +5939,11 @@
 c0
 00
 05
-d3
+d2
 c0
 01
 05
-d1
+d0
 20
 60
 00
@@ -5959,7 +5955,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5967,7 +5963,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5975,7 +5971,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5983,7 +5979,7 @@
 20
 20
 05
-c3
+c2
 18
 42
 7e
@@ -5995,15 +5991,15 @@
 c0
 00
 05
-d3
+d2
 c0
 01
 05
-d5
+d4
 c0
 01
 85
-d1
+d0
 20
 60
 00
@@ -6019,15 +6015,15 @@
 c0
 00
 05
-d5
+d4
 c0
 00
 85
-d1
+d0
 c0
 01
 85
-cf
+ce
 20
 60
 00
@@ -6039,7 +6035,7 @@
 c2
 8e
 05
-dd
+dc
 18
 42
 7e
@@ -6051,11 +6047,11 @@
 c0
 00
 05
-cf
+ce
 c0
 00
 85
-d1
+d0
 20
 60
 00
@@ -6092,8 +6088,8 @@
 20
 26
 f6
-dc
-93
+cc
+b4
 aa
 55
 40
@@ -7465,17 +7461,16 @@
 02
 40
 00
-36
+32
 1d
 55
 aa
 aa
 55
-03
-99
-4c
-64
 ff
+98
+95
+18
 ff
 ff
 ff
@@ -8188,5 +8183,10 @@
 ff
 ff
 ff
-e4
-36
+ff
+ff
+ff
+ff
+ff
+a0
+d1
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/flash.dat	(revision 1864)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ca
+c6
 17
 c2
 84
@@ -79,7 +79,7 @@
 c0
 67
 85
-ba
+b9
 c0
 68
 03
@@ -191,7 +191,7 @@
 c0
 76
 85
-ea
+e9
 20
 20
 13
@@ -5419,7 +5419,7 @@
 20
 40
 05
-79
+78
 20
 20
 46
@@ -5565,9 +5565,9 @@
 27
 0c
 20
-20
-46
-ee
+60
+00
+00
 70
 49
 27
@@ -5583,7 +5583,7 @@
 20
 40
 05
-77
+76
 da
 60
 4c
@@ -5593,10 +5593,6 @@
 42
 2b
 20
-40
-46
-ee
-20
 20
 03
 05
@@ -5623,7 +5619,7 @@
 24
 3a
 05
-82
+81
 6f
 e0
 cc
@@ -5635,7 +5631,7 @@
 20
 40
 05
-92
+91
 68
 48
 cc
@@ -5675,11 +5671,11 @@
 20
 40
 05
-ab
+aa
 20
 40
 05
-96
+95
 68
 48
 cc
@@ -5723,7 +5719,7 @@
 20
 40
 05
-a1
+a0
 67
 e0
 cc
@@ -5735,7 +5731,7 @@
 20
 3a
 05
-9d
+9c
 6f
 e0
 cc
@@ -5799,11 +5795,11 @@
 c0
 03
 85
-b6
+b5
 c0
 00
 05
-b8
+b7
 20
 60
 00
@@ -5843,11 +5839,11 @@
 c0
 03
 85
-b6
+b5
 c0
 00
 05
-b8
+b7
 20
 60
 00
@@ -5891,7 +5887,7 @@
 c2
 9e
 85
-c6
+c5
 18
 42
 7e
@@ -5923,7 +5919,7 @@
 24
 3a
 05
-e3
+e2
 6f
 e4
 4b
@@ -5931,7 +5927,7 @@
 c2
 8e
 05
-d7
+d6
 18
 42
 7e
@@ -5943,11 +5939,11 @@
 c0
 00
 05
-d3
+d2
 c0
 01
 05
-d1
+d0
 20
 60
 00
@@ -5959,7 +5955,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5967,7 +5963,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5975,7 +5971,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5983,7 +5979,7 @@
 20
 20
 05
-c3
+c2
 18
 42
 7e
@@ -5995,15 +5991,15 @@
 c0
 00
 05
-d3
+d2
 c0
 01
 05
-d5
+d4
 c0
 01
 85
-d1
+d0
 20
 60
 00
@@ -6019,15 +6015,15 @@
 c0
 00
 05
-d5
+d4
 c0
 00
 85
-d1
+d0
 c0
 01
 85
-cf
+ce
 20
 60
 00
@@ -6039,7 +6035,7 @@
 c2
 8e
 05
-dd
+dc
 18
 42
 7e
@@ -6051,11 +6047,11 @@
 c0
 00
 05
-cf
+ce
 c0
 00
 85
-d1
+d0
 20
 60
 00
@@ -6092,8 +6088,8 @@
 20
 26
 f6
-dc
-93
+cc
+b4
 aa
 55
 40
@@ -7465,17 +7461,16 @@
 02
 40
 00
-36
+32
 1d
 55
 aa
 aa
 55
-03
-99
-4c
-64
 ff
+98
+95
+18
 ff
 ff
 ff
@@ -8188,5 +8183,10 @@
 ff
 ff
 ff
-e4
-36
+ff
+ff
+ff
+ff
+ff
+a0
+d1
Index: output/otp.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/otp.dat	(revision 1864)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/otp.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ca
+c6
 17
 c2
 84
@@ -79,7 +79,7 @@
 c0
 67
 85
-ba
+b9
 c0
 68
 03
@@ -191,7 +191,7 @@
 c0
 76
 85
-ea
+e9
 20
 20
 13
@@ -5419,7 +5419,7 @@
 20
 40
 05
-79
+78
 20
 20
 46
@@ -5565,9 +5565,9 @@
 27
 0c
 20
-20
-46
-ee
+60
+00
+00
 70
 49
 27
@@ -5583,7 +5583,7 @@
 20
 40
 05
-77
+76
 da
 60
 4c
@@ -5593,10 +5593,6 @@
 42
 2b
 20
-40
-46
-ee
-20
 20
 03
 05
@@ -5623,7 +5619,7 @@
 24
 3a
 05
-82
+81
 6f
 e0
 cc
@@ -5635,7 +5631,7 @@
 20
 40
 05
-92
+91
 68
 48
 cc
@@ -5675,11 +5671,11 @@
 20
 40
 05
-ab
+aa
 20
 40
 05
-96
+95
 68
 48
 cc
@@ -5723,7 +5719,7 @@
 20
 40
 05
-a1
+a0
 67
 e0
 cc
@@ -5735,7 +5731,7 @@
 20
 3a
 05
-9d
+9c
 6f
 e0
 cc
@@ -5799,11 +5795,11 @@
 c0
 03
 85
-b6
+b5
 c0
 00
 05
-b8
+b7
 20
 60
 00
@@ -5843,11 +5839,11 @@
 c0
 03
 85
-b6
+b5
 c0
 00
 05
-b8
+b7
 20
 60
 00
@@ -5891,7 +5887,7 @@
 c2
 9e
 85
-c6
+c5
 18
 42
 7e
@@ -5923,7 +5919,7 @@
 24
 3a
 05
-e3
+e2
 6f
 e4
 4b
@@ -5931,7 +5927,7 @@
 c2
 8e
 05
-d7
+d6
 18
 42
 7e
@@ -5943,11 +5939,11 @@
 c0
 00
 05
-d3
+d2
 c0
 01
 05
-d1
+d0
 20
 60
 00
@@ -5959,7 +5955,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5967,7 +5963,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5975,7 +5971,7 @@
 20
 20
 05
-c3
+c2
 58
 00
 00
@@ -5983,7 +5979,7 @@
 20
 20
 05
-c3
+c2
 18
 42
 7e
@@ -5995,15 +5991,15 @@
 c0
 00
 05
-d3
+d2
 c0
 01
 05
-d5
+d4
 c0
 01
 85
-d1
+d0
 20
 60
 00
@@ -6019,15 +6015,15 @@
 c0
 00
 05
-d5
+d4
 c0
 00
 85
-d1
+d0
 c0
 01
 85
-cf
+ce
 20
 60
 00
@@ -6039,7 +6035,7 @@
 c2
 8e
 05
-dd
+dc
 18
 42
 7e
@@ -6051,11 +6047,11 @@
 c0
 00
 05
-cf
+ce
 c0
 00
 85
-d1
+d0
 20
 60
 00
@@ -6092,8 +6088,8 @@
 20
 26
 f6
-dc
-93
+cc
+b4
 aa
 55
 40
@@ -7465,13 +7461,13 @@
 03
 01
 00
-36
+32
 1d
 55
 aa
 aa
 55
-c5
+c1
 98
-25
-a1
+76
+94
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/program.lis	(revision 1864)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/program.lis	(working copy)
@@ -18,7 +18,7 @@
 000f c065022c beq patch19_2 ,p_mouse_lpm_before_common 
 0010 c06600c6 beq patch19_4 ,p_mouse_adc_read_start 
 0011 c06704a5 beq patch19_6 ,p_mouse_motion 
-0012 c06785ba beq patch19_7 ,p_mouse_dpi_process 
+0012 c06785b9 beq patch19_7 ,p_mouse_dpi_process 
 0013 c0680303 beq patch1a_0 ,p_mouse_seting_dpi 
 0014 c069855f beq patch1a_3 ,p_mouse_init_sunt 
 0015 c068850e beq patch1a_1 ,p_mouse_check_key_gpio 
@@ -48,7 +48,7 @@
 002b c07482c3 beq patch3d_1 ,p_g24_reconn_dispatch 
 002c c0750189 beq patch3d_2 ,p_g24_transmit_no_interrupt 
 002d c0760498 beq patch3d_4 ,p_g24_lpm_wait 
-002e c07685ea beq patch3d_5 ,p_power_ctrl_start 
+002e c07685e9 beq patch3d_5 ,p_power_ctrl_start 
 002f 2020137c branch loop 
 
 p_soft_reset:
@@ -1823,7 +1823,7 @@
 0546 20404990 call mouse_low_voltage_led_no_enter_lpm 
 0547 20407936 call ui_check_paring_button 
 0548 2040054b call p_mouse_dpi_check 
-0549 20400579 call p_mouse_dpi_another_gpio_check 
+0549 20400578 call p_mouse_dpi_another_gpio_check 
 054a 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
@@ -1876,196 +1876,195 @@
 
 p_mouse_om16_init_param:
 056d 7049270c jam om16 ,mem_config_sensor_type 
-056e 202046ee branch mouse_dpi_4level_enable 
+056e 20600000 rtn 
 
 p_mouse_om18_init_param:
 056f 7049270d jam om18 ,mem_config_sensor_type 
 0570 58008006 setarg 0x8006 
 0571 20405b0c call twspi_write 
-0572 20400577 call p_delay_15ms 
+0572 20400576 call p_delay_15ms 
 0573 da604ca9 arg mem_sensor_om18_init ,regc 
 0574 2040422b call mouse_sensor_wr_seq 
-0575 204046ee call mouse_dpi_4level_enable 
-0576 20200305 branch p_mouse_seting_sensor_type 
+0575 20200305 branch p_mouse_seting_sensor_type 
 
 p_delay_15ms:
-0577 df20000f arg 15 ,loopcnt 
-0578 20207d13 branch delay_ms_wait 
+0576 df20000f arg 15 ,loopcnt 
+0577 20207d13 branch delay_ms_wait 
 
 p_mouse_dpi_another_gpio_check:
-0579 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-057a c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-057b 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-057c 243a0582 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0578 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0579 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+057a 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+057b 243a0581 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-057d 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-057e 20400540 call p_mouse_gpio_config_output_high 
-057f 20400592 call p_mouse_dpi_another_check 
-0580 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0581 20203f56 branch mouse_gpio_config_input_pu 
+057c 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+057d 20400540 call p_mouse_gpio_config_output_high 
+057e 20400591 call p_mouse_dpi_another_check 
+057f 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0580 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-0582 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0583 793ffe07 set0 gpio_active_bit ,pdata 
-0584 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-0585 20400543 call p_mouse_gpio_config_output_low 
-0586 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0587 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0588 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-0589 204005ab call p_mouse_check_key_connect_vin_new 
-058a 20400596 call p_mouse_dpi_another_state_check 
-058b 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-058c 20203f56 branch mouse_gpio_config_input_pu 
+0581 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0582 793ffe07 set0 gpio_active_bit ,pdata 
+0583 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0584 20400543 call p_mouse_gpio_config_output_low 
+0585 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0586 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0587 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0588 204005aa call p_mouse_check_key_connect_vin_new 
+0589 20400595 call p_mouse_dpi_another_state_check 
+058a 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+058b 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-058d 20403f56 call mouse_gpio_config_input_pu 
-058e 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-058f c1008000 rtneq dpi_button_state_down 
-0590 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0591 20204069 branch mouse_dpi_process 
+058c 20403f56 call mouse_gpio_config_input_pu 
+058d 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+058e c1008000 rtneq dpi_button_state_down 
+058f 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0590 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-0592 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0593 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0594 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-0595 204005a1 call p_mouse_check_key_connect_gnd_new 
+0591 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0592 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0593 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0594 204005a0 call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-0596 67e0cc3c store 1 ,mem_dpi_another_press_status 
-0597 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-0598 203a059d branch p_mouse_dpi_another_up ,blank 
+0595 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0596 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0597 203a059c branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-0599 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-059a c1008000 rtneq dpi_button_state_down 
-059b 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-059c 20204069 branch mouse_dpi_process 
+0598 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+0599 c1008000 rtneq dpi_button_state_down 
+059a 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+059b 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-059d 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-059e c1000000 rtneq dpi_button_state_up 
-059f 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-05a0 20600000 rtn 
+059c 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+059d c1000000 rtneq dpi_button_state_up 
+059e 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+059f 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-05a1 1fe3fe00 lshift pdata ,pdata 
-05a2 1fe22400 copy pdata ,regb 
-05a3 20406059 call gpio_get_bit 
-05a4 7920a400 setflag true ,0 ,regb 
-05a5 1a417e07 and regb ,0x07 ,pdata 
-05a6 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05a7 18420e00 copy temp ,queue 
-05a8 c00385b6 beq 0x07 ,p_mouse_key_press 
-05a9 c00005b8 beq 0x00 ,p_mouse_key_release 
-05aa 20600000 rtn 
+05a0 1fe3fe00 lshift pdata ,pdata 
+05a1 1fe22400 copy pdata ,regb 
+05a2 20406059 call gpio_get_bit 
+05a3 7920a400 setflag true ,0 ,regb 
+05a4 1a417e07 and regb ,0x07 ,pdata 
+05a5 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05a6 18420e00 copy temp ,queue 
+05a7 c00385b5 beq 0x07 ,p_mouse_key_press 
+05a8 c00005b7 beq 0x00 ,p_mouse_key_release 
+05a9 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-05ab 1fe3fe00 lshift pdata ,pdata 
-05ac 1fe22400 copy pdata ,regb 
-05ad 20403f54 call mouse_gpio_config_input_pd 
-05ae 20406059 call gpio_get_bit 
-05af 7920a400 setflag true ,0 ,regb 
-05b0 1a417e07 and regb ,0x07 ,pdata 
-05b1 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05b2 18420e00 copy temp ,queue 
-05b3 c00385b6 beq 0x07 ,p_mouse_key_press 
-05b4 c00005b8 beq 0x00 ,p_mouse_key_release 
-05b5 20600000 rtn 
+05aa 1fe3fe00 lshift pdata ,pdata 
+05ab 1fe22400 copy pdata ,regb 
+05ac 20403f54 call mouse_gpio_config_input_pd 
+05ad 20406059 call gpio_get_bit 
+05ae 7920a400 setflag true ,0 ,regb 
+05af 1a417e07 and regb ,0x07 ,pdata 
+05b0 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05b1 18420e00 copy temp ,queue 
+05b2 c00385b5 beq 0x07 ,p_mouse_key_press 
+05b3 c00005b7 beq 0x00 ,p_mouse_key_release 
+05b4 20600000 rtn 
 
 p_mouse_key_press:
-05b6 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-05b7 20600000 rtn 
+05b5 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+05b6 20600000 rtn 
 
 p_mouse_key_release:
-05b8 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-05b9 20600000 rtn 
+05b7 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+05b8 20600000 rtn 
 
 p_mouse_dpi_process:
-05ba 20404072 call mouse_dpi_ghost_check 
-05bb 20740000 rtn user 
-05bc 6fe0c992 fetch 1 ,mem_mouse_dpi 
-05bd 1fe20400 copy pdata ,temp 
-05be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05bf c29e85c6 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-05c0 18427e00 copy temp ,pdata 
-05c1 1fe0fe01 increase 1 ,pdata 
-05c2 1fe17e03 and pdata ,0x03 ,pdata 
+05b9 20404072 call mouse_dpi_ghost_check 
+05ba 20740000 rtn user 
+05bb 6fe0c992 fetch 1 ,mem_mouse_dpi 
+05bc 1fe20400 copy pdata ,temp 
+05bd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05be c29e85c5 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+05bf 18427e00 copy temp ,pdata 
+05c0 1fe0fe01 increase 1 ,pdata 
+05c1 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-05c3 67e0c992 store 1 ,mem_mouse_dpi 
-05c4 20404095 call mouse_seting_dpi 
-05c5 202045ee branch mouse_store_device_info_delay 
+05c2 67e0c992 store 1 ,mem_mouse_dpi 
+05c3 20404095 call mouse_seting_dpi 
+05c4 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-05c6 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05c7 243a05e3 nbranch p_mouse_another_dpi_button_down ,blank 
+05c5 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05c6 243a05e2 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-05c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05c9 c28e05d7 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-05ca 18427e00 copy temp ,pdata 
-05cb c1008000 rtneq mouse_dpi_level2 
+05c7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05c8 c28e05d6 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+05c9 18427e00 copy temp ,pdata 
+05ca c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-05cc c00005d3 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05cd c00105d1 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-05ce 20600000 rtn 
+05cb c00005d2 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05cc c00105d0 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+05cd 20600000 rtn 
 
 p_mouse_dpi_level_1:
-05cf 58000002 setarg 2 
-05d0 202005c3 branch p_mouse_dpi_store 
+05ce 58000002 setarg 2 
+05cf 202005c2 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-05d1 58000000 setarg 0 
-05d2 202005c3 branch p_mouse_dpi_store 
+05d0 58000000 setarg 0 
+05d1 202005c2 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-05d3 58000001 setarg 1 
-05d4 202005c3 branch p_mouse_dpi_store 
+05d2 58000001 setarg 1 
+05d3 202005c2 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-05d5 58000003 setarg 3 
-05d6 202005c3 branch p_mouse_dpi_store 
+05d4 58000003 setarg 3 
+05d5 202005c2 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-05d7 18427e00 copy temp ,pdata 
-05d8 c1008000 rtneq mouse_dpi_level2 
-05d9 c00005d3 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05da c00105d5 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-05db c00185d1 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-05dc 20600000 rtn 
+05d6 18427e00 copy temp ,pdata 
+05d7 c1008000 rtneq mouse_dpi_level2 
+05d8 c00005d2 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05d9 c00105d4 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+05da c00185d0 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+05db 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-05dd 18427e00 copy temp ,pdata 
-05de c1010000 rtneq mouse_dpi_level3 
-05df c00005d5 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-05e0 c00085d1 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05e1 c00185cf beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-05e2 20600000 rtn 
+05dc 18427e00 copy temp ,pdata 
+05dd c1010000 rtneq mouse_dpi_level3 
+05de c00005d4 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+05df c00085d0 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05e0 c00185ce beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+05e1 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-05e3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05e4 c28e05dd bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-05e5 18427e00 copy temp ,pdata 
-05e6 c1010000 rtneq mouse_dpi_level3 
+05e2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05e3 c28e05dc bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+05e4 18427e00 copy temp ,pdata 
+05e5 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-05e7 c00005cf beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-05e8 c00085d1 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05e9 20600000 rtn 
+05e6 c00005ce beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+05e7 c00085d0 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05e8 20600000 rtn 
 
 p_power_ctrl_start:
-05ea 6fe1478c fetch 2 ,mem_ui_state_map 
-05eb c3858000 rtnbit1 ui_state_ble_adv 
-05ec c3838000 rtnbit1 ui_state_bt_reconnect 
-05ed c3830000 rtnbit1 ui_state_bt_discovery 
-05ee 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-05ef 204025cb call rssi_average 
-05f0 6048c8c7 storet 1 ,mem_rssi_avg_received 
-05f1 202026f6 branch power_ctrl_rssi_avg_compare 
+05e9 6fe1478c fetch 2 ,mem_ui_state_map 
+05ea c3858000 rtnbit1 ui_state_ble_adv 
+05eb c3838000 rtnbit1 ui_state_bt_reconnect 
+05ec c3830000 rtnbit1 ui_state_bt_discovery 
+05ed 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+05ee 204025cb call rssi_average 
+05ef 6048c8c7 storet 1 ,mem_rssi_avg_received 
+05f0 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/ramcode.rom	(revision 1864)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/output/ramcode.rom	(working copy)
@@ -16,7 +16,7 @@
 c065022c
 c06600c6
 c06704a5
-c06785ba
+c06785b9
 c0680303
 c069855f
 c068850e
@@ -44,7 +44,7 @@
 c07482c3
 c0750189
 c0760498
-c07685ea
+c07685e9
 2020137c
 20800000
 204030f3
@@ -1351,7 +1351,7 @@
 20404990
 20407936
 2040054b
-20400579
+20400578
 2020464f
 6fe44bab
 c2974036
@@ -1388,24 +1388,23 @@
 c029056d
 202041bd
 7049270c
-202046ee
+20600000
 7049270d
 58008006
 20405b0c
-20400577
+20400576
 da604ca9
 2040422b
-204046ee
 20200305
 df20000f
 20207d13
 6fe44bab
 c41e8000
 6fe0cc3a
-243a0582
+243a0581
 6fe0cc3b
 20400540
-20400592
+20400591
 6848cc3b
 20203f56
 6fe0cc3b
@@ -1415,8 +1414,8 @@
 704c3f00
 6848cc3b
 6fe0cc3c
-204005ab
-20400596
+204005aa
+20400595
 6848cc3b
 20203f56
 20403f56
@@ -1427,10 +1426,10 @@
 704c3f00
 6848cc3b
 6fe0cc3c
-204005a1
+204005a0
 67e0cc3c
 6fe0cc3e
-203a059d
+203a059c
 6fe0cc3d
 c1008000
 704c3d01
@@ -1446,8 +1445,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385b6
-c00005b8
+c00385b5
+c00005b7
 20600000
 1fe3fe00
 1fe22400
@@ -1457,8 +1456,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385b6
-c00005b8
+c00385b5
+c00005b7
 20600000
 704c3e01
 20600000
@@ -1469,7 +1468,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e85c6
+c29e85c5
 18427e00
 1fe0fe01
 1fe17e03
@@ -1477,40 +1476,40 @@
 20404095
 202045ee
 6fe0cc3e
-243a05e3
+243a05e2
 6fe44bab
-c28e05d7
+c28e05d6
 18427e00
 c1008000
-c00005d3
-c00105d1
+c00005d2
+c00105d0
 20600000
 58000002
-202005c3
+202005c2
 58000000
-202005c3
+202005c2
 58000001
-202005c3
+202005c2
 58000003
-202005c3
+202005c2
 18427e00
 c1008000
-c00005d3
-c00105d5
-c00185d1
+c00005d2
+c00105d4
+c00185d0
 20600000
 18427e00
 c1010000
-c00005d5
-c00085d1
-c00185cf
+c00005d4
+c00085d0
+c00185ce
 20600000
 6fe44bab
-c28e05dd
+c28e05dc
 18427e00
 c1010000
-c00005cf
-c00085d1
+c00005ce
+c00085d0
 20600000
 6fe1478c
 c3858000
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/program/patch.prog	(revision 1864)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/program/patch.prog	(working copy)
@@ -2078,7 +2078,8 @@
 */
 p_mouse_om16_init_param:
 	jam OM16,mem_config_sensor_type
-	branch mouse_dpi_4level_enable
+	//branch mouse_dpi_4level_enable
+	rtn
 
 p_mouse_om18_init_param:
 	jam OM18,mem_config_sensor_type
@@ -2087,7 +2088,7 @@
 	call p_delay_15ms
 	arg mem_sensor_om18_init,regc
 	call mouse_sensor_wr_seq
-	call mouse_dpi_4level_enable
+	//call mouse_dpi_4level_enable
 	branch p_mouse_seting_sensor_type
 
 p_delay_15ms:
Index: /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/sched/mouse.dat	(added)
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/sched/mouse.dat	(revision 0)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/bt/mouse_public_sdk/sched/mouse.dat	(revision 0)
