Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/Only_24G_G222/output/eeprom.dat	(revision 3109)
+++ /YC1308AF/branch/mouse/YDN_Project/Only_24G_G222/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-5a
+6e
 19
 c2
 84
@@ -55,19 +55,19 @@
 c0
 66
 85
-ec
+f1
 c0
 67
 04
-6f
+74
 c0
 67
 84
-a2
+a7
 c0
 68
 06
-13
+18
 c0
 69
 03
@@ -79,7 +79,7 @@
 c0
 6a
 84
-f4
+f9
 c0
 6c
 02
@@ -111,15 +111,15 @@
 c0
 42
 85
-e1
+e6
 c0
 53
 05
-e5
+ea
 c0
 6e
 85
-62
+67
 c0
 6f
 02
@@ -131,15 +131,15 @@
 c0
 71
 05
-6d
+72
 c0
 71
 85
-95
+9a
 c0
 74
 85
-9f
+a4
 c0
 75
 01
@@ -147,7 +147,7 @@
 c0
 76
 05
-d6
+db
 20
 20
 13
@@ -1595,7 +1595,7 @@
 24
 34
 05
-1c
+21
 20
 40
 02
@@ -3235,7 +3235,7 @@
 da
 40
 05
-44
+49
 20
 20
 45
@@ -3259,7 +3259,7 @@
 c0
 00
 05
-54
+59
 20
 20
 43
@@ -3803,7 +3803,7 @@
 20
 20
 04
-a4
+a9
 20
 40
 03
@@ -3931,7 +3931,7 @@
 20
 40
 06
-43
+48
 d8
 40
 00
@@ -4163,7 +4163,7 @@
 20
 40
 04
-df
+e4
 d8
 e0
 00
@@ -4247,7 +4247,7 @@
 20
 40
 06
-46
+4b
 68
 48
 c9
@@ -4279,7 +4279,7 @@
 20
 40
 06
-43
+48
 20
 40
 04
@@ -4307,7 +4307,7 @@
 20
 40
 06
-46
+4b
 70
 4c
 20
@@ -4531,11 +4531,31 @@
 24
 41
 04
-6d
+72
 20
 20
 04
-7b
+80
+18
+42
+7e
+00
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+24
+41
+04
+72
+20
+20
+04
+80
 58
 00
 00
@@ -4567,7 +4587,7 @@
 c2
 9e
 84
-7e
+83
 6f
 e0
 c9
@@ -4579,7 +4599,7 @@
 c0
 01
 84
-68
+6d
 18
 42
 7e
@@ -4611,7 +4631,7 @@
 24
 3a
 04
-9b
+a0
 6f
 e4
 4b
@@ -4619,7 +4639,7 @@
 c2
 8e
 04
-8f
+94
 18
 42
 7e
@@ -4631,11 +4651,11 @@
 c0
 00
 04
-8b
+90
 c0
 01
 04
-89
+8e
 20
 60
 00
@@ -4647,7 +4667,7 @@
 20
 20
 04
-7b
+80
 58
 00
 00
@@ -4655,7 +4675,7 @@
 20
 20
 04
-7b
+80
 58
 00
 00
@@ -4663,7 +4683,7 @@
 20
 20
 04
-7b
+80
 58
 00
 00
@@ -4671,7 +4691,7 @@
 20
 20
 04
-7b
+80
 18
 42
 7e
@@ -4683,15 +4703,15 @@
 c0
 00
 04
-8b
+90
 c0
 01
 04
-8d
+92
 c0
 01
 84
-89
+8e
 20
 60
 00
@@ -4707,15 +4727,15 @@
 c0
 00
 04
-8d
+92
 c0
 00
 84
-89
+8e
 c0
 01
 84
-87
+8c
 20
 60
 00
@@ -4727,7 +4747,7 @@
 c2
 8e
 04
-95
+9a
 18
 42
 7e
@@ -4739,11 +4759,11 @@
 c0
 00
 04
-87
+8c
 c0
 00
 84
-89
+8e
 20
 60
 00
@@ -4751,11 +4771,11 @@
 20
 40
 04
-a9
+ae
 20
 40
 04
-d1
+d6
 6f
 e0
 c9
@@ -4763,15 +4783,15 @@
 c0
 06
 04
-c1
+c6
 c0
 01
-84
-c1
+c0
+fb
 c0
 06
 84
-ad
+b2
 20
 20
 40
@@ -4799,15 +4819,15 @@
 c0
 00
 04
-b1
+b6
 c0
 00
 84
-b4
+b9
 c0
 01
 04
-b7
+bc
 6f
 e0
 cc
@@ -4819,7 +4839,7 @@
 20
 20
 04
-b9
+be
 6f
 e0
 cc
@@ -4831,7 +4851,7 @@
 20
 20
 04
-b9
+be
 6f
 e0
 cc
@@ -4879,23 +4899,23 @@
 c0
 00
 04
-c9
+ce
 c0
 00
 84
-c7
+cc
 c0
 01
 04
-cb
+d0
 c0
 01
 84
-cd
+d2
 c0
 02
 04
-cf
+d4
 6f
 e0
 cc
@@ -4983,7 +5003,7 @@
 20
 3a
 04
-df
+e4
 67
 e0
 cb
@@ -5043,11 +5063,11 @@
 20
 41
 04
-ee
+f3
 24
 41
 04
-f2
+f7
 20
 20
 49
@@ -5083,15 +5103,15 @@
 c0
 1e
 05
-02
+07
 c0
 1c
 84
-f9
+fe
 c0
 1d
 05
-13
+18
 20
 20
 43
@@ -5215,7 +5235,7 @@
 24
 3a
 05
-54
+59
 6f
 e0
 c8
@@ -5223,15 +5243,15 @@
 c0
 01
 05
-39
+3e
 c0
 02
 05
-4d
+52
 c0
 01
 85
-5d
+62
 20
 20
 48
@@ -5243,7 +5263,7 @@
 20
 5a
 05
-2b
+30
 6f
 e0
 c8
@@ -5359,11 +5379,11 @@
 c2
 97
 85
-42
+47
 c2
 98
 05
-42
+47
 c3
 1d
 48
@@ -5383,7 +5403,7 @@
 20
 22
 85
-44
+49
 20
 20
 48
@@ -5495,7 +5515,7 @@
 20
 20
 05
-21
+26
 6f
 e4
 4b
@@ -5539,7 +5559,7 @@
 24
 34
 05
-63
+68
 20
 40
 26
@@ -5587,7 +5607,7 @@
 c0
 00
 05
-75
+7a
 20
 60
 00
@@ -5603,19 +5623,19 @@
 c0
 00
 85
-7c
+81
 c0
 01
 05
-7e
+83
 c0
 01
 85
-84
+89
 c0
 02
 05
-8a
+8f
 20
 60
 00
@@ -5627,7 +5647,7 @@
 20
 20
 05
-8b
+90
 6f
 e0
 c8
@@ -5635,7 +5655,7 @@
 20
 3a
 05
-82
+87
 6f
 e2
 48
@@ -5651,7 +5671,7 @@
 20
 20
 05
-8b
+90
 70
 47
 c9
@@ -5663,7 +5683,7 @@
 20
 3a
 05
-8b
+90
 6f
 e2
 48
@@ -5675,7 +5695,7 @@
 20
 20
 05
-8d
+92
 70
 47
 c9
@@ -5731,7 +5751,7 @@
 c0
 01
 05
-99
+9e
 20
 20
 23
@@ -5775,7 +5795,7 @@
 20
 3a
 05
-aa
+af
 6f
 e1
 48
@@ -5815,11 +5835,11 @@
 24
 2c
 05
-c3
+c8
 24
 37
 85
-c3
+c8
 20
 40
 26
@@ -5839,7 +5859,7 @@
 20
 22
 85
-a7
+ac
 6f
 e2
 48
@@ -5855,7 +5875,7 @@
 20
 42
 85
-bf
+c4
 6f
 e0
 c8
@@ -5935,11 +5955,11 @@
 c0
 01
 05
-cd
+d2
 c0
 02
 05
-d4
+d9
 20
 20
 25
@@ -6051,7 +6071,7 @@
 c2
 80
 85
-e9
+ee
 20
 20
 16
@@ -6082,8 +6102,8 @@
 d5
 20
 40
-05
-fc
+06
+01
 58
 00
 00
@@ -6107,7 +6127,7 @@
 20
 40
 06
-10
+15
 6f
 e0
 c8
@@ -6127,7 +6147,7 @@
 20
 40
 06
-0c
+11
 20
 20
 45
@@ -6147,11 +6167,11 @@
 c0
 06
 06
-02
+07
 c0
 05
 86
-02
+07
 20
 20
 42
@@ -6167,7 +6187,7 @@
 c0
 7f
 86
-08
+0d
 68
 48
 c9
@@ -6215,11 +6235,11 @@
 20
 40
 06
-13
+18
 20
 40
 06
-49
+4e
 20
 20
 41
@@ -6239,15 +6259,15 @@
 20
 40
 06
-1a
+1f
 20
 40
 06
-29
+2e
 20
 40
 06
-36
+3b
 20
 20
 41
@@ -6259,7 +6279,7 @@
 20
 40
 06
-43
+48
 20
 40
 41
@@ -6279,7 +6299,7 @@
 20
 40
 06
-43
+48
 20
 40
 41
@@ -6299,7 +6319,7 @@
 20
 40
 06
-43
+48
 20
 40
 41
@@ -6343,7 +6363,7 @@
 c0
 7f
 86
-32
+37
 20
 20
 41
@@ -6355,7 +6375,7 @@
 20
 40
 06
-46
+4b
 68
 48
 c9
@@ -6395,7 +6415,7 @@
 c0
 7f
 86
-3f
+44
 20
 20
 41
@@ -6407,7 +6427,7 @@
 20
 40
 06
-46
+4b
 68
 48
 c9
@@ -6459,11 +6479,11 @@
 20
 40
 06
-50
+55
 20
 40
 06
-53
+58
 20
 20
 41
@@ -6492,8 +6512,8 @@
 60
 00
 00
-75
-06
+77
+d9
 aa
 55
 40
@@ -7863,28 +7883,8 @@
 55
 23
 96
-d9
-b4
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+2b
+14
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-fa
-96
+8a
+d5
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/Only_24G_G222/output/program.lis	(revision 3109)
+++ /YC1308AF/branch/mouse/YDN_Project/Only_24G_G222/output/program.lis	(working copy)
@@ -12,13 +12,13 @@
 0009 c06303c0 beq patch18_6 ,p_mouse_app_enter_hibernate 
 000a c06403cb beq patch19_0 ,p_mouse_setgpio_hibernate 
 000b c06483ff beq patch19_1 ,p_mouse_lpm_before_common 
-000c c06685ec beq patch19_5 ,p_mouse_motion 
-000d c067046f beq patch19_6 ,p_mouse_dpi_process 
-000e c06784a2 beq patch19_7 ,p_mouse_seting_dpi 
-000f c0680613 beq patch1a_0 ,p_mouse_check_key_gpio 
+000c c06685f1 beq patch19_5 ,p_mouse_motion 
+000d c0670474 beq patch19_6 ,p_mouse_dpi_process 
+000e c06784a7 beq patch19_7 ,p_mouse_seting_dpi 
+000f c0680618 beq patch1a_0 ,p_mouse_check_key_gpio 
 0010 c0690392 beq patch1a_2 ,p_mouse_init_sunt 
 0011 c06983af beq patch1a_3 ,p_mouse_sensor_poweron 
-0012 c06a84f4 beq patch1a_5 ,p_mouse_priority_bb_event 
+0012 c06a84f9 beq patch1a_5 ,p_mouse_priority_bb_event 
 0013 c06c02e5 beq patch1b_0 ,p_mouse_bb_event_timer 
 0014 c06e8404 beq patch1b_5 ,p_mouse_idle 
 0015 c06f0031 beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
@@ -28,16 +28,16 @@
 
 pf_patch_ext:
 0019 c00f8098 beq patch23_7 ,p_twspi_reset 
-001a c04285e1 beq patch30_5 ,p_ui_timer_check 
-001b c05305e5 beq patch34_6 ,p_le_enable_phy_by_pdata 
-001c c06e8562 beq patch3b_5 ,p_g24_dispatch 
+001a c04285e6 beq patch30_5 ,p_ui_timer_check 
+001b c05305ea beq patch34_6 ,p_le_enable_phy_by_pdata 
+001c c06e8567 beq patch3b_5 ,p_g24_dispatch 
 001d c06f023a beq patch3b_6 ,p_g24_receive_packet 
 001e c07082c5 beq patch3c_1 ,p_g24_transmit 
-001f c071056d beq patch3c_2 ,p_g24_pair_dispatch 
-0020 c0718595 beq patch3c_3 ,p_g24_pair_sm_common_next 
-0021 c074859f beq patch3d_1 ,p_g24_reconn_dispatch 
+001f c0710572 beq patch3c_2 ,p_g24_pair_dispatch 
+0020 c071859a beq patch3c_3 ,p_g24_pair_sm_common_next 
+0021 c07485a4 beq patch3d_1 ,p_g24_reconn_dispatch 
 0022 c075018c beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0023 c07605d6 beq patch3d_4 ,p_g24_lpm_wait 
+0023 c07605db beq patch3d_4 ,p_g24_lpm_wait 
 0024 2020137e branch loop 
 
 p_mouse_led_on:
@@ -515,7 +515,7 @@
 
 p_g24_transmit_no_interrupt:
 018c 20402638 call g24_txdata_prep 
-018d 2434051c nbranch p_g24_nodata_transmit ,user 
+018d 24340521 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 018e 2040021f call p_g24_transmit_process 
@@ -1037,7 +1037,7 @@
 0326 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0327 da400544 arg p_mouse_24g_start_pair_mode ,regb 
+0327 da400549 arg p_mouse_24g_start_pair_mode ,regb 
 0328 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_no_data_timeout_timer:
@@ -1047,7 +1047,7 @@
 
 p_mouse_check_no_data_timeout:
 032c 6fe0c93d fetch 1 ,mem_device_flag 
-032d c0000554 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+032d c0000559 beq mode_24g_device ,p_mouse_24g_hibernate_set 
 032e 2020435b branch mouse_disconnect 
 
 p_mouse_g24_ota_reset_timer:
@@ -1265,7 +1265,7 @@
 03b4 2040426b call mouse_sensor_wr_seq 
 
 p_mouse_dpi_config:
-03b5 202004a4 branch p_mouse_seting_sensor_type 
+03b5 202004a9 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
 03b6 204003c9 call p_mouse_ka8g2_sensor_reset 
@@ -1311,7 +1311,7 @@
 03d2 6848c914 fetcht 1 ,mem_matrix_public_gpio 
 03d3 204060e6 call gpio_clr_wake 
 03d4 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-03d5 20400643 call p_mouse_gpio_config_output_high 
+03d5 20400648 call p_mouse_gpio_config_output_high 
 03d6 d8400003 arg 3 ,temp 
 03d7 20403f96 call mouse_gpio_config_input_pu 
 03d8 20403e80 call mouse_lpm_before_common 
@@ -1387,7 +1387,7 @@
 040c d8e0000c arg 12 ,queue 
 040d 20407de9 call timer_check 
 040e 247a0000 nrtn blank 
-040f 204004df call p_mouse_dpi_led_blink_init 
+040f 204004e4 call p_mouse_dpi_led_blink_init 
 
 p_mouse_g24_retransmit_100ms_timer_init:
 0410 d8e0000c arg 12 ,queue 
@@ -1416,7 +1416,7 @@
 
 p_mouse_3io6key_dpi_check:
 0423 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-0424 20400646 call p_mouse_gpio_config_output_low 
+0424 2040064b call p_mouse_gpio_config_output_low 
 0425 6848c913 fetcht 1 ,mem_dpi_button_gpio 
 0426 202041d5 branch mouse_3io6key_check 
 
@@ -1428,7 +1428,7 @@
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
 042b 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
-042c 20400643 call p_mouse_gpio_config_output_high 
+042c 20400648 call p_mouse_gpio_config_output_high 
 042d 20400440 call p_mouse_dpi_another_check 
 042e 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
 042f 20203f96 branch mouse_gpio_config_input_pu 
@@ -1437,7 +1437,7 @@
 0430 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
 0431 793ffe07 set0 gpio_active_bit ,pdata 
 0432 67e0cc1c store 1 ,mem_dpi_another_button_gpio 
-0433 20400646 call p_mouse_gpio_config_output_low 
+0433 2040064b call p_mouse_gpio_config_output_low 
 0434 704c2000 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
 0435 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
 0436 6fe0cc1d fetch 1 ,mem_dpi_another_press_status 
@@ -1513,679 +1513,686 @@
 0468 18427e00 copy temp ,pdata 
 0469 1fe0fe01 increase 1 ,pdata 
 046a 1fe67c04 sub pdata ,4 ,null 
-046b 2441046d ncall p_mouse_dpi_init ,positive 
-046c 2020047b branch p_mouse_dpi_store 
+046b 24410472 ncall p_mouse_dpi_init ,positive 
+046c 20200480 branch p_mouse_dpi_store 
+
+p_mouse_dpi_process_4_level:
+046d 18427e00 copy temp ,pdata 
+046e 1fe0fe01 increase 1 ,pdata 
+046f 1fe17e03 and pdata ,0x03 ,pdata 
+0470 24410472 ncall p_mouse_dpi_init ,positive 
+0471 20200480 branch p_mouse_dpi_store 
 
 p_mouse_dpi_init:
-046d 58000000 setarg 0 
-046e 20600000 rtn 
+0472 58000000 setarg 0 
+0473 20600000 rtn 
 
 p_mouse_dpi_process:
-046f 204040b2 call mouse_dpi_ghost_check 
-0470 20740000 rtn user 
-0471 6fe0c997 fetch 1 ,mem_mouse_dpi 
-0472 1fe20400 copy pdata ,temp 
-0473 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0474 c29e847e bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0475 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0476 c0060468 beq ka5857 ,p_mouse_dpi_process_5_level 
-0477 c0018468 beq p3212 ,p_mouse_dpi_process_5_level 
-0478 18427e00 copy temp ,pdata 
-0479 1fe0fe01 increase 1 ,pdata 
-047a 1fe17e03 and pdata ,0x03 ,pdata 
+0474 204040b2 call mouse_dpi_ghost_check 
+0475 20740000 rtn user 
+0476 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0477 1fe20400 copy pdata ,temp 
+0478 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0479 c29e8483 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+047a 6fe0c92c fetch 1 ,mem_config_sensor_type 
+047b c0060468 beq ka5857 ,p_mouse_dpi_process_5_level 
+047c c001846d beq p3212 ,p_mouse_dpi_process_4_level 
+047d 18427e00 copy temp ,pdata 
+047e 1fe0fe01 increase 1 ,pdata 
+047f 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-047b 67e0c997 store 1 ,mem_mouse_dpi 
-047c 204040d5 call mouse_seting_dpi 
-047d 2020462e branch mouse_store_device_info_delay 
+0480 67e0c997 store 1 ,mem_mouse_dpi 
+0481 204040d5 call mouse_seting_dpi 
+0482 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-047e 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
-047f 243a049b nbranch p_mouse_another_dpi_button_down ,blank 
+0483 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
+0484 243a04a0 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-0480 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0481 c28e048f bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-0482 18427e00 copy temp ,pdata 
-0483 c1008000 rtneq mouse_dpi_level2 
+0485 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0486 c28e0494 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0487 18427e00 copy temp ,pdata 
+0488 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-0484 c000048b beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0485 c0010489 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0486 20600000 rtn 
+0489 c0000490 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+048a c001048e beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+048b 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0487 58000002 setarg 2 
-0488 2020047b branch p_mouse_dpi_store 
+048c 58000002 setarg 2 
+048d 20200480 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0489 58000000 setarg 0 
-048a 2020047b branch p_mouse_dpi_store 
+048e 58000000 setarg 0 
+048f 20200480 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-048b 58000001 setarg 1 
-048c 2020047b branch p_mouse_dpi_store 
+0490 58000001 setarg 1 
+0491 20200480 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-048d 58000003 setarg 3 
-048e 2020047b branch p_mouse_dpi_store 
+0492 58000003 setarg 3 
+0493 20200480 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-048f 18427e00 copy temp ,pdata 
-0490 c1008000 rtneq mouse_dpi_level2 
-0491 c000048b beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0492 c001048d beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-0493 c0018489 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-0494 20600000 rtn 
+0494 18427e00 copy temp ,pdata 
+0495 c1008000 rtneq mouse_dpi_level2 
+0496 c0000490 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0497 c0010492 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0498 c001848e beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0499 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-0495 18427e00 copy temp ,pdata 
-0496 c1010000 rtneq mouse_dpi_level3 
-0497 c000048d beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0498 c0008489 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0499 c0018487 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-049a 20600000 rtn 
+049a 18427e00 copy temp ,pdata 
+049b c1010000 rtneq mouse_dpi_level3 
+049c c0000492 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+049d c000848e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+049e c001848c beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+049f 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-049b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-049c c28e0495 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-049d 18427e00 copy temp ,pdata 
-049e c1010000 rtneq mouse_dpi_level3 
+04a0 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04a1 c28e049a bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+04a2 18427e00 copy temp ,pdata 
+04a3 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-049f c0000487 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-04a0 c0008489 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-04a1 20600000 rtn 
+04a4 c000048c beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+04a5 c000848e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+04a6 20600000 rtn 
 
 p_mouse_seting_dpi:
-04a2 204004a9 call p_mouse_setting_dpi_4_level 
-04a3 204004d1 call p_mouse_dpi_led_blink_delay 
+04a7 204004ae call p_mouse_setting_dpi_4_level 
+04a8 204004d6 call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-04a4 6fe0c92c fetch 1 ,mem_config_sensor_type 
-04a5 c00604c1 beq ka5857 ,p_mouse_seting_3212_dpi 
-04a6 c00184c1 beq p3212 ,p_mouse_seting_3212_dpi 
-04a7 c00684ad beq s201x ,p_mouse_seting_s201_dpi 
-04a8 202040da branch mouse_seting_sensor_type + 2 
+04a9 6fe0c92c fetch 1 ,mem_config_sensor_type 
+04aa c00604c6 beq ka5857 ,p_mouse_seting_3212_dpi 
+04ab c001c0fb beq p3212 ,mouse_seting_3212_dpi 
+04ac c00684b2 beq s201x ,p_mouse_seting_s201_dpi 
+04ad 202040da branch mouse_seting_sensor_type + 2 
 
 p_mouse_setting_dpi_4_level:
-04a9 6fe0c92c fetch 1 ,mem_config_sensor_type 
-04aa c1060000 rtneq ka5857 
-04ab c1018000 rtneq p3212 
-04ac 202040cf branch mouse_setting_dpi_4_level 
+04ae 6fe0c92c fetch 1 ,mem_config_sensor_type 
+04af c1060000 rtneq ka5857 
+04b0 c1018000 rtneq p3212 
+04b1 202040cf branch mouse_setting_dpi_4_level 
 
 p_mouse_seting_s201_dpi:
-04ad 6fe0c997 fetch 1 ,mem_mouse_dpi 
-04ae c00004b1 beq mouse_dpi_level1 ,p_mouse_set_s201_dpi_0 
-04af c00084b4 beq mouse_dpi_level2 ,p_mouse_set_s201_dpi_1 
-04b0 c00104b7 beq mouse_dpi_level3 ,p_mouse_set_s201_dpi_4 
+04b2 6fe0c997 fetch 1 ,mem_mouse_dpi 
+04b3 c00004b6 beq mouse_dpi_level1 ,p_mouse_set_s201_dpi_0 
+04b4 c00084b9 beq mouse_dpi_level2 ,p_mouse_set_s201_dpi_1 
+04b5 c00104bc beq mouse_dpi_level3 ,p_mouse_set_s201_dpi_4 
 
 p_mouse_set_s201_dpi_0:
-04b1 6fe0ccca fetch 1 ,mem_sensor_s201_dpi_0 
-04b2 1fe22200 copy pdata ,rega 
-04b3 202004b9 branch p_mouse_dpi_s201_store 
+04b6 6fe0ccca fetch 1 ,mem_sensor_s201_dpi_0 
+04b7 1fe22200 copy pdata ,rega 
+04b8 202004be branch p_mouse_dpi_s201_store 
 
 p_mouse_set_s201_dpi_1:
-04b4 6fe0cccb fetch 1 ,mem_sensor_s201_dpi_1 
-04b5 1fe22200 copy pdata ,rega 
-04b6 202004b9 branch p_mouse_dpi_s201_store 
+04b9 6fe0cccb fetch 1 ,mem_sensor_s201_dpi_1 
+04ba 1fe22200 copy pdata ,rega 
+04bb 202004be branch p_mouse_dpi_s201_store 
 
 p_mouse_set_s201_dpi_4:
-04b7 6fe0ccce fetch 1 ,mem_sensor_s201_dpi_4 
-04b8 1fe22200 copy pdata ,rega 
+04bc 6fe0ccce fetch 1 ,mem_sensor_s201_dpi_4 
+04bd 1fe22200 copy pdata ,rega 
 
 p_mouse_dpi_s201_store:
-04b9 5800c309 setarg 0xc309 
-04ba 20405d5e call twspi_write 
-04bb 1a227e00 copy rega ,pdata 
-04bc 1fed7e00 lshift8 pdata ,pdata 
-04bd 1fe0fe23 add pdata ,0x23 ,pdata 
-04be 20405d5e call twspi_write 
-04bf 58000009 setarg 0x0009 
-04c0 20205d5e branch twspi_write 
+04be 5800c309 setarg 0xc309 
+04bf 20405d5e call twspi_write 
+04c0 1a227e00 copy rega ,pdata 
+04c1 1fed7e00 lshift8 pdata ,pdata 
+04c2 1fe0fe23 add pdata ,0x23 ,pdata 
+04c3 20405d5e call twspi_write 
+04c4 58000009 setarg 0x0009 
+04c5 20205d5e branch twspi_write 
 
 p_mouse_seting_3212_dpi:
-04c1 6fe0c997 fetch 1 ,mem_mouse_dpi 
-04c2 c00004c9 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi0 
-04c3 c00084c7 beq mouse_dpi_level2 ,p_mouse_set_p3212_cpi1 
-04c4 c00104cb beq mouse_dpi_level3 ,p_mouse_set_p3212_cpi2 
-04c5 c00184cd beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi3 
-04c6 c00204cf beq mouse_dpi_level5 ,p_mouse_set_p3212_cpi4 
+04c6 6fe0c997 fetch 1 ,mem_mouse_dpi 
+04c7 c00004ce beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi0 
+04c8 c00084cc beq mouse_dpi_level2 ,p_mouse_set_p3212_cpi1 
+04c9 c00104d0 beq mouse_dpi_level3 ,p_mouse_set_p3212_cpi2 
+04ca c00184d2 beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi3 
+04cb c00204d4 beq mouse_dpi_level5 ,p_mouse_set_p3212_cpi4 
 
 p_mouse_set_p3212_cpi1:
-04c7 6fe0ccd0 fetch 1 ,mem_3212_dpi_1_new 
-04c8 20204107 branch mouse_p3212_dpi 
+04cc 6fe0ccd0 fetch 1 ,mem_3212_dpi_1_new 
+04cd 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi0:
-04c9 6fe0cccf fetch 1 ,mem_3212_dpi_0_new 
-04ca 20204107 branch mouse_p3212_dpi 
+04ce 6fe0cccf fetch 1 ,mem_3212_dpi_0_new 
+04cf 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi2:
-04cb 6fe0ccd1 fetch 1 ,mem_3212_dpi_2_new 
-04cc 20204107 branch mouse_p3212_dpi 
+04d0 6fe0ccd1 fetch 1 ,mem_3212_dpi_2_new 
+04d1 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi3:
-04cd 6fe0ccd2 fetch 1 ,mem_3212_dpi_3_new 
-04ce 20204107 branch mouse_p3212_dpi 
+04d2 6fe0ccd2 fetch 1 ,mem_3212_dpi_3_new 
+04d3 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi4:
-04cf 6fe0ccd3 fetch 1 ,mem_3212_dpi_4_new 
-04d0 20204107 branch mouse_p3212_dpi 
+04d4 6fe0ccd3 fetch 1 ,mem_3212_dpi_4_new 
+04d5 20204107 branch mouse_p3212_dpi 
 
 p_mouse_dpi_led_blink_delay:
-04d1 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
-04d2 c17f8000 rtneq gpio_disable 
-04d3 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
-04d4 247a0000 nrtn blank 
-04d5 6fe14887 fetch 2 ,mem_24g_pair_timeout 
-04d6 247a0000 nrtn blank 
-04d7 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
-04d8 247a0000 nrtn blank 
-04d9 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
-04da 247a0000 nrtn blank 
-04db 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-04dc 203a04df branch p_mouse_dpi_led_blink_init ,blank 
-04dd 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
-04de 20600000 rtn 
+04d6 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+04d7 c17f8000 rtneq gpio_disable 
+04d8 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
+04d9 247a0000 nrtn blank 
+04da 6fe14887 fetch 2 ,mem_24g_pair_timeout 
+04db 247a0000 nrtn blank 
+04dc 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
+04dd 247a0000 nrtn blank 
+04de 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
+04df 247a0000 nrtn blank 
+04e0 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+04e1 203a04e4 branch p_mouse_dpi_led_blink_init ,blank 
+04e2 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
+04e3 20600000 rtn 
 
 p_mouse_dpi_led_blink_init:
-04df 6fe0c92c fetch 1 ,mem_config_sensor_type 
-04e0 c001c93f beq p3212 ,mouse_dpi_led_blink_init 
-04e1 c005c93f beq ka8g2 ,mouse_dpi_led_blink_init 
-04e2 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
-04e3 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
-04e4 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
-04e5 67e14935 store 2 ,mem_mouse_on_time 
-04e6 67e14937 store 2 ,mem_mouse_off_time 
-04e7 da200000 arg 0 ,rega 
-04e8 6848c997 fetcht 1 ,mem_mouse_dpi 
-04e9 18408402 increase 2 ,temp 
-04ea 18467c03 sub temp ,3 ,null 
-04eb 204104ee call p_mouse_dpi_led_blink_init_level_4 ,positive 
-04ec 244104f2 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-04ed 2020494c branch mouse_dpi_led_blink_init_end 
+04e4 6fe0c92c fetch 1 ,mem_config_sensor_type 
+04e5 c001c93f beq p3212 ,mouse_dpi_led_blink_init 
+04e6 c005c93f beq ka8g2 ,mouse_dpi_led_blink_init 
+04e7 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+04e8 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
+04e9 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
+04ea 67e14935 store 2 ,mem_mouse_on_time 
+04eb 67e14937 store 2 ,mem_mouse_off_time 
+04ec da200000 arg 0 ,rega 
+04ed 6848c997 fetcht 1 ,mem_mouse_dpi 
+04ee 18408402 increase 2 ,temp 
+04ef 18467c03 sub temp ,3 ,null 
+04f0 204104f3 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+04f1 244104f7 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+04f2 2020494c branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-04ee 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04ef c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-04f0 18408401 increase 1 ,temp 
-04f1 20600000 rtn 
+04f3 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04f4 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+04f5 18408401 increase 1 ,temp 
+04f6 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-04f2 184085fd increase -3 ,temp 
-04f3 20600000 rtn 
+04f7 184085fd increase -3 ,temp 
+04f8 20600000 rtn 
 
 p_mouse_priority_bb_event:
-04f4 1a627e00 copy regc ,pdata 
-04f5 c01e0502 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-04f6 c01c84f9 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-04f7 c01d0513 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-04f8 20204376 branch mouse_priority_bb_event + 2 
+04f9 1a627e00 copy regc ,pdata 
+04fa c01e0507 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+04fb c01c84fe beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+04fc c01d0518 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+04fd 20204376 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_pairing_complete:
-04f9 2040018a call p_mouse_soft_agc_disable 
-04fa 20400123 call p_mouse_fetch_normal_tx_power 
-04fb 20404584 call mouse_no_data_timer_init 
-04fc d8e00001 arg mouse_24g_pairing_flag ,queue 
-04fd 20404732 call mouse_disable_function_flag 
-04fe 20400374 call p_mouse_device_poweron_led_config 
-04ff 20404899 call mouse_24g_pairing_complete + 3 
-0500 20404631 call mouse_store_device_info 
-0501 20200380 branch p_mouse_soft_reset 
+04fe 2040018a call p_mouse_soft_agc_disable 
+04ff 20400123 call p_mouse_fetch_normal_tx_power 
+0500 20404584 call mouse_no_data_timer_init 
+0501 d8e00001 arg mouse_24g_pairing_flag ,queue 
+0502 20404732 call mouse_disable_function_flag 
+0503 20400374 call p_mouse_device_poweron_led_config 
+0504 20404899 call mouse_24g_pairing_complete + 3 
+0505 20404631 call mouse_store_device_info 
+0506 20200380 branch p_mouse_soft_reset 
 
 p_mouse_24g_attempt_success:
-0502 6fe2483f fetch 4 ,mem_24g_addr 
-0503 67e24895 store 4 ,mem_24g_receiver_addr 
-0504 67e24998 store 4 ,mem_mouse_24g_addr 
-0505 20402587 call g24_ch_syncword_crc8_init 
-0506 20400374 call p_mouse_device_poweron_led_config 
-0507 20404584 call mouse_no_data_timer_init 
-0508 2040430a call mouse_init_sensor_reset 
-0509 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-050a 7048a500 jam 0 ,mem_24g_conn_sm 
-050b 70488f00 jam 0 ,mem_24g_reconn_type 
-050c 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-050d 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-050e 98467c00 isub temp ,null 
-050f 20628000 rtn zero 
-0510 2040018a call p_mouse_soft_agc_disable 
-0511 20400123 call p_mouse_fetch_normal_tx_power 
-0512 20204861 branch mouse_24g_first_store_reconn_info 
+0507 6fe2483f fetch 4 ,mem_24g_addr 
+0508 67e24895 store 4 ,mem_24g_receiver_addr 
+0509 67e24998 store 4 ,mem_mouse_24g_addr 
+050a 20402587 call g24_ch_syncword_crc8_init 
+050b 20400374 call p_mouse_device_poweron_led_config 
+050c 20404584 call mouse_no_data_timer_init 
+050d 2040430a call mouse_init_sensor_reset 
+050e 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+050f 7048a500 jam 0 ,mem_24g_conn_sm 
+0510 70488f00 jam 0 ,mem_24g_reconn_type 
+0511 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+0512 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+0513 98467c00 isub temp ,null 
+0514 20628000 rtn zero 
+0515 2040018a call p_mouse_soft_agc_disable 
+0516 20400123 call p_mouse_fetch_normal_tx_power 
+0517 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-0513 2040018a call p_mouse_soft_agc_disable 
-0514 20400123 call p_mouse_fetch_normal_tx_power 
-0515 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-0516 243a0554 nbranch p_mouse_24g_hibernate_set ,blank 
-0517 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-0518 c0010539 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-0519 c002054d beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-051a c001855d beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-051b 20204878 branch mouse_24g_attempt_fail_enter_hibernate 
+0518 2040018a call p_mouse_soft_agc_disable 
+0519 20400123 call p_mouse_fetch_normal_tx_power 
+051a 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+051b 243a0559 nbranch p_mouse_24g_hibernate_set ,blank 
+051c 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+051d c001053e beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+051e c0020552 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+051f c0018562 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+0520 20204878 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_g24_nodata_transmit:
-051c 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-051d 205a052b call p_g24_send_abort_packet ,blank 
-051e 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-051f c1008000 rtneq g24_tx_timer_int_enable 
-0520 204026a6 call g24_search_receiver 
+0521 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+0522 205a0530 call p_g24_send_abort_packet ,blank 
+0523 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+0524 c1008000 rtneq g24_tx_timer_int_enable 
+0525 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-0521 204026c2 call g24_lpm_wait 
-0522 24740000 nrtn user 
-0523 204026cb call g24_setgpio_lpm_before 
-0524 704c4d00 jam 0 ,mem_sleep_miss 
-0525 704c4e01 jam 1 ,mem_long_sleep_flag 
-0526 2040010e call p_send_time_long_wake 
-0527 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0528 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-0529 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-052a 202026bf branch g24_long_seep2 
+0526 204026c2 call g24_lpm_wait 
+0527 24740000 nrtn user 
+0528 204026cb call g24_setgpio_lpm_before 
+0529 704c4d00 jam 0 ,mem_sleep_miss 
+052a 704c4e01 jam 1 ,mem_long_sleep_flag 
+052b 2040010e call p_send_time_long_wake 
+052c 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+052d 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+052e 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+052f 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-052b 70483901 jam type_ms ,mem_24g_data_type 
-052c 7048ab01 jam 1 ,mem_24g_abort_pac 
-052d 20402649 call g24_transmit_rf_ctrl_clear 
-052e 67e0c7c9 store 1 ,mem_24g_txbuf 
-052f 58000000 setarg 0 
-0530 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-0531 6fe248ad fetch 4 ,mem_24g_device_addr 
-0532 67e247d1 store 4 ,mem_24g_txbuf + 8 
-0533 7048380c jam 12 ,mem_24g_datalen 
-0534 6fe0c839 fetch 1 ,mem_24g_data_type 
-0535 79207e03 set1 bit_abort ,pdata 
-0536 67e0c839 store 1 ,mem_24g_data_type 
-0537 20402247 call g24_transmit_prep 
-0538 2020018e branch p_g24_transmit_start 
+0530 70483901 jam type_ms ,mem_24g_data_type 
+0531 7048ab01 jam 1 ,mem_24g_abort_pac 
+0532 20402649 call g24_transmit_rf_ctrl_clear 
+0533 67e0c7c9 store 1 ,mem_24g_txbuf 
+0534 58000000 setarg 0 
+0535 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+0536 6fe248ad fetch 4 ,mem_24g_device_addr 
+0537 67e247d1 store 4 ,mem_24g_txbuf + 8 
+0538 7048380c jam 12 ,mem_24g_datalen 
+0539 6fe0c839 fetch 1 ,mem_24g_data_type 
+053a 79207e03 set1 bit_abort ,pdata 
+053b 67e0c839 store 1 ,mem_24g_data_type 
+053c 20402247 call g24_transmit_prep 
+053d 2020018e branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0539 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-053a c2978542 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-053b c2980542 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-053c c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-053d 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-053e 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-053f 98467c00 isub temp ,null 
-0540 20228544 branch p_mouse_24g_start_pair_mode ,zero 
-0541 20204845 branch mouse_24g_reconn_dongle_start 
+053e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+053f c2978547 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0540 c2980547 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+0541 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0542 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+0543 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+0544 98467c00 isub temp ,null 
+0545 20228549 branch p_mouse_24g_start_pair_mode ,zero 
+0546 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0542 20400377 call p_mouse_device_discover_led_config 
-0543 20204851 branch mouse_24g_start_auto_pair + 1 
+0547 20400377 call p_mouse_device_discover_led_config 
+0548 20204851 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-0544 70488f00 jam 0 ,mem_24g_reconn_type 
-0545 d8e00001 arg mouse_24g_pairing_flag ,queue 
-0546 2040472e call mouse_enable_function_flag 
-0547 58000000 setarg 0 
-0548 67e1488b store 2 ,mem_24g_reconn_timeout 
-0549 204045b6 call mouse_stop_discovery 
-054a 204049db call mouse_low_voltage_led_blink_disable 
-054b 20400377 call p_mouse_device_discover_led_config 
-054c 2020486d branch mouse_24g_start_pair_mode + 7 
+0549 70488f00 jam 0 ,mem_24g_reconn_type 
+054a d8e00001 arg mouse_24g_pairing_flag ,queue 
+054b 2040472e call mouse_enable_function_flag 
+054c 58000000 setarg 0 
+054d 67e1488b store 2 ,mem_24g_reconn_timeout 
+054e 204045b6 call mouse_stop_discovery 
+054f 204049db call mouse_low_voltage_led_blink_disable 
+0550 20400377 call p_mouse_device_discover_led_config 
+0551 2020486d branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_auto_pair_attempt_fail:
-054d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-054e c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-054f 6fe0cbc5 fetch 1 ,mem_device_number 
-0550 c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
-0551 20204859 branch mouse_24g_first_bluetooth_reconnect 
+0552 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0553 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0554 6fe0cbc5 fetch 1 ,mem_device_number 
+0555 c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+0556 20204859 branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0552 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0553 c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+0557 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0558 c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_hibernate_set:
-0554 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
-0555 20402659 call g24_transmit_next_packet 
-0556 5fffffff setarg -1 
-0557 67e2485f store 4 ,mem_24g_enter_hibernate 
-0558 58000000 setarg 0 
-0559 67e3c8d4 store 7 ,mem_mouse_key 
-055a 704bf201 jam 1 ,mem_sensor_shutdown_flag 
-055b 204003b9 call p_mouse_sensor_powerdown 
-055c 20200521 branch p_g24_long_sleep 
+0559 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
+055a 20402659 call g24_transmit_next_packet 
+055b 5fffffff setarg -1 
+055c 67e2485f store 4 ,mem_24g_enter_hibernate 
+055d 58000000 setarg 0 
+055e 67e3c8d4 store 7 ,mem_mouse_key 
+055f 704bf201 jam 1 ,mem_sensor_shutdown_flag 
+0560 204003b9 call p_mouse_sensor_powerdown 
+0561 20200526 branch p_g24_long_sleep 
 
 p_mouse_reconn_dongle_attempt_fail:
-055d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-055e c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-055f c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-0560 c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-0561 20204851 branch mouse_24g_start_auto_pair + 1 
+0562 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0563 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0564 c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0565 c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+0566 20204851 branch mouse_24g_start_auto_pair + 1 
 
 p_g24_dispatch:
-0562 c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0567 c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-0563 c6930000 rtnmark0 mark_24g 
-0564 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-0565 20202624 branch g24_transmit_dispatch + 2 
+0568 c6930000 rtnmark0 mark_24g 
+0569 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+056a 20202624 branch g24_transmit_dispatch + 2 
 
 p_g24_transmit_by_interrupt:
-0566 204022a0 call g24_timer_check 
-0567 24340563 nbranch p_g24_transmit_dispatch ,user 
-0568 204026e2 call g24_interval_calibrate 
-0569 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-056a 1fe0fe01 increase 1 ,pdata 
-056b 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-056c 20202628 branch g24_transmit_no_interrupt 
+056b 204022a0 call g24_timer_check 
+056c 24340568 nbranch p_g24_transmit_dispatch ,user 
+056d 204026e2 call g24_interval_calibrate 
+056e 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+056f 1fe0fe01 increase 1 ,pdata 
+0570 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0571 20202628 branch g24_transmit_no_interrupt 
 
 p_g24_pair_dispatch:
-056d 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-056e 6fe14bfd fetch 2 ,mem_24g_pair_count 
-056f 1fe0fe01 increase 1 ,pdata 
-0570 67e14bfd store 2 ,mem_24g_pair_count 
-0571 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-0572 1fe17eff and pdata ,0xff ,pdata 
-0573 c0000575 beq 0 ,p_g24_pair_dispatch2 
-0574 20600000 rtn 
+0572 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+0573 6fe14bfd fetch 2 ,mem_24g_pair_count 
+0574 1fe0fe01 increase 1 ,pdata 
+0575 67e14bfd store 2 ,mem_24g_pair_count 
+0576 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+0577 1fe17eff and pdata ,0xff ,pdata 
+0578 c000057a beq 0 ,p_g24_pair_dispatch2 
+0579 20600000 rtn 
 
 p_g24_pair_dispatch2:
-0575 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-0576 c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
-0577 c000857c beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-0578 c001057e beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-0579 c0018584 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-057a c002058a beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-057b 20600000 rtn 
+057a 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+057b c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
+057c c0008581 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+057d c0010583 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+057e c0018589 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+057f c002058f beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+0580 20600000 rtn 
 
 p_g24_pair_sm_1:
-057c 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
-057d 2020058b branch p_g24_pair_sm_prep 
+0581 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
+0582 20200590 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-057e 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-057f 203a0582 branch p_g24_pair_sm_2_skip ,blank 
-0580 6fe248ad fetch 4 ,mem_24g_device_addr 
-0581 20402292 call g24_update_addr_and_synccrc8 
+0583 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0584 203a0587 branch p_g24_pair_sm_2_skip ,blank 
+0585 6fe248ad fetch 4 ,mem_24g_device_addr 
+0586 20402292 call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-0582 7047c9aa jam datatype_bind ,mem_24g_txbuf 
-0583 2020058b branch p_g24_pair_sm_prep 
+0587 7047c9aa jam datatype_bind ,mem_24g_txbuf 
+0588 20200590 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-0584 7047c955 jam datatype_config ,mem_24g_txbuf 
-0585 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0586 203a058b branch p_g24_pair_sm_prep ,blank 
-0587 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-0588 67e247cb store 4 ,mem_24g_txbuf + 2 
-0589 2020058d branch p_g24_pair_sm_common 
+0589 7047c955 jam datatype_config ,mem_24g_txbuf 
+058a 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+058b 203a0590 branch p_g24_pair_sm_prep ,blank 
+058c 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+058d 67e247cb store 4 ,mem_24g_txbuf + 2 
+058e 20200592 branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-058a 7047c922 jam datatype_ok ,mem_24g_txbuf 
+058f 7047c922 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-058b 6fe248ad fetch 4 ,mem_24g_device_addr 
-058c 67e247cb store 4 ,mem_24g_txbuf + 2 
+0590 6fe248ad fetch 4 ,mem_24g_device_addr 
+0591 67e247cb store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-058d 6fe0c839 fetch 1 ,mem_24g_data_type 
-058e 1fe17e07 and_into bits_data ,pdata 
-058f 67e0c7ca store 1 ,mem_24g_txbuf + 1 
-0590 7047cf00 jam 0 ,mem_24g_txbuf + 6 
-0591 70483807 jam 7 ,mem_24g_datalen 
-0592 20402247 call g24_transmit_prep 
-0593 2040022b call p_g24_transmit_receive_ack 
-0594 20202316 branch g24_pair_sm_common + 7 
+0592 6fe0c839 fetch 1 ,mem_24g_data_type 
+0593 1fe17e07 and_into bits_data ,pdata 
+0594 67e0c7ca store 1 ,mem_24g_txbuf + 1 
+0595 7047cf00 jam 0 ,mem_24g_txbuf + 6 
+0596 70483807 jam 7 ,mem_24g_datalen 
+0597 20402247 call g24_transmit_prep 
+0598 2040022b call p_g24_transmit_receive_ack 
+0599 20202316 branch g24_pair_sm_common + 7 
 
 p_g24_pair_sm_common_next:
-0595 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-0596 c17f8000 rtneq state_24g_pairing_success 
-0597 c0010599 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
-0598 2020231d branch g24_pair_sm_common_next + 2 
+059a 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+059b c17f8000 rtneq state_24g_pairing_success 
+059c c001059e beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
+059d 2020231d branch g24_pair_sm_common_next + 2 
 
 p_g24_pair_sm_2_waiting_ack:
-0599 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-059a 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
-059b 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-059c 207a0000 rtn blank 
-059d 67e24895 store 4 ,mem_24g_receiver_addr 
-059e 2020232d branch g24_pair_sm_2_waiting_ack_skip 
+059e 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+059f 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
+05a0 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+05a1 207a0000 rtn blank 
+05a2 67e24895 store 4 ,mem_24g_receiver_addr 
+05a3 2020232d branch g24_pair_sm_2_waiting_ack_skip 
 
 p_g24_reconn_dispatch:
-059f 6fe1488d fetch 2 ,mem_24g_reconn_count 
-05a0 d84001f8 arg 0x01f8 ,temp 
-05a1 98417e00 iand temp ,pdata 
-05a2 203a05aa branch p_g24_reconn_dispatch_next ,blank 
-05a3 6fe1488d fetch 2 ,mem_24g_reconn_count 
-05a4 1fe0fe01 increase 1 ,pdata 
-05a5 67e1488d store 2 ,mem_24g_reconn_count 
-05a6 20600000 rtn 
+05a4 6fe1488d fetch 2 ,mem_24g_reconn_count 
+05a5 d84001f8 arg 0x01f8 ,temp 
+05a6 98417e00 iand temp ,pdata 
+05a7 203a05af branch p_g24_reconn_dispatch_next ,blank 
+05a8 6fe1488d fetch 2 ,mem_24g_reconn_count 
+05a9 1fe0fe01 increase 1 ,pdata 
+05aa 67e1488d store 2 ,mem_24g_reconn_count 
+05ab 20600000 rtn 
 
 p_g24_reconn_mode_judge:
-05a7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-05a8 c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-05a9 20202577 branch g24_reconn_receiver_addr 
+05ac 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+05ad c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+05ae 20202577 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_dispatch_next:
-05aa 204025a3 call g24_reconn_data_prep 
-05ab 2040022b call p_g24_transmit_receive_ack 
-05ac 242c05c3 nbranch p_g24_reconn_device_fail ,sync 
-05ad 243785c3 nbranch p_g24_reconn_device_fail ,user3 
-05ae 20402679 call g24_ackpayload_parse 
-05af 6fe2487b fetch 4 ,mem_24g_pair_addr 
-05b0 684a483f fetcht 4 ,mem_24g_addr 
-05b1 98467c00 isub temp ,null 
-05b2 202285a7 branch p_g24_reconn_mode_judge ,zero 
-05b3 6fe248ad fetch 4 ,mem_24g_device_addr 
-05b4 684a483f fetcht 4 ,mem_24g_addr 
-05b5 98467c00 isub temp ,null 
-05b6 204285bf call p_g24_store_receiver_addr ,zero 
-05b7 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-05b8 793ffe02 set0 state_24g_reconn ,pdata 
-05b9 67e0c8a5 store 1 ,mem_24g_conn_sm 
-05ba 58000000 setarg 0 
-05bb 67e14887 store 2 ,mem_24g_pair_timeout 
-05bc 67e1488d store 2 ,mem_24g_reconn_count 
-05bd 67e1488b store 2 ,mem_24g_reconn_timeout 
-05be 2020259e branch g24_reconn_attempt_success 
+05af 204025a3 call g24_reconn_data_prep 
+05b0 2040022b call p_g24_transmit_receive_ack 
+05b1 242c05c8 nbranch p_g24_reconn_device_fail ,sync 
+05b2 243785c8 nbranch p_g24_reconn_device_fail ,user3 
+05b3 20402679 call g24_ackpayload_parse 
+05b4 6fe2487b fetch 4 ,mem_24g_pair_addr 
+05b5 684a483f fetcht 4 ,mem_24g_addr 
+05b6 98467c00 isub temp ,null 
+05b7 202285ac branch p_g24_reconn_mode_judge ,zero 
+05b8 6fe248ad fetch 4 ,mem_24g_device_addr 
+05b9 684a483f fetcht 4 ,mem_24g_addr 
+05ba 98467c00 isub temp ,null 
+05bb 204285c4 call p_g24_store_receiver_addr ,zero 
+05bc 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+05bd 793ffe02 set0 state_24g_reconn ,pdata 
+05be 67e0c8a5 store 1 ,mem_24g_conn_sm 
+05bf 58000000 setarg 0 
+05c0 67e14887 store 2 ,mem_24g_pair_timeout 
+05c1 67e1488d store 2 ,mem_24g_reconn_count 
+05c2 67e1488b store 2 ,mem_24g_reconn_timeout 
+05c3 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-05bf 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-05c0 207a0000 rtn blank 
-05c1 67e24895 store 4 ,mem_24g_receiver_addr 
-05c2 20202587 branch g24_ch_syncword_crc8_init 
+05c4 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+05c5 207a0000 rtn blank 
+05c6 67e24895 store 4 ,mem_24g_receiver_addr 
+05c7 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-05c3 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-05c4 203a2281 branch g24_ch ,blank 
-05c5 6fe1488d fetch 2 ,mem_24g_reconn_count 
-05c6 1fe0fe01 increase 1 ,pdata 
-05c7 67e1488d store 2 ,mem_24g_reconn_count 
-05c8 2feffe09 isolate1 9 ,pdata 
-05c9 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-05ca c00105cd beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
-05cb c00205d4 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-05cc 202025b1 branch g24_reconn_device_fail + 7 
+05c8 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+05c9 203a2281 branch g24_ch ,blank 
+05ca 6fe1488d fetch 2 ,mem_24g_reconn_count 
+05cb 1fe0fe01 increase 1 ,pdata 
+05cc 67e1488d store 2 ,mem_24g_reconn_count 
+05cd 2feffe09 isolate1 9 ,pdata 
+05ce 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+05cf c00105d2 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
+05d0 c00205d9 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+05d1 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_fast_conn_and_3_0:
-05cd 6fe0ccd4 fetch 1 ,mem_24g_reconn_pairing_switch 
-05ce 1fe0fe01 increase 1 ,pdata 
-05cf 1fe17e03 and_into 3 ,pdata 
-05d0 67e0ccd4 store 1 ,mem_24g_reconn_pairing_switch 
-05d1 c000257e beq 0 ,g24_reconn_device_3_0_addr 
-05d2 c001256f beq 2 ,g24_reconn_fast_conn 
-05d3 202022ef branch g24_pair_init_param 
+05d2 6fe0ccd4 fetch 1 ,mem_24g_reconn_pairing_switch 
+05d3 1fe0fe01 increase 1 ,pdata 
+05d4 1fe17e03 and_into 3 ,pdata 
+05d5 67e0ccd4 store 1 ,mem_24g_reconn_pairing_switch 
+05d6 c000257e beq 0 ,g24_reconn_device_3_0_addr 
+05d7 c001256f beq 2 ,g24_reconn_fast_conn 
+05d8 202022ef branch g24_pair_init_param 
 
 p_g24_reconn_pair_and_3_0:
-05d4 2020a57e branch g24_reconn_device_3_0_addr ,true 
-05d5 202022ef branch g24_pair_init_param 
+05d9 2020a57e branch g24_reconn_device_3_0_addr ,true 
+05da 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-05d6 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-05d7 243a7ec7 nbranch disable_user ,blank 
-05d8 78347c00 enable user 
-05d9 20401436 call lpo_calibration 
-05da 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-05db 203a7ec7 branch disable_user ,blank 
-05dc 6fe0c099 fetch 1 ,mem_lpm_mode 
-05dd 203a7ec7 branch disable_user ,blank 
-05de 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-05df c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-05e0 20600000 rtn 
+05db 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+05dc 243a7ec7 nbranch disable_user ,blank 
+05dd 78347c00 enable user 
+05de 20401436 call lpo_calibration 
+05df 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+05e0 203a7ec7 branch disable_user ,blank 
+05e1 6fe0c099 fetch 1 ,mem_lpm_mode 
+05e2 203a7ec7 branch disable_user ,blank 
+05e3 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+05e4 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+05e5 20600000 rtn 
 
 p_ui_timer_check:
-05e1 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-05e2 245a78cc ncall ui_timer_init ,blank 
-05e3 704bf400 jam 0 ,mem_power_on_flag 
-05e4 202078bc branch ui_timer_check + 1 
+05e6 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+05e7 245a78cc ncall ui_timer_init ,blank 
+05e8 704bf400 jam 0 ,mem_power_on_flag 
+05e9 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-05e5 18427e00 copy temp ,pdata 
-05e6 c2801651 bbit1 bit_le_1m_phy ,le_enable 
-05e7 c28085e9 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-05e8 2020163c branch le_enable_phy_by_pdata + 5 
+05ea 18427e00 copy temp ,pdata 
+05eb c2801651 bbit1 bit_le_1m_phy ,le_enable 
+05ec c28085ee bbit1 bit_le_2m_phy ,p_le_enable_2m 
+05ed 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-05e9 20401640 call le_enable_2m 
-05ea 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-05eb 20600000 rtn 
+05ee 20401640 call le_enable_2m 
+05ef 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+05f0 20600000 rtn 
 
 p_mouse_motion:
-05ec 78547c00 disable user 
-05ed 58000000 setarg 0 
-05ee 67e348d5 store 6 ,mem_mouse_x 
-05ef 204005fc call p_mouse_check_sensor_data 
-05f0 58000089 setarg 0x0089 
-05f1 20405d5e call twspi_write 
-05f2 204003b5 call p_mouse_dpi_config 
-05f3 20403fbe call mouse_zwheel 
-05f4 20403fc3 call mouse_t_zwheel 
-05f5 20400610 call p_mouse_key 
-05f6 6fe0c8d4 fetch 1 ,mem_mouse_key 
-05f7 1fe17e1f and_into 0x1f ,pdata 
-05f8 67e0c8d4 store 1 ,mem_mouse_key 
-05f9 24344766 nbranch mouse_drawing_optima_init ,user 
-05fa 2040060c call p_mouse_drawing_optima 
-05fb 20204584 branch mouse_no_data_timer_init 
+05f1 78547c00 disable user 
+05f2 58000000 setarg 0 
+05f3 67e348d5 store 6 ,mem_mouse_x 
+05f4 20400601 call p_mouse_check_sensor_data 
+05f5 58000089 setarg 0x0089 
+05f6 20405d5e call twspi_write 
+05f7 204003b5 call p_mouse_dpi_config 
+05f8 20403fbe call mouse_zwheel 
+05f9 20403fc3 call mouse_t_zwheel 
+05fa 20400615 call p_mouse_key 
+05fb 6fe0c8d4 fetch 1 ,mem_mouse_key 
+05fc 1fe17e1f and_into 0x1f ,pdata 
+05fd 67e0c8d4 store 1 ,mem_mouse_key 
+05fe 24344766 nbranch mouse_drawing_optima_init ,user 
+05ff 20400611 call p_mouse_drawing_optima 
+0600 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-05fc 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-05fd c1800000 rtnne flash_sm_no_buys 
-05fe 6fe0c92c fetch 1 ,mem_config_sensor_type 
-05ff c0060602 beq ka5857 ,p_mouse_ka5857_sensor_motion 
-0600 c0058602 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
-0601 20204283 branch mouse_check_sensor_data + 3 
+0601 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+0602 c1800000 rtnne flash_sm_no_buys 
+0603 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0604 c0060607 beq ka5857 ,p_mouse_ka5857_sensor_motion 
+0605 c0058607 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
+0606 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka5857_sensor_motion:
-0602 20404304 call mouse_clear_sensor_data 
-0603 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-0604 c07f8608 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
-0605 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-0606 204060fd call gpio_get_bit 
-0607 24608000 nrtn true 
+0607 20404304 call mouse_clear_sensor_data 
+0608 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+0609 c07f860d beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
+060a 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+060b 204060fd call gpio_get_bit 
+060c 24608000 nrtn true 
 
 p_mouse_ka5857_sensor_motion_1:
-0608 58000000 setarg pan_reg_pid_l 
-0609 20405d65 call twspi_read 
-060a c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
-060b 202042b9 branch mouse_p3212_sensor_motion_2 
+060d 58000000 setarg pan_reg_pid_l 
+060e 20405d65 call twspi_read 
+060f c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
+0610 202042b9 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-060c 6fe0c92c fetch 1 ,mem_config_sensor_type 
-060d c1018000 rtneq p3212 
-060e c1058000 rtneq ka8g2 
-060f 20204758 branch mouse_drawing_optima 
+0611 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0612 c1018000 rtneq p3212 
+0613 c1058000 rtneq ka8g2 
+0614 20204758 branch mouse_drawing_optima 
 
 p_mouse_key:
-0610 20400613 call p_mouse_check_key_gpio 
-0611 20400649 call p_mouse_ghost_key_check 
-0612 2020411e branch mouse_key + 2 
+0615 20400618 call p_mouse_check_key_gpio 
+0616 2040064e call p_mouse_ghost_key_check 
+0617 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-0613 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0614 245a4161 ncall mouse_check_key_gpio_once ,blank 
-0615 da200000 arg 0 ,rega 
-0616 2040061a call p_mouse_check_lkey_gpio 
-0617 20400629 call p_mouse_check_bkkey_gpio 
-0618 20400636 call p_mouse_check_fwkey_gpio 
-0619 2020415e branch mouse_check_key_gpio_next 
+0618 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0619 245a4161 ncall mouse_check_key_gpio_once ,blank 
+061a da200000 arg 0 ,rega 
+061b 2040061f call p_mouse_check_lkey_gpio 
+061c 2040062e call p_mouse_check_bkkey_gpio 
+061d 2040063b call p_mouse_check_fwkey_gpio 
+061e 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-061a 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-061b 20400643 call p_mouse_gpio_config_output_high 
-061c 20404164 call mouse_check_lkey_gpio 
-061d 6848c91c fetcht 1 ,mem_lbutton_gpio 
-061e 20403f96 call mouse_gpio_config_input_pu 
+061f 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+0620 20400648 call p_mouse_gpio_config_output_high 
+0621 20404164 call mouse_check_lkey_gpio 
+0622 6848c91c fetcht 1 ,mem_lbutton_gpio 
+0623 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-061f 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-0620 20400643 call p_mouse_gpio_config_output_high 
-0621 2040416a call mouse_check_rkey_gpio 
-0622 6848c91d fetcht 1 ,mem_rbutton_gpio 
-0623 20403f96 call mouse_gpio_config_input_pu 
+0624 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+0625 20400648 call p_mouse_gpio_config_output_high 
+0626 2040416a call mouse_check_rkey_gpio 
+0627 6848c91d fetcht 1 ,mem_rbutton_gpio 
+0628 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0624 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-0625 20400643 call p_mouse_gpio_config_output_high 
-0626 20404170 call mouse_check_mkey_gpio 
-0627 6848c91e fetcht 1 ,mem_mbutton_gpio 
-0628 20203f96 branch mouse_gpio_config_input_pu 
+0629 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+062a 20400648 call p_mouse_gpio_config_output_high 
+062b 20404170 call mouse_check_mkey_gpio 
+062c 6848c91e fetcht 1 ,mem_mbutton_gpio 
+062d 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0629 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-062a c17f8000 rtneq gpio_disable 
-062b 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-062c 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-062d 1fe22600 copy pdata ,regc 
-062e 6848c911 fetcht 1 ,mem_bk_button_gpio 
-062f 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0630 c07f8632 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0631 2020417e branch mouse_check_bkkey_gpio_next 
+062e 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+062f c17f8000 rtneq gpio_disable 
+0630 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+0631 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+0632 1fe22600 copy pdata ,regc 
+0633 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0634 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0635 c07f8637 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0636 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0632 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-0633 20400646 call p_mouse_gpio_config_output_low 
-0634 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0635 2020418b branch mouse_3io6key_bk_check 
+0637 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+0638 2040064b call p_mouse_gpio_config_output_low 
+0639 6848c911 fetcht 1 ,mem_bk_button_gpio 
+063a 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0636 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0637 c17f8000 rtneq gpio_disable 
-0638 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-0639 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-063a 1fe22600 copy pdata ,regc 
-063b 6848c912 fetcht 1 ,mem_fw_button_gpio 
-063c 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-063d c07f863f beq gpio_disable ,p_mouse_3io6key_fw_check 
-063e 20204197 branch mouse_check_fwkey_gpio_next 
+063b 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+063c c17f8000 rtneq gpio_disable 
+063d 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+063e 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+063f 1fe22600 copy pdata ,regc 
+0640 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0641 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0642 c07f8644 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0643 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-063f 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0640 20400646 call p_mouse_gpio_config_output_low 
-0641 6848c912 fetcht 1 ,mem_fw_button_gpio 
-0642 202041a4 branch mouse_3io6key_fw_check 
+0644 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0645 2040064b call p_mouse_gpio_config_output_low 
+0646 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0647 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0643 c17f8000 rtneq gpio_disable 
-0644 d840003f arg gpcfg_output_high ,temp 
-0645 2020612c branch gpio_config_function_int 
+0648 c17f8000 rtneq gpio_disable 
+0649 d840003f arg gpcfg_output_high ,temp 
+064a 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0646 c17f8000 rtneq gpio_disable 
-0647 d840003e arg gpcfg_output_low ,temp 
-0648 2020612c branch gpio_config_function_int 
+064b c17f8000 rtneq gpio_disable 
+064c d840003e arg gpcfg_output_low ,temp 
+064d 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-0649 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-064a 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-064b 704bab00 jam 0 ,mem_mouse_ghost_flag 
-064c 1fe20400 copy pdata ,temp 
-064d 20400650 call p_mouse_ghost_key_check_l_fw 
-064e 20400653 call p_mouse_ghost_key_check_r_bk 
-064f 20204133 branch mouse_ghost_key_check + 6 
+064e 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+064f 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+0650 704bab00 jam 0 ,mem_mouse_ghost_flag 
+0651 1fe20400 copy pdata ,temp 
+0652 20400655 call p_mouse_ghost_key_check_l_fw 
+0653 20400658 call p_mouse_ghost_key_check_r_bk 
+0654 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-0650 18417e11 and temp ,mouse_l_fw_button ,pdata 
-0651 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-0652 20600000 rtn 
+0655 18417e11 and temp ,mouse_l_fw_button ,pdata 
+0656 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+0657 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-0653 18417e0a and temp ,mouse_r_bk_button ,pdata 
-0654 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-0655 20600000 rtn 
+0658 18417e0a and temp ,mouse_r_bk_button ,pdata 
+0659 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+065a 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/Only_24G_G222/program/patch.prog	(revision 3109)
+++ /YC1308AF/branch/mouse/YDN_Project/Only_24G_G222/program/patch.prog	(working copy)
@@ -1731,6 +1731,14 @@
 	sub pdata,4,null
 	ncall p_mouse_dpi_init,positive
 	branch p_mouse_dpi_store
+
+p_mouse_dpi_process_4_level:
+	copy temp,pdata
+	increase 1,pdata
+	and pdata,0x03,pdata
+	ncall p_mouse_dpi_init,positive
+	branch p_mouse_dpi_store
+
 p_mouse_dpi_init:
 	setarg 0
 	rtn
@@ -1744,7 +1752,8 @@
 	bbit1 MOUSE_ENABLE_DOUBLE_DPI_KEY,p_mouse_double_dpi_check
 	fetch 1,mem_config_sensor_type
 	beq KA5857,p_mouse_dpi_process_5_level
-	beq P3212,p_mouse_dpi_process_5_level
+	// beq P3212,p_mouse_dpi_process_5_level
+	beq P3212,p_mouse_dpi_process_4_level
 	copy temp,pdata
 	increase 1,pdata
 	and pdata,0x03,pdata
@@ -1811,7 +1820,7 @@
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
 	beq KA5857,p_mouse_seting_3212_dpi
-	beq P3212,p_mouse_seting_3212_dpi
+	beq P3212,mouse_seting_3212_dpi
 	beq S201X,p_mouse_seting_S201_dpi
 	branch mouse_seting_sensor_type+2
 
