Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/mouse_public/output/eeprom.dat	(revision 3082)
+++ /YC1308AF/branch/mouse/mouse_public/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ba
+ce
 18
 c2
 84
@@ -55,19 +55,19 @@
 c0
 66
 85
-c4
+c9
 c0
 67
 04
-49
+4e
 c0
 67
 84
-7c
+81
 c0
 68
 05
-eb
+f0
 c0
 69
 03
@@ -79,7 +79,7 @@
 c0
 6a
 84
-ce
+d3
 c0
 6c
 02
@@ -111,15 +111,15 @@
 c0
 42
 85
-b9
+be
 c0
 53
 05
-bd
+c2
 c0
 6e
 85
-3a
+3f
 c0
 6f
 02
@@ -131,15 +131,15 @@
 c0
 71
 05
-45
+4a
 c0
 71
 85
-6d
+72
 c0
 74
 85
-77
+7c
 c0
 75
 01
@@ -147,7 +147,7 @@
 c0
 76
 05
-ae
+b3
 20
 20
 13
@@ -591,7 +591,7 @@
 20
 40
 04
-7e
+83
 20
 40
 47
@@ -1603,7 +1603,7 @@
 24
 34
 04
-f4
+f9
 20
 40
 02
@@ -3055,7 +3055,7 @@
 da
 40
 04
-b9
+be
 20
 20
 31
@@ -3147,7 +3147,7 @@
 da
 40
 05
-1c
+21
 20
 20
 45
@@ -3171,7 +3171,7 @@
 c0
 00
 05
-2c
+31
 20
 20
 43
@@ -3679,7 +3679,7 @@
 20
 20
 04
-7e
+83
 20
 40
 3f
@@ -3707,7 +3707,7 @@
 20
 20
 04
-7e
+83
 20
 40
 03
@@ -3835,7 +3835,7 @@
 20
 40
 06
-1b
+20
 d8
 40
 00
@@ -4095,7 +4095,7 @@
 20
 40
 06
-1e
+23
 68
 48
 c9
@@ -4127,7 +4127,7 @@
 20
 40
 06
-1b
+20
 20
 40
 04
@@ -4155,7 +4155,7 @@
 20
 40
 06
-1e
+23
 70
 4c
 20
@@ -4379,11 +4379,31 @@
 24
 41
 04
-47
+4c
 20
 20
 04
-55
+5a
+18
+42
+7e
+00
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+24
+41
+04
+4c
+20
+20
+04
+5a
 58
 00
 00
@@ -4415,7 +4435,7 @@
 c2
 9e
 84
-58
+5d
 6f
 e0
 c9
@@ -4427,7 +4447,7 @@
 c0
 01
 84
-42
+47
 18
 42
 7e
@@ -4459,7 +4479,7 @@
 24
 3a
 04
-75
+7a
 6f
 e4
 4b
@@ -4467,7 +4487,7 @@
 c2
 8e
 04
-69
+6e
 18
 42
 7e
@@ -4479,11 +4499,11 @@
 c0
 00
 04
-65
+6a
 c0
 01
 04
-63
+68
 20
 60
 00
@@ -4495,7 +4515,7 @@
 20
 20
 04
-55
+5a
 58
 00
 00
@@ -4503,7 +4523,7 @@
 20
 20
 04
-55
+5a
 58
 00
 00
@@ -4511,7 +4531,7 @@
 20
 20
 04
-55
+5a
 58
 00
 00
@@ -4519,7 +4539,7 @@
 20
 20
 04
-55
+5a
 18
 42
 7e
@@ -4531,15 +4551,15 @@
 c0
 00
 04
-65
+6a
 c0
 01
 04
-67
+6c
 c0
 01
 84
-63
+68
 20
 60
 00
@@ -4555,15 +4575,15 @@
 c0
 00
 04
-67
+6c
 c0
 00
 84
-63
+68
 c0
 01
 84
-61
+66
 20
 60
 00
@@ -4575,7 +4595,7 @@
 c2
 8e
 04
-6f
+74
 18
 42
 7e
@@ -4587,11 +4607,11 @@
 c0
 00
 04
-61
+66
 c0
 00
 84
-63
+68
 20
 60
 00
@@ -4599,11 +4619,11 @@
 20
 40
 04
-83
+88
 20
 40
 04
-ab
+b0
 6f
 e0
 c9
@@ -4611,15 +4631,15 @@
 c0
 06
 04
-9b
+a0
 c0
 01
-84
-9b
+c0
+fb
 c0
 06
 84
-87
+8c
 20
 20
 40
@@ -4647,15 +4667,15 @@
 c0
 00
 04
-8b
+90
 c0
 00
 84
-8e
+93
 c0
 01
 04
-91
+96
 6f
 e0
 cc
@@ -4667,7 +4687,7 @@
 20
 20
 04
-93
+98
 6f
 e0
 cc
@@ -4679,7 +4699,7 @@
 20
 20
 04
-93
+98
 6f
 e0
 cc
@@ -4727,23 +4747,23 @@
 c0
 00
 04
-a3
+a8
 c0
 00
 84
-a1
+a6
 c0
 01
 04
-a5
+aa
 c0
 01
 84
-a7
+ac
 c0
 02
 04
-a9
+ae
 6f
 e0
 cc
@@ -4831,7 +4851,7 @@
 20
 3a
 04
-b9
+be
 67
 e0
 cb
@@ -4891,11 +4911,11 @@
 20
 41
 04
-c8
+cd
 24
 41
 04
-cc
+d1
 20
 20
 49
@@ -4931,15 +4951,15 @@
 c0
 1e
 04
-da
+df
 c0
 1c
 84
-d3
+d8
 c0
 1d
 04
-eb
+f0
 20
 20
 43
@@ -5055,7 +5075,7 @@
 24
 3a
 05
-2c
+31
 6f
 e0
 c8
@@ -5063,15 +5083,15 @@
 c0
 01
 05
-11
+16
 c0
 02
 05
-25
+2a
 c0
 01
 85
-35
+3a
 20
 20
 48
@@ -5083,7 +5103,7 @@
 20
 5a
 05
-03
+08
 6f
 e0
 c8
@@ -5199,11 +5219,11 @@
 c2
 97
 85
-1a
+1f
 c2
 98
 05
-1a
+1f
 c3
 1d
 48
@@ -5223,7 +5243,7 @@
 20
 22
 85
-1c
+21
 20
 20
 48
@@ -5335,7 +5355,7 @@
 20
 20
 04
-f9
+fe
 6f
 e4
 4b
@@ -5379,7 +5399,7 @@
 24
 34
 05
-3b
+40
 20
 40
 26
@@ -5427,7 +5447,7 @@
 c0
 00
 05
-4d
+52
 20
 60
 00
@@ -5443,19 +5463,19 @@
 c0
 00
 85
-54
+59
 c0
 01
 05
-56
+5b
 c0
 01
 85
-5c
+61
 c0
 02
 05
-62
+67
 20
 60
 00
@@ -5467,7 +5487,7 @@
 20
 20
 05
-63
+68
 6f
 e0
 c8
@@ -5475,7 +5495,7 @@
 20
 3a
 05
-5a
+5f
 6f
 e2
 48
@@ -5491,7 +5511,7 @@
 20
 20
 05
-63
+68
 70
 47
 c9
@@ -5503,7 +5523,7 @@
 20
 3a
 05
-63
+68
 6f
 e2
 48
@@ -5515,7 +5535,7 @@
 20
 20
 05
-65
+6a
 70
 47
 c9
@@ -5571,7 +5591,7 @@
 c0
 01
 05
-71
+76
 20
 20
 23
@@ -5615,7 +5635,7 @@
 20
 3a
 05
-82
+87
 6f
 e1
 48
@@ -5655,11 +5675,11 @@
 24
 2c
 05
-9b
+a0
 24
 37
 85
-9b
+a0
 20
 40
 26
@@ -5679,7 +5699,7 @@
 20
 22
 85
-7f
+84
 6f
 e2
 48
@@ -5695,7 +5715,7 @@
 20
 42
 85
-97
+9c
 6f
 e0
 c8
@@ -5775,11 +5795,11 @@
 c0
 01
 05
-a5
+aa
 c0
 02
 05
-ac
+b1
 20
 20
 25
@@ -5891,7 +5911,7 @@
 c2
 80
 85
-c1
+c6
 20
 20
 16
@@ -5923,7 +5943,7 @@
 20
 40
 05
-d4
+d9
 58
 00
 00
@@ -5935,7 +5955,7 @@
 20
 40
 04
-7e
+83
 20
 40
 3f
@@ -5947,7 +5967,7 @@
 20
 40
 05
-e8
+ed
 6f
 e0
 c8
@@ -5967,7 +5987,7 @@
 20
 40
 05
-e4
+e9
 20
 20
 45
@@ -5987,11 +6007,11 @@
 c0
 06
 05
-da
+df
 c0
 05
 85
-da
+df
 20
 20
 42
@@ -6007,7 +6027,7 @@
 c0
 7f
 85
-e0
+e5
 68
 48
 c9
@@ -6055,11 +6075,11 @@
 20
 40
 05
-eb
+f0
 20
 40
 06
-21
+26
 20
 20
 41
@@ -6079,15 +6099,15 @@
 20
 40
 05
-f2
+f7
 20
 40
 06
-01
+06
 20
 40
 06
-0e
+13
 20
 20
 41
@@ -6099,7 +6119,7 @@
 20
 40
 06
-1b
+20
 20
 40
 41
@@ -6119,7 +6139,7 @@
 20
 40
 06
-1b
+20
 20
 40
 41
@@ -6139,7 +6159,7 @@
 20
 40
 06
-1b
+20
 20
 40
 41
@@ -6183,7 +6203,7 @@
 c0
 7f
 86
-0a
+0f
 20
 20
 41
@@ -6195,7 +6215,7 @@
 20
 40
 06
-1e
+23
 68
 48
 c9
@@ -6235,7 +6255,7 @@
 c0
 7f
 86
-17
+1c
 20
 20
 41
@@ -6247,7 +6267,7 @@
 20
 40
 06
-1e
+23
 68
 48
 c9
@@ -6299,11 +6319,11 @@
 20
 40
 06
-28
+2d
 20
 40
 06
-2b
+30
 20
 20
 41
@@ -6332,8 +6352,8 @@
 60
 00
 00
-05
-72
+e2
+54
 aa
 55
 40
@@ -7703,28 +7723,8 @@
 55
 b9
 98
-5a
-f1
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+57
+6a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-b8
-a5
+41
+53
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/mouse_public/output/program.lis	(revision 3082)
+++ /YC1308AF/branch/mouse/mouse_public/output/program.lis	(working copy)
@@ -12,13 +12,13 @@
 0009 c06303a8 beq patch18_6 ,p_mouse_app_enter_hibernate 
 000a c06403b3 beq patch19_0 ,p_mouse_setgpio_hibernate 
 000b c06483e3 beq patch19_1 ,p_mouse_lpm_before_common 
-000c c06685c4 beq patch19_5 ,p_mouse_motion 
-000d c0670449 beq patch19_6 ,p_mouse_dpi_process 
-000e c067847c beq patch19_7 ,p_mouse_seting_dpi 
-000f c06805eb beq patch1a_0 ,p_mouse_check_key_gpio 
+000c c06685c9 beq patch19_5 ,p_mouse_motion 
+000d c067044e beq patch19_6 ,p_mouse_dpi_process 
+000e c0678481 beq patch19_7 ,p_mouse_seting_dpi 
+000f c06805f0 beq patch1a_0 ,p_mouse_check_key_gpio 
 0010 c069037a beq patch1a_2 ,p_mouse_init_sunt 
 0011 c0698397 beq patch1a_3 ,p_mouse_sensor_poweron 
-0012 c06a84ce beq patch1a_5 ,p_mouse_priority_bb_event 
+0012 c06a84d3 beq patch1a_5 ,p_mouse_priority_bb_event 
 0013 c06c02e7 beq patch1b_0 ,p_mouse_bb_event_timer 
 0014 c06e83e8 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 c00f8097 beq patch23_7 ,p_twspi_reset 
-001a c04285b9 beq patch30_5 ,p_ui_timer_check 
-001b c05305bd beq patch34_6 ,p_le_enable_phy_by_pdata 
-001c c06e853a beq patch3b_5 ,p_g24_dispatch 
+001a c04285be beq patch30_5 ,p_ui_timer_check 
+001b c05305c2 beq patch34_6 ,p_le_enable_phy_by_pdata 
+001c c06e853f beq patch3b_5 ,p_g24_dispatch 
 001d c06f023c beq patch3b_6 ,p_g24_receive_packet 
 001e c07082c7 beq patch3c_1 ,p_g24_transmit 
-001f c0710545 beq patch3c_2 ,p_g24_pair_dispatch 
-0020 c071856d beq patch3c_3 ,p_g24_pair_sm_common_next 
-0021 c0748577 beq patch3d_1 ,p_g24_reconn_dispatch 
+001f c071054a beq patch3c_2 ,p_g24_pair_dispatch 
+0020 c0718572 beq patch3c_3 ,p_g24_pair_sm_common_next 
+0021 c074857c beq patch3d_1 ,p_g24_reconn_dispatch 
 0022 c075018e beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0023 c07605ae beq patch3d_4 ,p_g24_lpm_wait 
+0023 c07605b3 beq patch3d_4 ,p_g24_lpm_wait 
 0024 2020137e branch loop 
 
 p_mouse_led_on:
@@ -188,7 +188,7 @@
 008f 2455bf60 ncall mouse_gpio_init ,wake 
 0090 204041e7 call mouse_init_sunt 
 0091 20758000 rtn wake 
-0092 2040047e call p_mouse_seting_sensor_type 
+0092 20400483 call p_mouse_seting_sensor_type 
 0093 20404766 call mouse_drawing_optima_init 
 0094 20400128 call p_mouse_cb_fuction 
 0095 204003a1 call p_mouse_sensor_powerdown 
@@ -523,7 +523,7 @@
 
 p_g24_transmit_no_interrupt:
 018e 20402638 call g24_txdata_prep 
-018f 243404f4 nbranch p_g24_nodata_transmit ,user 
+018f 243404f9 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 0190 20400221 call p_g24_transmit_process 
@@ -984,7 +984,7 @@
 
 p_mouse_dpi_led_blink_delay_timer:
 02f9 da604bb9 arg mem_mouse_dpi_led_delay_count ,regc 
-02fa da4004b9 arg p_mouse_dpi_led_blink_init ,regb 
+02fa da4004be arg p_mouse_dpi_led_blink_init ,regb 
 02fb 202031fc branch timer_single_step 
 
 p_mouse_commbination_key_process:
@@ -1017,7 +1017,7 @@
 0310 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0311 da40051c arg p_mouse_24g_start_pair_mode ,regb 
+0311 da400521 arg p_mouse_24g_start_pair_mode ,regb 
 0312 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_no_data_timeout_timer:
@@ -1027,7 +1027,7 @@
 
 p_mouse_check_no_data_timeout:
 0316 6fe0c93d fetch 1 ,mem_device_flag 
-0317 c000052c beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0317 c0000531 beq mode_24g_device ,p_mouse_24g_hibernate_set 
 0318 2020435b branch mouse_disconnect 
 
 p_mouse_g24_ota_reset_timer:
@@ -1228,7 +1228,7 @@
 0393 70492c0c jam ka5857 ,mem_config_sensor_type 
 0394 da604cbe arg mem_sensor_ka5857_init ,regc 
 0395 2040426b call mouse_sensor_wr_seq 
-0396 2020047e branch p_mouse_seting_sensor_type 
+0396 20200483 branch p_mouse_seting_sensor_type 
 
 p_mouse_sensor_poweron:
 0397 20403fa5 call mouse_sensor_spi_init 
@@ -1241,7 +1241,7 @@
 
 p_mouse_sensor_poweron_end:
 039c 2040426b call mouse_sensor_wr_seq 
-039d 2020047e branch p_mouse_seting_sensor_type 
+039d 20200483 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
 039e 204003b1 call p_mouse_ka8g2_sensor_reset 
@@ -1287,7 +1287,7 @@
 03ba 6848c914 fetcht 1 ,mem_matrix_public_gpio 
 03bb 204060e6 call gpio_clr_wake 
 03bc 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-03bd 2040061b call p_mouse_gpio_config_output_high 
+03bd 20400620 call p_mouse_gpio_config_output_high 
 03be d8400003 arg 3 ,temp 
 03bf 20403f96 call mouse_gpio_config_input_pu 
 03c0 20403e80 call mouse_lpm_before_common 
@@ -1374,7 +1374,7 @@
 
 p_mouse_3io6key_dpi_check:
 03fd 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-03fe 2040061e call p_mouse_gpio_config_output_low 
+03fe 20400623 call p_mouse_gpio_config_output_low 
 03ff 6848c913 fetcht 1 ,mem_dpi_button_gpio 
 0400 202041d5 branch mouse_3io6key_check 
 
@@ -1386,7 +1386,7 @@
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
 0405 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
-0406 2040061b call p_mouse_gpio_config_output_high 
+0406 20400620 call p_mouse_gpio_config_output_high 
 0407 2040041a call p_mouse_dpi_another_check 
 0408 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
 0409 20203f96 branch mouse_gpio_config_input_pu 
@@ -1395,7 +1395,7 @@
 040a 6fe0cc1c fetch 1 ,mem_dpi_another_button_gpio 
 040b 793ffe07 set0 gpio_active_bit ,pdata 
 040c 67e0cc1c store 1 ,mem_dpi_another_button_gpio 
-040d 2040061e call p_mouse_gpio_config_output_low 
+040d 20400623 call p_mouse_gpio_config_output_low 
 040e 704c2000 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
 040f 6848cc1c fetcht 1 ,mem_dpi_another_button_gpio 
 0410 6fe0cc1d fetch 1 ,mem_dpi_another_press_status 
@@ -1471,677 +1471,684 @@
 0442 18427e00 copy temp ,pdata 
 0443 1fe0fe01 increase 1 ,pdata 
 0444 1fe67c04 sub pdata ,4 ,null 
-0445 24410447 ncall p_mouse_dpi_init ,positive 
-0446 20200455 branch p_mouse_dpi_store 
+0445 2441044c ncall p_mouse_dpi_init ,positive 
+0446 2020045a branch p_mouse_dpi_store 
+
+p_mouse_dpi_process_4_level:
+0447 18427e00 copy temp ,pdata 
+0448 1fe0fe01 increase 1 ,pdata 
+0449 1fe17e03 and pdata ,0x03 ,pdata 
+044a 2441044c ncall p_mouse_dpi_init ,positive 
+044b 2020045a branch p_mouse_dpi_store 
 
 p_mouse_dpi_init:
-0447 58000000 setarg 0 
-0448 20600000 rtn 
+044c 58000000 setarg 0 
+044d 20600000 rtn 
 
 p_mouse_dpi_process:
-0449 204040b2 call mouse_dpi_ghost_check 
-044a 20740000 rtn user 
-044b 6fe0c997 fetch 1 ,mem_mouse_dpi 
-044c 1fe20400 copy pdata ,temp 
-044d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-044e c29e8458 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-044f 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0450 c0060442 beq ka5857 ,p_mouse_dpi_process_5_level 
-0451 c0018442 beq p3212 ,p_mouse_dpi_process_5_level 
-0452 18427e00 copy temp ,pdata 
-0453 1fe0fe01 increase 1 ,pdata 
-0454 1fe17e03 and pdata ,0x03 ,pdata 
+044e 204040b2 call mouse_dpi_ghost_check 
+044f 20740000 rtn user 
+0450 6fe0c997 fetch 1 ,mem_mouse_dpi 
+0451 1fe20400 copy pdata ,temp 
+0452 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0453 c29e845d bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+0454 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0455 c0060442 beq ka5857 ,p_mouse_dpi_process_5_level 
+0456 c0018447 beq p3212 ,p_mouse_dpi_process_4_level 
+0457 18427e00 copy temp ,pdata 
+0458 1fe0fe01 increase 1 ,pdata 
+0459 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0455 67e0c997 store 1 ,mem_mouse_dpi 
-0456 204040d5 call mouse_seting_dpi 
-0457 2020462e branch mouse_store_device_info_delay 
+045a 67e0c997 store 1 ,mem_mouse_dpi 
+045b 204040d5 call mouse_seting_dpi 
+045c 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-0458 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
-0459 243a0475 nbranch p_mouse_another_dpi_button_down ,blank 
+045d 6fe0cc1f fetch 1 ,mem_dpi_another_button_down_enable 
+045e 243a047a nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-045a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-045b c28e0469 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-045c 18427e00 copy temp ,pdata 
-045d c1008000 rtneq mouse_dpi_level2 
+045f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0460 c28e046e bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0461 18427e00 copy temp ,pdata 
+0462 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-045e c0000465 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-045f c0010463 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0460 20600000 rtn 
+0463 c000046a beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0464 c0010468 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+0465 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0461 58000002 setarg 2 
-0462 20200455 branch p_mouse_dpi_store 
+0466 58000002 setarg 2 
+0467 2020045a branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0463 58000000 setarg 0 
-0464 20200455 branch p_mouse_dpi_store 
+0468 58000000 setarg 0 
+0469 2020045a branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0465 58000001 setarg 1 
-0466 20200455 branch p_mouse_dpi_store 
+046a 58000001 setarg 1 
+046b 2020045a branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0467 58000003 setarg 3 
-0468 20200455 branch p_mouse_dpi_store 
+046c 58000003 setarg 3 
+046d 2020045a branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0469 18427e00 copy temp ,pdata 
-046a c1008000 rtneq mouse_dpi_level2 
-046b c0000465 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-046c c0010467 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-046d c0018463 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-046e 20600000 rtn 
+046e 18427e00 copy temp ,pdata 
+046f c1008000 rtneq mouse_dpi_level2 
+0470 c000046a beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0471 c001046c beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0472 c0018468 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0473 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-046f 18427e00 copy temp ,pdata 
-0470 c1010000 rtneq mouse_dpi_level3 
-0471 c0000467 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0472 c0008463 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0473 c0018461 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0474 20600000 rtn 
+0474 18427e00 copy temp ,pdata 
+0475 c1010000 rtneq mouse_dpi_level3 
+0476 c000046c beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+0477 c0008468 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0478 c0018466 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+0479 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0475 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0476 c28e046f bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0477 18427e00 copy temp ,pdata 
-0478 c1010000 rtneq mouse_dpi_level3 
+047a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+047b c28e0474 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+047c 18427e00 copy temp ,pdata 
+047d c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0479 c0000461 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-047a c0008463 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-047b 20600000 rtn 
+047e c0000466 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+047f c0008468 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0480 20600000 rtn 
 
 p_mouse_seting_dpi:
-047c 20400483 call p_mouse_setting_dpi_4_level 
-047d 204004ab call p_mouse_dpi_led_blink_delay 
+0481 20400488 call p_mouse_setting_dpi_4_level 
+0482 204004b0 call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-047e 6fe0c92c fetch 1 ,mem_config_sensor_type 
-047f c006049b beq ka5857 ,p_mouse_seting_3212_dpi 
-0480 c001849b beq p3212 ,p_mouse_seting_3212_dpi 
-0481 c0068487 beq s201x ,p_mouse_seting_s201_dpi 
-0482 202040da branch mouse_seting_sensor_type + 2 
+0483 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0484 c00604a0 beq ka5857 ,p_mouse_seting_3212_dpi 
+0485 c001c0fb beq p3212 ,mouse_seting_3212_dpi 
+0486 c006848c beq s201x ,p_mouse_seting_s201_dpi 
+0487 202040da branch mouse_seting_sensor_type + 2 
 
 p_mouse_setting_dpi_4_level:
-0483 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0484 c1060000 rtneq ka5857 
-0485 c1018000 rtneq p3212 
-0486 202040cf branch mouse_setting_dpi_4_level 
+0488 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0489 c1060000 rtneq ka5857 
+048a c1018000 rtneq p3212 
+048b 202040cf branch mouse_setting_dpi_4_level 
 
 p_mouse_seting_s201_dpi:
-0487 6fe0c997 fetch 1 ,mem_mouse_dpi 
-0488 c000048b beq mouse_dpi_level1 ,p_mouse_set_s201_dpi_0 
-0489 c000848e beq mouse_dpi_level2 ,p_mouse_set_s201_dpi_1 
-048a c0010491 beq mouse_dpi_level3 ,p_mouse_set_s201_dpi_4 
+048c 6fe0c997 fetch 1 ,mem_mouse_dpi 
+048d c0000490 beq mouse_dpi_level1 ,p_mouse_set_s201_dpi_0 
+048e c0008493 beq mouse_dpi_level2 ,p_mouse_set_s201_dpi_1 
+048f c0010496 beq mouse_dpi_level3 ,p_mouse_set_s201_dpi_4 
 
 p_mouse_set_s201_dpi_0:
-048b 6fe0ccd0 fetch 1 ,mem_sensor_s201_dpi_0 
-048c 1fe22200 copy pdata ,rega 
-048d 20200493 branch p_mouse_dpi_s201_store 
+0490 6fe0ccd0 fetch 1 ,mem_sensor_s201_dpi_0 
+0491 1fe22200 copy pdata ,rega 
+0492 20200498 branch p_mouse_dpi_s201_store 
 
 p_mouse_set_s201_dpi_1:
-048e 6fe0ccd1 fetch 1 ,mem_sensor_s201_dpi_1 
-048f 1fe22200 copy pdata ,rega 
-0490 20200493 branch p_mouse_dpi_s201_store 
+0493 6fe0ccd1 fetch 1 ,mem_sensor_s201_dpi_1 
+0494 1fe22200 copy pdata ,rega 
+0495 20200498 branch p_mouse_dpi_s201_store 
 
 p_mouse_set_s201_dpi_4:
-0491 6fe0ccd4 fetch 1 ,mem_sensor_s201_dpi_4 
-0492 1fe22200 copy pdata ,rega 
+0496 6fe0ccd4 fetch 1 ,mem_sensor_s201_dpi_4 
+0497 1fe22200 copy pdata ,rega 
 
 p_mouse_dpi_s201_store:
-0493 5800c309 setarg 0xc309 
-0494 20405d5e call twspi_write 
-0495 1a227e00 copy rega ,pdata 
-0496 1fed7e00 lshift8 pdata ,pdata 
-0497 1fe0fe23 add pdata ,0x23 ,pdata 
-0498 20405d5e call twspi_write 
-0499 58000009 setarg 0x0009 
-049a 20205d5e branch twspi_write 
+0498 5800c309 setarg 0xc309 
+0499 20405d5e call twspi_write 
+049a 1a227e00 copy rega ,pdata 
+049b 1fed7e00 lshift8 pdata ,pdata 
+049c 1fe0fe23 add pdata ,0x23 ,pdata 
+049d 20405d5e call twspi_write 
+049e 58000009 setarg 0x0009 
+049f 20205d5e branch twspi_write 
 
 p_mouse_seting_3212_dpi:
-049b 6fe0c997 fetch 1 ,mem_mouse_dpi 
-049c c00004a3 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi0 
-049d c00084a1 beq mouse_dpi_level2 ,p_mouse_set_p3212_cpi1 
-049e c00104a5 beq mouse_dpi_level3 ,p_mouse_set_p3212_cpi2 
-049f c00184a7 beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi3 
-04a0 c00204a9 beq mouse_dpi_level5 ,p_mouse_set_p3212_cpi4 
+04a0 6fe0c997 fetch 1 ,mem_mouse_dpi 
+04a1 c00004a8 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi0 
+04a2 c00084a6 beq mouse_dpi_level2 ,p_mouse_set_p3212_cpi1 
+04a3 c00104aa beq mouse_dpi_level3 ,p_mouse_set_p3212_cpi2 
+04a4 c00184ac beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi3 
+04a5 c00204ae beq mouse_dpi_level5 ,p_mouse_set_p3212_cpi4 
 
 p_mouse_set_p3212_cpi1:
-04a1 6fe0cccb fetch 1 ,mem_3212_dpi_1_new 
-04a2 20204107 branch mouse_p3212_dpi 
+04a6 6fe0cccb fetch 1 ,mem_3212_dpi_1_new 
+04a7 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi0:
-04a3 6fe0ccca fetch 1 ,mem_3212_dpi_0_new 
-04a4 20204107 branch mouse_p3212_dpi 
+04a8 6fe0ccca fetch 1 ,mem_3212_dpi_0_new 
+04a9 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi2:
-04a5 6fe0cccc fetch 1 ,mem_3212_dpi_2_new 
-04a6 20204107 branch mouse_p3212_dpi 
+04aa 6fe0cccc fetch 1 ,mem_3212_dpi_2_new 
+04ab 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi3:
-04a7 6fe0cccd fetch 1 ,mem_3212_dpi_3_new 
-04a8 20204107 branch mouse_p3212_dpi 
+04ac 6fe0cccd fetch 1 ,mem_3212_dpi_3_new 
+04ad 20204107 branch mouse_p3212_dpi 
 
 p_mouse_set_p3212_cpi4:
-04a9 6fe0ccce fetch 1 ,mem_3212_dpi_4_new 
-04aa 20204107 branch mouse_p3212_dpi 
+04ae 6fe0ccce fetch 1 ,mem_3212_dpi_4_new 
+04af 20204107 branch mouse_p3212_dpi 
 
 p_mouse_dpi_led_blink_delay:
-04ab 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
-04ac c17f8000 rtneq gpio_disable 
-04ad 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
-04ae 247a0000 nrtn blank 
-04af 6fe14887 fetch 2 ,mem_24g_pair_timeout 
-04b0 247a0000 nrtn blank 
-04b1 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
-04b2 247a0000 nrtn blank 
-04b3 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
-04b4 247a0000 nrtn blank 
-04b5 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-04b6 203a04b9 branch p_mouse_dpi_led_blink_init ,blank 
-04b7 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
-04b8 20600000 rtn 
+04b0 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+04b1 c17f8000 rtneq gpio_disable 
+04b2 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
+04b3 247a0000 nrtn blank 
+04b4 6fe14887 fetch 2 ,mem_24g_pair_timeout 
+04b5 247a0000 nrtn blank 
+04b6 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
+04b7 247a0000 nrtn blank 
+04b8 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
+04b9 247a0000 nrtn blank 
+04ba 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+04bb 203a04be branch p_mouse_dpi_led_blink_init ,blank 
+04bc 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
+04bd 20600000 rtn 
 
 p_mouse_dpi_led_blink_init:
-04b9 6fe0c92c fetch 1 ,mem_config_sensor_type 
-04ba c001c93f beq p3212 ,mouse_dpi_led_blink_init 
-04bb c005c93f beq ka8g2 ,mouse_dpi_led_blink_init 
-04bc 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
-04bd 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
-04be 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
-04bf 67e14935 store 2 ,mem_mouse_on_time 
-04c0 67e14937 store 2 ,mem_mouse_off_time 
-04c1 da200000 arg 0 ,rega 
-04c2 6848c997 fetcht 1 ,mem_mouse_dpi 
-04c3 18408402 increase 2 ,temp 
-04c4 18467c03 sub temp ,3 ,null 
-04c5 204104c8 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-04c6 244104cc ncall p_mouse_dpi_led_blink_count_clean ,positive 
-04c7 2020494c branch mouse_dpi_led_blink_init_end 
+04be 6fe0c92c fetch 1 ,mem_config_sensor_type 
+04bf c001c93f beq p3212 ,mouse_dpi_led_blink_init 
+04c0 c005c93f beq ka8g2 ,mouse_dpi_led_blink_init 
+04c1 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+04c2 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
+04c3 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
+04c4 67e14935 store 2 ,mem_mouse_on_time 
+04c5 67e14937 store 2 ,mem_mouse_off_time 
+04c6 da200000 arg 0 ,rega 
+04c7 6848c997 fetcht 1 ,mem_mouse_dpi 
+04c8 18408402 increase 2 ,temp 
+04c9 18467c03 sub temp ,3 ,null 
+04ca 204104cd call p_mouse_dpi_led_blink_init_level_4 ,positive 
+04cb 244104d1 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+04cc 2020494c branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-04c8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04c9 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-04ca 18408401 increase 1 ,temp 
-04cb 20600000 rtn 
+04cd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04ce c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+04cf 18408401 increase 1 ,temp 
+04d0 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-04cc 184085fd increase -3 ,temp 
-04cd 20600000 rtn 
+04d1 184085fd increase -3 ,temp 
+04d2 20600000 rtn 
 
 p_mouse_priority_bb_event:
-04ce 1a627e00 copy regc ,pdata 
-04cf c01e04da beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-04d0 c01c84d3 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-04d1 c01d04eb beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-04d2 20204376 branch mouse_priority_bb_event + 2 
+04d3 1a627e00 copy regc ,pdata 
+04d4 c01e04df beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+04d5 c01c84d8 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+04d6 c01d04f0 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+04d7 20204376 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_pairing_complete:
-04d3 2040018c call p_mouse_soft_agc_disable 
-04d4 20400125 call p_mouse_fetch_normal_tx_power 
-04d5 20404584 call mouse_no_data_timer_init 
-04d6 d8e00001 arg mouse_24g_pairing_flag ,queue 
-04d7 20404732 call mouse_disable_function_flag 
-04d8 2040035e call p_mouse_device_poweron_led_config 
-04d9 20204899 branch mouse_24g_pairing_complete + 3 
+04d8 2040018c call p_mouse_soft_agc_disable 
+04d9 20400125 call p_mouse_fetch_normal_tx_power 
+04da 20404584 call mouse_no_data_timer_init 
+04db d8e00001 arg mouse_24g_pairing_flag ,queue 
+04dc 20404732 call mouse_disable_function_flag 
+04dd 2040035e call p_mouse_device_poweron_led_config 
+04de 20204899 branch mouse_24g_pairing_complete + 3 
 
 p_mouse_24g_attempt_success:
-04da 6fe2483f fetch 4 ,mem_24g_addr 
-04db 67e24895 store 4 ,mem_24g_receiver_addr 
-04dc 67e24998 store 4 ,mem_mouse_24g_addr 
-04dd 20402587 call g24_ch_syncword_crc8_init 
-04de 2040035e call p_mouse_device_poweron_led_config 
-04df 20404584 call mouse_no_data_timer_init 
-04e0 2040430a call mouse_init_sensor_reset 
-04e1 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-04e2 7048a500 jam 0 ,mem_24g_conn_sm 
-04e3 70488f00 jam 0 ,mem_24g_reconn_type 
-04e4 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-04e5 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-04e6 98467c00 isub temp ,null 
-04e7 20628000 rtn zero 
-04e8 2040018c call p_mouse_soft_agc_disable 
-04e9 20400125 call p_mouse_fetch_normal_tx_power 
-04ea 20204861 branch mouse_24g_first_store_reconn_info 
+04df 6fe2483f fetch 4 ,mem_24g_addr 
+04e0 67e24895 store 4 ,mem_24g_receiver_addr 
+04e1 67e24998 store 4 ,mem_mouse_24g_addr 
+04e2 20402587 call g24_ch_syncword_crc8_init 
+04e3 2040035e call p_mouse_device_poweron_led_config 
+04e4 20404584 call mouse_no_data_timer_init 
+04e5 2040430a call mouse_init_sensor_reset 
+04e6 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+04e7 7048a500 jam 0 ,mem_24g_conn_sm 
+04e8 70488f00 jam 0 ,mem_24g_reconn_type 
+04e9 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+04ea 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+04eb 98467c00 isub temp ,null 
+04ec 20628000 rtn zero 
+04ed 2040018c call p_mouse_soft_agc_disable 
+04ee 20400125 call p_mouse_fetch_normal_tx_power 
+04ef 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-04eb 2040018c call p_mouse_soft_agc_disable 
-04ec 20400125 call p_mouse_fetch_normal_tx_power 
-04ed 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-04ee 243a052c nbranch p_mouse_24g_hibernate_set ,blank 
-04ef 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-04f0 c0010511 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-04f1 c0020525 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-04f2 c0018535 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-04f3 20204878 branch mouse_24g_attempt_fail_enter_hibernate 
+04f0 2040018c call p_mouse_soft_agc_disable 
+04f1 20400125 call p_mouse_fetch_normal_tx_power 
+04f2 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+04f3 243a0531 nbranch p_mouse_24g_hibernate_set ,blank 
+04f4 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+04f5 c0010516 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+04f6 c002052a beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+04f7 c001853a beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+04f8 20204878 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_g24_nodata_transmit:
-04f4 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-04f5 205a0503 call p_g24_send_abort_packet ,blank 
-04f6 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-04f7 c1008000 rtneq g24_tx_timer_int_enable 
-04f8 204026a6 call g24_search_receiver 
+04f9 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+04fa 205a0508 call p_g24_send_abort_packet ,blank 
+04fb 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+04fc c1008000 rtneq g24_tx_timer_int_enable 
+04fd 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-04f9 204026c2 call g24_lpm_wait 
-04fa 24740000 nrtn user 
-04fb 204026cb call g24_setgpio_lpm_before 
-04fc 704c4d00 jam 0 ,mem_sleep_miss 
-04fd 704c4e01 jam 1 ,mem_long_sleep_flag 
-04fe 20400111 call p_send_time_long_wake 
-04ff 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0500 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-0501 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-0502 202026bf branch g24_long_seep2 
+04fe 204026c2 call g24_lpm_wait 
+04ff 24740000 nrtn user 
+0500 204026cb call g24_setgpio_lpm_before 
+0501 704c4d00 jam 0 ,mem_sleep_miss 
+0502 704c4e01 jam 1 ,mem_long_sleep_flag 
+0503 20400111 call p_send_time_long_wake 
+0504 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0505 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+0506 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+0507 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-0503 70483901 jam type_ms ,mem_24g_data_type 
-0504 7048ab01 jam 1 ,mem_24g_abort_pac 
-0505 20402649 call g24_transmit_rf_ctrl_clear 
-0506 67e0c7c9 store 1 ,mem_24g_txbuf 
-0507 58000000 setarg 0 
-0508 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-0509 6fe248ad fetch 4 ,mem_24g_device_addr 
-050a 67e247d1 store 4 ,mem_24g_txbuf + 8 
-050b 7048380c jam 12 ,mem_24g_datalen 
-050c 6fe0c839 fetch 1 ,mem_24g_data_type 
-050d 79207e03 set1 bit_abort ,pdata 
-050e 67e0c839 store 1 ,mem_24g_data_type 
-050f 20402247 call g24_transmit_prep 
-0510 20200190 branch p_g24_transmit_start 
+0508 70483901 jam type_ms ,mem_24g_data_type 
+0509 7048ab01 jam 1 ,mem_24g_abort_pac 
+050a 20402649 call g24_transmit_rf_ctrl_clear 
+050b 67e0c7c9 store 1 ,mem_24g_txbuf 
+050c 58000000 setarg 0 
+050d 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+050e 6fe248ad fetch 4 ,mem_24g_device_addr 
+050f 67e247d1 store 4 ,mem_24g_txbuf + 8 
+0510 7048380c jam 12 ,mem_24g_datalen 
+0511 6fe0c839 fetch 1 ,mem_24g_data_type 
+0512 79207e03 set1 bit_abort ,pdata 
+0513 67e0c839 store 1 ,mem_24g_data_type 
+0514 20402247 call g24_transmit_prep 
+0515 20200190 branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0511 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0512 c297851a bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0513 c298051a bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-0514 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0515 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-0516 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-0517 98467c00 isub temp ,null 
-0518 2022851c branch p_mouse_24g_start_pair_mode ,zero 
-0519 20204845 branch mouse_24g_reconn_dongle_start 
+0516 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0517 c297851f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0518 c298051f bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+0519 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+051a 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+051b 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+051c 98467c00 isub temp ,null 
+051d 20228521 branch p_mouse_24g_start_pair_mode ,zero 
+051e 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-051a 20400361 call p_mouse_device_discover_led_config 
-051b 20204851 branch mouse_24g_start_auto_pair + 1 
+051f 20400361 call p_mouse_device_discover_led_config 
+0520 20204851 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-051c 70488f00 jam 0 ,mem_24g_reconn_type 
-051d d8e00001 arg mouse_24g_pairing_flag ,queue 
-051e 2040472e call mouse_enable_function_flag 
-051f 58000000 setarg 0 
-0520 67e1488b store 2 ,mem_24g_reconn_timeout 
-0521 204045b6 call mouse_stop_discovery 
-0522 204049db call mouse_low_voltage_led_blink_disable 
-0523 20400361 call p_mouse_device_discover_led_config 
-0524 2020486d branch mouse_24g_start_pair_mode + 7 
+0521 70488f00 jam 0 ,mem_24g_reconn_type 
+0522 d8e00001 arg mouse_24g_pairing_flag ,queue 
+0523 2040472e call mouse_enable_function_flag 
+0524 58000000 setarg 0 
+0525 67e1488b store 2 ,mem_24g_reconn_timeout 
+0526 204045b6 call mouse_stop_discovery 
+0527 204049db call mouse_low_voltage_led_blink_disable 
+0528 20400361 call p_mouse_device_discover_led_config 
+0529 2020486d branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_auto_pair_attempt_fail:
-0525 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0526 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-0527 6fe0cbc5 fetch 1 ,mem_device_number 
-0528 c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
-0529 20204859 branch mouse_24g_first_bluetooth_reconnect 
+052a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+052b c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+052c 6fe0cbc5 fetch 1 ,mem_device_number 
+052d c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+052e 20204859 branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-052a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-052b c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+052f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0530 c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_hibernate_set:
-052c 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
-052d 20402659 call g24_transmit_next_packet 
-052e 5fffffff setarg -1 
-052f 67e2485f store 4 ,mem_24g_enter_hibernate 
-0530 58000000 setarg 0 
-0531 67e3c8d4 store 7 ,mem_mouse_key 
-0532 704bf201 jam 1 ,mem_sensor_shutdown_flag 
-0533 204003a1 call p_mouse_sensor_powerdown 
-0534 202004f9 branch p_g24_long_sleep 
+0531 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
+0532 20402659 call g24_transmit_next_packet 
+0533 5fffffff setarg -1 
+0534 67e2485f store 4 ,mem_24g_enter_hibernate 
+0535 58000000 setarg 0 
+0536 67e3c8d4 store 7 ,mem_mouse_key 
+0537 704bf201 jam 1 ,mem_sensor_shutdown_flag 
+0538 204003a1 call p_mouse_sensor_powerdown 
+0539 202004fe branch p_g24_long_sleep 
 
 p_mouse_reconn_dongle_attempt_fail:
-0535 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0536 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-0537 c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-0538 c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-0539 20204851 branch mouse_24g_start_auto_pair + 1 
+053a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+053b c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+053c c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+053d c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+053e 20204851 branch mouse_24g_start_auto_pair + 1 
 
 p_g24_dispatch:
-053a c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+053f c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-053b c6930000 rtnmark0 mark_24g 
-053c 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-053d 20202624 branch g24_transmit_dispatch + 2 
+0540 c6930000 rtnmark0 mark_24g 
+0541 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+0542 20202624 branch g24_transmit_dispatch + 2 
 
 p_g24_transmit_by_interrupt:
-053e 204022a0 call g24_timer_check 
-053f 2434053b nbranch p_g24_transmit_dispatch ,user 
-0540 204026e2 call g24_interval_calibrate 
-0541 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0542 1fe0fe01 increase 1 ,pdata 
-0543 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0544 20202628 branch g24_transmit_no_interrupt 
+0543 204022a0 call g24_timer_check 
+0544 24340540 nbranch p_g24_transmit_dispatch ,user 
+0545 204026e2 call g24_interval_calibrate 
+0546 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0547 1fe0fe01 increase 1 ,pdata 
+0548 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0549 20202628 branch g24_transmit_no_interrupt 
 
 p_g24_pair_dispatch:
-0545 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-0546 6fe14bfd fetch 2 ,mem_24g_pair_count 
-0547 1fe0fe01 increase 1 ,pdata 
-0548 67e14bfd store 2 ,mem_24g_pair_count 
-0549 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-054a 1fe17eff and pdata ,0xff ,pdata 
-054b c000054d beq 0 ,p_g24_pair_dispatch2 
-054c 20600000 rtn 
+054a 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+054b 6fe14bfd fetch 2 ,mem_24g_pair_count 
+054c 1fe0fe01 increase 1 ,pdata 
+054d 67e14bfd store 2 ,mem_24g_pair_count 
+054e 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+054f 1fe17eff and pdata ,0xff ,pdata 
+0550 c0000552 beq 0 ,p_g24_pair_dispatch2 
+0551 20600000 rtn 
 
 p_g24_pair_dispatch2:
-054d 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-054e c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
-054f c0008554 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-0550 c0010556 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-0551 c001855c beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-0552 c0020562 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-0553 20600000 rtn 
+0552 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+0553 c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
+0554 c0008559 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+0555 c001055b beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+0556 c0018561 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+0557 c0020567 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+0558 20600000 rtn 
 
 p_g24_pair_sm_1:
-0554 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
-0555 20200563 branch p_g24_pair_sm_prep 
+0559 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
+055a 20200568 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-0556 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0557 203a055a branch p_g24_pair_sm_2_skip ,blank 
-0558 6fe248ad fetch 4 ,mem_24g_device_addr 
-0559 20402292 call g24_update_addr_and_synccrc8 
+055b 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+055c 203a055f branch p_g24_pair_sm_2_skip ,blank 
+055d 6fe248ad fetch 4 ,mem_24g_device_addr 
+055e 20402292 call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-055a 7047c9aa jam datatype_bind ,mem_24g_txbuf 
-055b 20200563 branch p_g24_pair_sm_prep 
+055f 7047c9aa jam datatype_bind ,mem_24g_txbuf 
+0560 20200568 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-055c 7047c955 jam datatype_config ,mem_24g_txbuf 
-055d 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-055e 203a0563 branch p_g24_pair_sm_prep ,blank 
-055f 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-0560 67e247cb store 4 ,mem_24g_txbuf + 2 
-0561 20200565 branch p_g24_pair_sm_common 
+0561 7047c955 jam datatype_config ,mem_24g_txbuf 
+0562 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0563 203a0568 branch p_g24_pair_sm_prep ,blank 
+0564 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+0565 67e247cb store 4 ,mem_24g_txbuf + 2 
+0566 2020056a branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-0562 7047c922 jam datatype_ok ,mem_24g_txbuf 
+0567 7047c922 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-0563 6fe248ad fetch 4 ,mem_24g_device_addr 
-0564 67e247cb store 4 ,mem_24g_txbuf + 2 
+0568 6fe248ad fetch 4 ,mem_24g_device_addr 
+0569 67e247cb store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-0565 6fe0c839 fetch 1 ,mem_24g_data_type 
-0566 1fe17e07 and_into bits_data ,pdata 
-0567 67e0c7ca store 1 ,mem_24g_txbuf + 1 
-0568 7047cf00 jam 0 ,mem_24g_txbuf + 6 
-0569 70483807 jam 7 ,mem_24g_datalen 
-056a 20402247 call g24_transmit_prep 
-056b 2040022d call p_g24_transmit_receive_ack 
-056c 20202316 branch g24_pair_sm_common + 7 
+056a 6fe0c839 fetch 1 ,mem_24g_data_type 
+056b 1fe17e07 and_into bits_data ,pdata 
+056c 67e0c7ca store 1 ,mem_24g_txbuf + 1 
+056d 7047cf00 jam 0 ,mem_24g_txbuf + 6 
+056e 70483807 jam 7 ,mem_24g_datalen 
+056f 20402247 call g24_transmit_prep 
+0570 2040022d call p_g24_transmit_receive_ack 
+0571 20202316 branch g24_pair_sm_common + 7 
 
 p_g24_pair_sm_common_next:
-056d 6fe0c883 fetch 1 ,mem_24g_pair_sm 
-056e c17f8000 rtneq state_24g_pairing_success 
-056f c0010571 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
-0570 2020231d branch g24_pair_sm_common_next + 2 
+0572 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+0573 c17f8000 rtneq state_24g_pairing_success 
+0574 c0010576 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
+0575 2020231d branch g24_pair_sm_common_next + 2 
 
 p_g24_pair_sm_2_waiting_ack:
-0571 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-0572 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
-0573 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-0574 207a0000 rtn blank 
-0575 67e24895 store 4 ,mem_24g_receiver_addr 
-0576 2020232d branch g24_pair_sm_2_waiting_ack_skip 
+0576 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+0577 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
+0578 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+0579 207a0000 rtn blank 
+057a 67e24895 store 4 ,mem_24g_receiver_addr 
+057b 2020232d branch g24_pair_sm_2_waiting_ack_skip 
 
 p_g24_reconn_dispatch:
-0577 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0578 d84001f8 arg 0x01f8 ,temp 
-0579 98417e00 iand temp ,pdata 
-057a 203a0582 branch p_g24_reconn_dispatch_next ,blank 
-057b 6fe1488d fetch 2 ,mem_24g_reconn_count 
-057c 1fe0fe01 increase 1 ,pdata 
-057d 67e1488d store 2 ,mem_24g_reconn_count 
-057e 20600000 rtn 
+057c 6fe1488d fetch 2 ,mem_24g_reconn_count 
+057d d84001f8 arg 0x01f8 ,temp 
+057e 98417e00 iand temp ,pdata 
+057f 203a0587 branch p_g24_reconn_dispatch_next ,blank 
+0580 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0581 1fe0fe01 increase 1 ,pdata 
+0582 67e1488d store 2 ,mem_24g_reconn_count 
+0583 20600000 rtn 
 
 p_g24_reconn_mode_judge:
-057f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0580 c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-0581 20202577 branch g24_reconn_receiver_addr 
+0584 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0585 c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+0586 20202577 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_dispatch_next:
-0582 204025a3 call g24_reconn_data_prep 
-0583 2040022d call p_g24_transmit_receive_ack 
-0584 242c059b nbranch p_g24_reconn_device_fail ,sync 
-0585 2437859b nbranch p_g24_reconn_device_fail ,user3 
-0586 20402679 call g24_ackpayload_parse 
-0587 6fe2487b fetch 4 ,mem_24g_pair_addr 
-0588 684a483f fetcht 4 ,mem_24g_addr 
-0589 98467c00 isub temp ,null 
-058a 2022857f branch p_g24_reconn_mode_judge ,zero 
-058b 6fe248ad fetch 4 ,mem_24g_device_addr 
-058c 684a483f fetcht 4 ,mem_24g_addr 
-058d 98467c00 isub temp ,null 
-058e 20428597 call p_g24_store_receiver_addr ,zero 
-058f 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-0590 793ffe02 set0 state_24g_reconn ,pdata 
-0591 67e0c8a5 store 1 ,mem_24g_conn_sm 
-0592 58000000 setarg 0 
-0593 67e14887 store 2 ,mem_24g_pair_timeout 
-0594 67e1488d store 2 ,mem_24g_reconn_count 
-0595 67e1488b store 2 ,mem_24g_reconn_timeout 
-0596 2020259e branch g24_reconn_attempt_success 
+0587 204025a3 call g24_reconn_data_prep 
+0588 2040022d call p_g24_transmit_receive_ack 
+0589 242c05a0 nbranch p_g24_reconn_device_fail ,sync 
+058a 243785a0 nbranch p_g24_reconn_device_fail ,user3 
+058b 20402679 call g24_ackpayload_parse 
+058c 6fe2487b fetch 4 ,mem_24g_pair_addr 
+058d 684a483f fetcht 4 ,mem_24g_addr 
+058e 98467c00 isub temp ,null 
+058f 20228584 branch p_g24_reconn_mode_judge ,zero 
+0590 6fe248ad fetch 4 ,mem_24g_device_addr 
+0591 684a483f fetcht 4 ,mem_24g_addr 
+0592 98467c00 isub temp ,null 
+0593 2042859c call p_g24_store_receiver_addr ,zero 
+0594 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+0595 793ffe02 set0 state_24g_reconn ,pdata 
+0596 67e0c8a5 store 1 ,mem_24g_conn_sm 
+0597 58000000 setarg 0 
+0598 67e14887 store 2 ,mem_24g_pair_timeout 
+0599 67e1488d store 2 ,mem_24g_reconn_count 
+059a 67e1488b store 2 ,mem_24g_reconn_timeout 
+059b 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0597 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-0598 207a0000 rtn blank 
-0599 67e24895 store 4 ,mem_24g_receiver_addr 
-059a 20202587 branch g24_ch_syncword_crc8_init 
+059c 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+059d 207a0000 rtn blank 
+059e 67e24895 store 4 ,mem_24g_receiver_addr 
+059f 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-059b 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-059c 203a2281 branch g24_ch ,blank 
-059d 6fe1488d fetch 2 ,mem_24g_reconn_count 
-059e 1fe0fe01 increase 1 ,pdata 
-059f 67e1488d store 2 ,mem_24g_reconn_count 
-05a0 2feffe09 isolate1 9 ,pdata 
-05a1 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-05a2 c00105a5 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
-05a3 c00205ac beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-05a4 202025b1 branch g24_reconn_device_fail + 7 
+05a0 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+05a1 203a2281 branch g24_ch ,blank 
+05a2 6fe1488d fetch 2 ,mem_24g_reconn_count 
+05a3 1fe0fe01 increase 1 ,pdata 
+05a4 67e1488d store 2 ,mem_24g_reconn_count 
+05a5 2feffe09 isolate1 9 ,pdata 
+05a6 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+05a7 c00105aa beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
+05a8 c00205b1 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+05a9 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_fast_conn_and_3_0:
-05a5 6fe0cccf fetch 1 ,mem_24g_reconn_pairing_switch 
-05a6 1fe0fe01 increase 1 ,pdata 
-05a7 1fe17e03 and_into 3 ,pdata 
-05a8 67e0cccf store 1 ,mem_24g_reconn_pairing_switch 
-05a9 c000257e beq 0 ,g24_reconn_device_3_0_addr 
-05aa c001256f beq 2 ,g24_reconn_fast_conn 
-05ab 202022ef branch g24_pair_init_param 
+05aa 6fe0cccf fetch 1 ,mem_24g_reconn_pairing_switch 
+05ab 1fe0fe01 increase 1 ,pdata 
+05ac 1fe17e03 and_into 3 ,pdata 
+05ad 67e0cccf store 1 ,mem_24g_reconn_pairing_switch 
+05ae c000257e beq 0 ,g24_reconn_device_3_0_addr 
+05af c001256f beq 2 ,g24_reconn_fast_conn 
+05b0 202022ef branch g24_pair_init_param 
 
 p_g24_reconn_pair_and_3_0:
-05ac 2020a57e branch g24_reconn_device_3_0_addr ,true 
-05ad 202022ef branch g24_pair_init_param 
+05b1 2020a57e branch g24_reconn_device_3_0_addr ,true 
+05b2 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-05ae 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-05af 243a7ec7 nbranch disable_user ,blank 
-05b0 78347c00 enable user 
-05b1 20401436 call lpo_calibration 
-05b2 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-05b3 203a7ec7 branch disable_user ,blank 
-05b4 6fe0c099 fetch 1 ,mem_lpm_mode 
-05b5 203a7ec7 branch disable_user ,blank 
-05b6 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-05b7 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-05b8 20600000 rtn 
+05b3 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+05b4 243a7ec7 nbranch disable_user ,blank 
+05b5 78347c00 enable user 
+05b6 20401436 call lpo_calibration 
+05b7 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+05b8 203a7ec7 branch disable_user ,blank 
+05b9 6fe0c099 fetch 1 ,mem_lpm_mode 
+05ba 203a7ec7 branch disable_user ,blank 
+05bb 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+05bc c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+05bd 20600000 rtn 
 
 p_ui_timer_check:
-05b9 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-05ba 245a78cc ncall ui_timer_init ,blank 
-05bb 704bf400 jam 0 ,mem_power_on_flag 
-05bc 202078bc branch ui_timer_check + 1 
+05be 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+05bf 245a78cc ncall ui_timer_init ,blank 
+05c0 704bf400 jam 0 ,mem_power_on_flag 
+05c1 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-05bd 18427e00 copy temp ,pdata 
-05be c2801651 bbit1 bit_le_1m_phy ,le_enable 
-05bf c28085c1 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-05c0 2020163c branch le_enable_phy_by_pdata + 5 
+05c2 18427e00 copy temp ,pdata 
+05c3 c2801651 bbit1 bit_le_1m_phy ,le_enable 
+05c4 c28085c6 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+05c5 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-05c1 20401640 call le_enable_2m 
-05c2 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-05c3 20600000 rtn 
+05c6 20401640 call le_enable_2m 
+05c7 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+05c8 20600000 rtn 
 
 p_mouse_motion:
-05c4 78547c00 disable user 
-05c5 58000000 setarg 0 
-05c6 67e348d5 store 6 ,mem_mouse_x 
-05c7 204005d4 call p_mouse_check_sensor_data 
-05c8 58000089 setarg 0x0089 
-05c9 20405d5e call twspi_write 
-05ca 2040047e call p_mouse_seting_sensor_type 
-05cb 20403fbe call mouse_zwheel 
-05cc 20403fc3 call mouse_t_zwheel 
-05cd 204005e8 call p_mouse_key 
-05ce 6fe0c8d4 fetch 1 ,mem_mouse_key 
-05cf 1fe17e1f and_into 0x1f ,pdata 
-05d0 67e0c8d4 store 1 ,mem_mouse_key 
-05d1 24344766 nbranch mouse_drawing_optima_init ,user 
-05d2 204005e4 call p_mouse_drawing_optima 
-05d3 20204584 branch mouse_no_data_timer_init 
+05c9 78547c00 disable user 
+05ca 58000000 setarg 0 
+05cb 67e348d5 store 6 ,mem_mouse_x 
+05cc 204005d9 call p_mouse_check_sensor_data 
+05cd 58000089 setarg 0x0089 
+05ce 20405d5e call twspi_write 
+05cf 20400483 call p_mouse_seting_sensor_type 
+05d0 20403fbe call mouse_zwheel 
+05d1 20403fc3 call mouse_t_zwheel 
+05d2 204005ed call p_mouse_key 
+05d3 6fe0c8d4 fetch 1 ,mem_mouse_key 
+05d4 1fe17e1f and_into 0x1f ,pdata 
+05d5 67e0c8d4 store 1 ,mem_mouse_key 
+05d6 24344766 nbranch mouse_drawing_optima_init ,user 
+05d7 204005e9 call p_mouse_drawing_optima 
+05d8 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-05d4 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-05d5 c1800000 rtnne flash_sm_no_buys 
-05d6 6fe0c92c fetch 1 ,mem_config_sensor_type 
-05d7 c00605da beq ka5857 ,p_mouse_ka5857_sensor_motion 
-05d8 c00585da beq ka8g2 ,p_mouse_ka5857_sensor_motion 
-05d9 20204283 branch mouse_check_sensor_data + 3 
+05d9 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+05da c1800000 rtnne flash_sm_no_buys 
+05db 6fe0c92c fetch 1 ,mem_config_sensor_type 
+05dc c00605df beq ka5857 ,p_mouse_ka5857_sensor_motion 
+05dd c00585df beq ka8g2 ,p_mouse_ka5857_sensor_motion 
+05de 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka5857_sensor_motion:
-05da 20404304 call mouse_clear_sensor_data 
-05db 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-05dc c07f85e0 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
-05dd 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-05de 204060fd call gpio_get_bit 
-05df 24608000 nrtn true 
+05df 20404304 call mouse_clear_sensor_data 
+05e0 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+05e1 c07f85e5 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
+05e2 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+05e3 204060fd call gpio_get_bit 
+05e4 24608000 nrtn true 
 
 p_mouse_ka5857_sensor_motion_1:
-05e0 58000000 setarg pan_reg_pid_l 
-05e1 20405d65 call twspi_read 
-05e2 c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
-05e3 202042b9 branch mouse_p3212_sensor_motion_2 
+05e5 58000000 setarg pan_reg_pid_l 
+05e6 20405d65 call twspi_read 
+05e7 c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
+05e8 202042b9 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-05e4 6fe0c92c fetch 1 ,mem_config_sensor_type 
-05e5 c1018000 rtneq p3212 
-05e6 c1058000 rtneq ka8g2 
-05e7 20204758 branch mouse_drawing_optima 
+05e9 6fe0c92c fetch 1 ,mem_config_sensor_type 
+05ea c1018000 rtneq p3212 
+05eb c1058000 rtneq ka8g2 
+05ec 20204758 branch mouse_drawing_optima 
 
 p_mouse_key:
-05e8 204005eb call p_mouse_check_key_gpio 
-05e9 20400621 call p_mouse_ghost_key_check 
-05ea 2020411e branch mouse_key + 2 
+05ed 204005f0 call p_mouse_check_key_gpio 
+05ee 20400626 call p_mouse_ghost_key_check 
+05ef 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-05eb 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-05ec 245a4161 ncall mouse_check_key_gpio_once ,blank 
-05ed da200000 arg 0 ,rega 
-05ee 204005f2 call p_mouse_check_lkey_gpio 
-05ef 20400601 call p_mouse_check_bkkey_gpio 
-05f0 2040060e call p_mouse_check_fwkey_gpio 
-05f1 2020415e branch mouse_check_key_gpio_next 
+05f0 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+05f1 245a4161 ncall mouse_check_key_gpio_once ,blank 
+05f2 da200000 arg 0 ,rega 
+05f3 204005f7 call p_mouse_check_lkey_gpio 
+05f4 20400606 call p_mouse_check_bkkey_gpio 
+05f5 20400613 call p_mouse_check_fwkey_gpio 
+05f6 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-05f2 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-05f3 2040061b call p_mouse_gpio_config_output_high 
-05f4 20404164 call mouse_check_lkey_gpio 
-05f5 6848c91c fetcht 1 ,mem_lbutton_gpio 
-05f6 20403f96 call mouse_gpio_config_input_pu 
+05f7 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+05f8 20400620 call p_mouse_gpio_config_output_high 
+05f9 20404164 call mouse_check_lkey_gpio 
+05fa 6848c91c fetcht 1 ,mem_lbutton_gpio 
+05fb 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-05f7 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-05f8 2040061b call p_mouse_gpio_config_output_high 
-05f9 2040416a call mouse_check_rkey_gpio 
-05fa 6848c91d fetcht 1 ,mem_rbutton_gpio 
-05fb 20403f96 call mouse_gpio_config_input_pu 
+05fc 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+05fd 20400620 call p_mouse_gpio_config_output_high 
+05fe 2040416a call mouse_check_rkey_gpio 
+05ff 6848c91d fetcht 1 ,mem_rbutton_gpio 
+0600 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-05fc 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-05fd 2040061b call p_mouse_gpio_config_output_high 
-05fe 20404170 call mouse_check_mkey_gpio 
-05ff 6848c91e fetcht 1 ,mem_mbutton_gpio 
-0600 20203f96 branch mouse_gpio_config_input_pu 
+0601 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+0602 20400620 call p_mouse_gpio_config_output_high 
+0603 20404170 call mouse_check_mkey_gpio 
+0604 6848c91e fetcht 1 ,mem_mbutton_gpio 
+0605 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0601 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-0602 c17f8000 rtneq gpio_disable 
-0603 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-0604 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-0605 1fe22600 copy pdata ,regc 
-0606 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0607 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0608 c07f860a beq gpio_disable ,p_mouse_3io6key_bk_check 
-0609 2020417e branch mouse_check_bkkey_gpio_next 
+0606 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+0607 c17f8000 rtneq gpio_disable 
+0608 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+0609 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+060a 1fe22600 copy pdata ,regc 
+060b 6848c911 fetcht 1 ,mem_bk_button_gpio 
+060c 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+060d c07f860f beq gpio_disable ,p_mouse_3io6key_bk_check 
+060e 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-060a 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-060b 2040061e call p_mouse_gpio_config_output_low 
-060c 6848c911 fetcht 1 ,mem_bk_button_gpio 
-060d 2020418b branch mouse_3io6key_bk_check 
+060f 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+0610 20400623 call p_mouse_gpio_config_output_low 
+0611 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0612 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-060e 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-060f c17f8000 rtneq gpio_disable 
-0610 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-0611 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-0612 1fe22600 copy pdata ,regc 
-0613 6848c912 fetcht 1 ,mem_fw_button_gpio 
-0614 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0615 c07f8617 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0616 20204197 branch mouse_check_fwkey_gpio_next 
+0613 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0614 c17f8000 rtneq gpio_disable 
+0615 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+0616 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+0617 1fe22600 copy pdata ,regc 
+0618 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0619 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+061a c07f861c beq gpio_disable ,p_mouse_3io6key_fw_check 
+061b 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0617 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0618 2040061e call p_mouse_gpio_config_output_low 
-0619 6848c912 fetcht 1 ,mem_fw_button_gpio 
-061a 202041a4 branch mouse_3io6key_fw_check 
+061c 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+061d 20400623 call p_mouse_gpio_config_output_low 
+061e 6848c912 fetcht 1 ,mem_fw_button_gpio 
+061f 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-061b c17f8000 rtneq gpio_disable 
-061c d840003f arg gpcfg_output_high ,temp 
-061d 2020612c branch gpio_config_function_int 
+0620 c17f8000 rtneq gpio_disable 
+0621 d840003f arg gpcfg_output_high ,temp 
+0622 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-061e c17f8000 rtneq gpio_disable 
-061f d840003e arg gpcfg_output_low ,temp 
-0620 2020612c branch gpio_config_function_int 
+0623 c17f8000 rtneq gpio_disable 
+0624 d840003e arg gpcfg_output_low ,temp 
+0625 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-0621 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-0622 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-0623 704bab00 jam 0 ,mem_mouse_ghost_flag 
-0624 1fe20400 copy pdata ,temp 
-0625 20400628 call p_mouse_ghost_key_check_l_fw 
-0626 2040062b call p_mouse_ghost_key_check_r_bk 
-0627 20204133 branch mouse_ghost_key_check + 6 
+0626 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+0627 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+0628 704bab00 jam 0 ,mem_mouse_ghost_flag 
+0629 1fe20400 copy pdata ,temp 
+062a 2040062d call p_mouse_ghost_key_check_l_fw 
+062b 20400630 call p_mouse_ghost_key_check_r_bk 
+062c 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-0628 18417e11 and temp ,mouse_l_fw_button ,pdata 
-0629 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-062a 20600000 rtn 
+062d 18417e11 and temp ,mouse_l_fw_button ,pdata 
+062e c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+062f 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-062b 18417e0a and temp ,mouse_r_bk_button ,pdata 
-062c c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-062d 20600000 rtn 
+0630 18417e0a and temp ,mouse_r_bk_button ,pdata 
+0631 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+0632 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/mouse_public/program/patch.prog	(revision 3082)
+++ /YC1308AF/branch/mouse/mouse_public/program/patch.prog	(working copy)
@@ -1695,6 +1695,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
@@ -1708,7 +1716,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
@@ -1775,7 +1784,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
 
