Index: format/rom.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/format/rom.format	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/format/rom.format	(working copy)
@@ -387,14 +387,14 @@
 8 page_interval_timer
 9 key_scan_timer
 10 smp_pairing_timer
-11  ui_led_blink   //led timer 可扩展
+11  ui_led_blink   //led timer 锟斤拷锟斤拷展
 12  ui_led_blink1
 13 ui_led_blink2
 
-//不使用mesh应用可以复用
-//Tiny Mesh 广播APP回复
+//锟斤拷使锟斤拷mesh应锟矫匡拷锟皆革拷锟斤拷
+//Tiny Mesh 锟姐播APP锟截革拷
 13 mesh_ble_adv_app
-//Tiny Mesh广播tmall回复
+//Tiny Mesh锟姐播tmall锟截革拷
 14 mesh_ble_adv_tmall
 //Tiny Mesh relay
 15 mesh_ble_relay_timer
@@ -1597,33 +1597,33 @@
 )
 (//Timer opcode
 0x01A8 VENDOR_MESSAGE_OPCODE_COMPANY_ID
-//时间
+//时锟斤拷
 0xF01F VENDOR_MESSAGE_ATTR_TYPE_TIME
-//时区
+//时锟斤拷
 0xF01E VENDOR_MESSAGE_ATTR_TYPE_TIME_ZONE
-//对时
+//锟斤拷时
 0xF01D VENDOR_MESSAGE_ATTR_TYPE_ON_TIME
-//定时
+//锟斤拷时
 0xF010 VENDOR_MESSAGE_ATTR_TYPE_TIMING
-//周期定时
+//锟斤拷锟节讹拷时
 0xF011 VENDOR_MESSAGE_ATTR_TYPE_CYCLE_TIMING
-//删除定时
+//删锟斤拷锟斤拷时
 0xF012 VENDOR_MESSAGE_ATTR_TYPE_DELETE_TIMING
 
-//颜色
+//锟斤拷色
 0x0123 VENDOR_MESSAGE_ATTR_TYPE_COLOR
-//主灯
+//锟斤拷锟斤拷
 0x0534 VENDOR_MESSAGE_ATTR_TYPE_MAIN_LIGHT
-//背光灯
+//锟斤拷锟斤拷锟
 0x0533 VENDOR_MESSAGE_ATTR_TYPE_BACKGROUND_LIGHT
 )
-(//天猫event事件表
-//设备发生的事件，比如上电或者定时完成
+(//锟斤拷猫event锟铰硷拷锟斤拷
+//锟借备锟斤拷锟斤拷锟斤拷锟铰硷拷锟斤拷锟斤拷锟斤拷锟较碉拷锟斤拷叨锟绞憋拷锟斤拷
 0xF009 VENDOR_ATTR_TYPE_EVENT_TRIGGER
 
-//天猫设备上电
+//锟斤拷猫锟借备锟较碉拷
 0x03 VENDOR_MESSAGE_EVENT_DEVICE_POWER_ON
-//天猫定时完成
+//锟斤拷猫锟斤拷时锟斤拷锟
 0x11 VENDOR_MESSAGE_EVENT_FINISH_TIMING
 )
 (
@@ -1649,7 +1649,7 @@
 (//transport mic cache parameter
 10 TRANSPORT_MIC_CACHE_SPACE_NUM
 4 TRANSPORT_MIC_CACHE_SPACE_SIZE
-//总长度少一个space
+//锟杰筹拷锟斤拷锟斤拷一锟斤拷space
 36 TRANSPORT_MIC_CACHE_TOTAL_SIZE
 )
 (
@@ -1676,24 +1676,24 @@
 1 DEVICE_BEACON_ON
 )
 (
-//未配网广播超时10min
+//未锟斤拷锟斤拷锟姐播锟斤拷时10min
 0x1770	ADV_UNPROVISIONED_DEVICE_BEACON_TIMEOUT
-//未配网广播间隔500ms
+//未锟斤拷锟斤拷锟姐播锟斤拷锟500ms
 5		ADV_UNPROVISIONED_DEVICE_BEACON_INTERVAL
-//未配网广播时长120ms=20ms*6
+//未锟斤拷锟斤拷锟姐播时锟斤拷120ms=20ms*6
 6		ADV_UNPROVISIONED_DEVICE_BEACON_DURATION
 
-//静默广播超时:无
+//锟斤拷默锟姐播锟斤拷时:锟斤拷
 0		ADV_SILENCE_DEVICE_BEACON_TIMEOUT
-//静默广播间隔60s
+//锟斤拷默锟姐播锟斤拷锟60s
 600		ADV_SILENCE_DEVICE_BEACON_INTERVAL
-//静默广播时长120ms=20ms*6
+//锟斤拷默锟姐播时锟斤拷120ms=20ms*6
 6		ADV_SILENCE_DEVICE_BEACON_DURATION
 
 
-//配网后广播间隔
+//锟斤拷锟斤拷锟斤拷悴ワ拷锟斤拷
 0x54		ADV_PAIRING_MESH_MESSAGE_INTERVAL
-//配网后广播时长
+//锟斤拷锟斤拷锟斤拷悴ナ憋拷锟
 20		ADV_PAIRING_MESH_MESSAGE_DURATION
 
 10		ADV_RELAY_MESH_MESSAGE_DURATION
@@ -1704,9 +1704,9 @@
 6 BIT_OF_ADV_IN_OFF
 )
 (
-//mesh 回复APP广播间隔24*0.625ms = 15ms
+//mesh 锟截革拷APP锟姐播锟斤拷锟24*0.625ms = 15ms
 0x15 MESH_ADV_APP_MESSAGE_INTERVAL
-//mesh回复tmall广播间隔32*0.625ms = 20ms
+//mesh锟截革拷tmall锟姐播锟斤拷锟32*0.625ms = 20ms
 0x1d MESH_ADV_TMALL_MESSAGE_INTERVAL
 )
 (
@@ -2104,7 +2104,8 @@
 6 power_starting_cb_offset
 8 power_standby_cb_offset
 10 ui_butten_up_cb_offset
-)
+)
+
 (
 0x9000 mem_b_box
 0x9100 mem_e_box
@@ -2320,20 +2321,20 @@
 )
 (
 0xa2 COMMAND_TEST	//BYTE 0
-0x81 COM_TEST_SC		//	进入单载波
-0x82 COM_TEST_CD		// fcc测试
-0x83 COM_TEST_DAT		// 数据测试
-0x84 COM_TEST_LOW_CH  //低频点
-0x85 COM_TEST_MID_CH	//中频点
-0x86 COM_TEST_HIG_CH	//高频点
-0x87 COM_TEST_SW_HIG	//自动切换频点为高 1mhz
-0x88 COIM_TEST_SW_LOW	//自动切换频点为低 1mhz
-0x89 COM_TEST_SW_STOP	//停止自动切换频点
-0x8a COM_TEST_POW_5		//设置输出功率5dbm
+0x81 COM_TEST_SC		//	锟斤拷锟诫单锟截诧拷
+0x82 COM_TEST_CD		// fcc锟斤拷锟斤拷
+0x83 COM_TEST_DAT		// 锟斤拷锟捷诧拷锟斤拷
+0x84 COM_TEST_LOW_CH  //锟斤拷频锟斤拷
+0x85 COM_TEST_MID_CH	//锟斤拷频锟斤拷
+0x86 COM_TEST_HIG_CH	//锟斤拷频锟斤拷
+0x87 COM_TEST_SW_HIG	//锟皆讹拷锟叫伙拷频锟斤拷为锟斤拷 1mhz
+0x88 COIM_TEST_SW_LOW	//锟皆讹拷锟叫伙拷频锟斤拷为锟斤拷 1mhz
+0x89 COM_TEST_SW_STOP	//停止锟皆讹拷锟叫伙拷频锟斤拷
+0x8a COM_TEST_POW_5		//锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟5dbm
 0x8b COM_TEST_POW_0		//0dbm
 0x8c COM_TEST_POW_N5		//-5dbm
 0x8d COM_TEST_POW_N10		//-10dbm
-0x8e COM_TEST_EXIT			//退出测试模式
+0x8e COM_TEST_EXIT			//锟剿筹拷锟斤拷锟斤拷模式
 )
 (
 0xa6 COMMAND_CURRENT_PROJECT
@@ -7137,7 +7138,7 @@
 	1 mem_mesh_access_layer_payload_len
 	0 mem_mesh_access_layer_payload
 	50 mem_mesh_access_payload
-	50 mem_mesh_access_payload_padding	//为了透传模块预留
+	50 mem_mesh_access_payload_padding	//为锟斤拷透锟斤拷模锟斤拷预锟斤拷
 )
 memalloc ali_mesh(
 	0 mem_mesh_queue_ele_temp
@@ -7646,7 +7647,7 @@
 
 )
 amemalloc mem_mesh_receive_model_message_payload(
-	//Scene recall 模式设置
+	//Scene recall 模式锟斤拷锟斤拷
 	1 mem_mesh_module_message_opcode_scene_recall
 	2 mem_mesh_scene_recall_payload_scene_number
 	1 mem_mesh_scene_recall_payload_TID
@@ -8604,12 +8605,12 @@
 )
 xmemalloc ali_mesh(
 	1 mem_mesh_advertising_unprovisioned_device_beacon_switch
-	//未配网广播间隔
+	//未锟斤拷锟斤拷锟姐播锟斤拷锟
 	2 mem_mesh_advertising_unprovisioned_device_beacon_timer
 
-	//广播生存周期
+	//锟姐播锟斤拷锟斤拷锟斤拷锟斤拷
 	1 mem_mesh_advertising_unprovisioned_device_beacon_duration
-	//广播周期之间的间隔
+	//锟姐播锟斤拷锟斤拷之锟斤拷募锟斤拷
 	1 mem_mesh_advertising_unprovisioned_device_beacon_interval
 
 )
@@ -8679,10 +8680,10 @@
 )
 xmemalloc ali_mesh(
 
-	// provisioning flag 标志是否入网
+	// provisioning flag 锟斤拷志锟角凤拷锟斤拷锟斤拷
 	1 mem_mesh_provisioned_flag
 
-	//入网时的状态机
+	//锟斤拷锟斤拷时锟斤拷状态锟斤拷
 	1 mem_mesh_Provisioning_State_Flag
 	
 	1 mem_mesh_Device_PID
@@ -8705,7 +8706,7 @@
 
 )
 xmemalloc ali_mesh(
-//GATT 协议
+//GATT 协锟斤拷
 	1 mem_mesh_gatt_receive_msg_timer
 	//fast pairing 
 	//APP control 
@@ -8715,22 +8716,22 @@
 
 )
 xmemalloc ali_mesh(
-	// three tuple 阿里云平台分配的三元组
+	// three tuple 锟斤拷锟斤拷锟斤拷平台锟斤拷锟斤拷锟斤拷锟皆拷锟
 	4 mem_mesh_three_tuple_ProductID
 	6 mem_mesh_three_tuple_MAC
 	16 mem_mesh_three_tuple_secret
 
-	//ble 核心协议栈，scan到数据的回调
+	//ble 锟斤拷锟斤拷协锟斤拷栈锟斤拷scan锟斤拷锟斤拷锟捷的回碉拷
 	2 mem_mesh_cb_receive_advertising
 
-	//alarm寄存器不能修改
-	//mesh核心规范接收到任何TMALL指令
+	//alarm锟侥达拷锟斤拷锟斤拷锟斤拷锟睫革拷
+	//mesh锟斤拷锟侥规范锟斤拷锟秸碉拷锟轿猴拷TMALL指锟斤拷
 	2 mem_mesh_cb_receive_access_message
 
-	//接收到配置application key指令(可以认为入网成功)
+	//锟斤拷锟秸碉拷锟斤拷锟斤拷application key指锟斤拷(锟斤拷锟斤拷锟斤拷为锟斤拷锟斤拷锟缴癸拷)
 	2 mem_mesh_cb_receive_config_appkey_add
 
-	//各种原因配网失败回调
+	//锟斤拷锟斤拷原锟斤拷锟斤拷锟斤拷失锟杰回碉拷
 	2 mem_mesh_cb_pairing_fail
 
 	2 mem_mesh_cb_generic_onoff_get
@@ -8744,18 +8745,18 @@
 	2 mem_mesh_cb_background_onoff_set
 	2 mem_mesh_cb_color_set
 
-	//relay 的功能回调
+	//relay 锟侥癸拷锟杰回碉拷
 	2 mem_mesh_cb_network_relay
 
-	//模块复位的回调，需要3s之后复位
+	//模锟介复位锟侥回碉拷锟斤拷锟斤拷要3s之锟斤拷位
 	2 mem_mesh_cb_receive_node_reset
 
-	//seq改变时的回调，需要存到对应的存储器中
+	//seq锟侥憋拷时锟侥回碉拷锟斤拷锟斤拷要锟芥到锟斤拷应锟侥存储锟斤拷锟斤拷
 	2 mem_mesh_cb_seq_changed
 
 	2 mem_mesh_cb_subscriptuion_list_changed
 
-	//Timer 定时器改变时，需要存到对应的存储器中
+	//Timer 锟斤拷时锟斤拷锟侥憋拷时锟斤拷锟斤拷要锟芥到锟斤拷应锟侥存储锟斤拷锟斤拷
 	2 mem_mesh_cb_vendor_timing_changed
 	
 
@@ -8793,7 +8794,7 @@
 	1 mem_mesh_element_device_upper_queue_current_num
 	1 mem_mesh_element_device_upper_queue_read_ptr
 	1 mem_mesh_element_device_upper_queue_write_ptr
-	//元素长度为47
+	//元锟截筹拷锟斤拷为47
 	188 mem_mesh_element_device_upper_queue_ele
 
 )
@@ -9741,6 +9742,7 @@
 1 mem_mouse_low_power_logo_off_status
 
 42 mem_sensor_8650_init_new
+1 mem_mouse_customer_key_connect_vin_flag
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/eeprom.dat	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-de
-17
+a6
+18
 c2
 84
 00
@@ -79,11 +79,11 @@
 c0
 67
 04
-f5
+f6
 c0
 67
 85
-bf
+f1
 c0
 68
 03
@@ -91,7 +91,7 @@
 c0
 68
 85
-2a
+42
 c0
 69
 80
@@ -99,7 +99,7 @@
 c0
 6a
 05
-0f
+27
 c0
 6b
 02
@@ -111,15 +111,15 @@
 c0
 6d
 04
-64
+65
 c0
 6d
 84
-91
+92
 c0
 6f
 05
-62
+94
 c0
 6f
 80
@@ -135,7 +135,7 @@
 c0
 74
 04
-98
+99
 20
 20
 13
@@ -143,7 +143,7 @@
 c0
 0d
 04
-ac
+ad
 c0
 10
 00
@@ -159,19 +159,19 @@
 c0
 43
 84
-94
+95
 c0
 50
 84
-b6
+b7
 c0
 51
 84
-c0
+c1
 c0
 60
 04
-c2
+c3
 c0
 6e
 83
@@ -191,11 +191,11 @@
 c0
 76
 04
-e8
+e9
 c0
 76
-85
-ef
+86
+21
 20
 20
 13
@@ -315,7 +315,7 @@
 24
 5a
 03
-d3
+d4
 20
 40
 3d
@@ -1007,7 +1007,7 @@
 20
 40
 05
-21
+39
 20
 40
 00
@@ -1063,7 +1063,7 @@
 24
 3a
 03
-d3
+d4
 20
 60
 00
@@ -1355,11 +1355,11 @@
 20
 40
 04
-21
+22
 20
 40
 04
-0b
+0c
 20
 40
 03
@@ -1367,7 +1367,7 @@
 20
 40
 03
-c9
+ca
 20
 40
 01
@@ -1847,7 +1847,7 @@
 20
 20
 05
-21
+39
 20
 40
 26
@@ -2075,7 +2075,7 @@
 20
 20
 05
-71
+a3
 70
 4b
 94
@@ -2211,11 +2211,11 @@
 20
 40
 05
-1a
+32
 20
 40
 05
-21
+39
 20
 20
 3e
@@ -2231,7 +2231,7 @@
 20
 40
 04
-21
+22
 20
 40
 03
@@ -2263,7 +2263,7 @@
 20
 40
 05
-5c
+8e
 d8
 40
 00
@@ -2283,7 +2283,7 @@
 20
 40
 04
-0b
+0c
 6f
 e0
 cc
@@ -2543,7 +2543,7 @@
 20
 40
 05
-5c
+8e
 20
 20
 3e
@@ -2571,7 +2571,7 @@
 20
 40
 04
-e8
+e9
 24
 74
 00
@@ -2699,7 +2699,7 @@
 20
 40
 03
-c7
+c8
 20
 20
 43
@@ -2711,7 +2711,7 @@
 20
 40
 03
-c7
+c8
 20
 20
 43
@@ -2851,7 +2851,7 @@
 20
 40
 03
-d1
+d2
 20
 40
 48
@@ -2879,7 +2879,7 @@
 20
 40
 03
-d1
+d2
 20
 40
 45
@@ -3095,7 +3095,7 @@
 20
 40
 05
-21
+39
 20
 20
 02
@@ -3419,7 +3419,7 @@
 20
 40
 03
-d3
+d4
 20
 20
 48
@@ -3427,7 +3427,7 @@
 20
 40
 03
-d3
+d4
 20
 40
 00
@@ -3439,7 +3439,7 @@
 20
 40
 03
-d3
+d4
 20
 20
 48
@@ -3503,7 +3503,7 @@
 20
 3a
 04
-2c
+2d
 67
 e0
 cb
@@ -3634,6 +3634,10 @@
 86
 20
 40
+05
+76
+20
+40
 23
 2b
 20
@@ -3647,11 +3651,11 @@
 20
 40
 04
-29
+2a
 20
 40
 03
-db
+dc
 20
 40
 40
@@ -3663,11 +3667,11 @@
 20
 40
 03
-a5
+a6
 20
 40
 04
-41
+42
 20
 40
 44
@@ -3675,15 +3679,15 @@
 20
 40
 03
-b6
+b7
 20
 40
 03
-bc
+bd
 20
 40
 03
-c0
+c1
 20
 40
 45
@@ -3691,7 +3695,7 @@
 20
 40
 04
-58
+59
 20
 40
 45
@@ -3699,7 +3703,7 @@
 20
 40
 04
-5b
+5c
 20
 40
 45
@@ -3727,15 +3731,15 @@
 20
 40
 04
-0e
+0f
 20
 40
 04
-5e
+5f
 20
 20
 03
-c4
+c5
 6f
 e4
 4b
@@ -3743,7 +3747,7 @@
 c2
 9b
 83
-a8
+a9
 20
 60
 00
@@ -3763,7 +3767,7 @@
 da
 40
 03
-ad
+ae
 20
 20
 31
@@ -3807,7 +3811,7 @@
 da
 40
 03
-b9
+ba
 da
 60
 4c
@@ -3831,7 +3835,7 @@
 da
 40
 03
-bf
+c0
 da
 60
 4c
@@ -3875,11 +3879,11 @@
 20
 40
 05
-0f
+27
 20
 20
 03
-d1
+d2
 6f
 e0
 cc
@@ -3915,15 +3919,15 @@
 20
 40
 03
-c9
+ca
 20
 20
 03
-d7
+d8
 20
 20
 03
-d4
+d5
 70
 4c
 41
@@ -3935,7 +3939,7 @@
 20
 20
 03
-ce
+cf
 70
 4c
 41
@@ -3967,7 +3971,7 @@
 c0
 00
 83
-eb
+ec
 6f
 e0
 cc
@@ -3975,7 +3979,7 @@
 24
 3a
 03
-e3
+e4
 70
 4c
 41
@@ -3991,7 +3995,7 @@
 20
 3a
 03
-e8
+e9
 1f
 e0
 ff
@@ -4003,7 +4007,7 @@
 20
 20
 03
-f2
+f3
 70
 4c
 45
@@ -4015,7 +4019,7 @@
 20
 20
 03
-fe
+ff
 da
 60
 4c
@@ -4023,7 +4027,7 @@
 da
 40
 03
-ee
+ef
 20
 20
 31
@@ -4031,7 +4035,7 @@
 20
 40
 03
-ce
+cf
 6f
 e0
 cc
@@ -4039,7 +4043,7 @@
 c0
 00
 83
-fd
+fe
 70
 4c
 4e
@@ -4051,15 +4055,15 @@
 c0
 00
 03
-f7
+f8
 c0
 00
 83
-f9
+fa
 c0
 01
 03
-fb
+fc
 20
 60
 00
@@ -4071,7 +4075,7 @@
 20
 20
 03
-fc
+fd
 68
 48
 cc
@@ -4079,7 +4083,7 @@
 20
 20
 03
-fc
+fd
 68
 48
 cc
@@ -4099,15 +4103,15 @@
 c0
 00
 04
-03
+04
 c0
 00
 84
-05
+06
 c0
 01
 04
-07
+08
 20
 60
 00
@@ -4119,7 +4123,7 @@
 20
 20
 04
-08
+09
 68
 48
 cc
@@ -4127,7 +4131,7 @@
 20
 20
 04
-08
+09
 68
 48
 cc
@@ -4147,15 +4151,15 @@
 20
 40
 04
-03
+04
 20
 40
 04
-05
+06
 20
 20
 04
-07
+08
 6f
 e0
 cb
@@ -4195,7 +4199,7 @@
 c2
 82
 04
-25
+26
 70
 4c
 9b
@@ -4231,7 +4235,7 @@
 20
 21
 04
-23
+24
 68
 48
 cb
@@ -4263,7 +4267,7 @@
 20
 20
 04
-21
+22
 da
 60
 4b
@@ -4271,7 +4275,7 @@
 da
 40
 04
-2c
+2d
 20
 20
 31
@@ -4327,11 +4331,11 @@
 20
 41
 04
-3b
+3c
 24
 41
 04
-3f
+40
 20
 20
 48
@@ -4367,7 +4371,7 @@
 c0
 00
 04
-47
+48
 6f
 e4
 4b
@@ -4383,7 +4387,7 @@
 20
 20
 04
-4a
+4b
 6f
 e4
 4b
@@ -4419,7 +4423,7 @@
 20
 22
 84
-51
+52
 20
 20
 44
@@ -4427,7 +4431,7 @@
 20
 40
 04
-56
+57
 6f
 e0
 cb
@@ -4483,7 +4487,7 @@
 da
 40
 04
-61
+62
 20
 20
 31
@@ -4503,15 +4507,15 @@
 20
 40
 03
-d3
+d4
 20
 40
 05
-21
+39
 20
 40
 04
-21
+22
 6f
 e1
 47
@@ -4555,7 +4559,7 @@
 c2
 85
 84
-7a
+7b
 6f
 e4
 4b
@@ -4563,7 +4567,7 @@
 c3
 04
 04
-7a
+7b
 68
 49
 49
@@ -4651,7 +4655,7 @@
 20
 40
 04
-8b
+8c
 20
 60
 00
@@ -4663,11 +4667,11 @@
 c0
 00
 84
-8f
+90
 c0
 01
 04
-90
+91
 20
 60
 00
@@ -4735,7 +4739,7 @@
 c0
 04
 84
-a0
+a1
 20
 20
 4d
@@ -4811,7 +4815,7 @@
 c0
 03
 84
-b3
+b4
 20
 20
 57
@@ -4883,7 +4887,7 @@
 c0
 02
 04
-c5
+c6
 20
 20
 19
@@ -4899,11 +4903,11 @@
 c0
 05
 04
-ca
+cb
 c0
 09
 04
-d9
+da
 20
 20
 1c
@@ -4931,7 +4935,7 @@
 c2
 81
 84
-d4
+d5
 6f
 e1
 44
@@ -4959,11 +4963,11 @@
 24
 22
 84
-d0
+d1
 24
 34
 04
-d0
+d1
 20
 20
 1e
@@ -5094,8 +5098,8 @@
 d1
 20
 40
-42
-40
+05
+05
 20
 40
 40
@@ -5111,7 +5115,7 @@
 20
 40
 05
-28
+40
 6f
 e0
 c8
@@ -5127,40 +5131,132 @@
 24
 34
 05
-07
+1f
 20
 40
 05
-04
+1c
 20
 40
 05
-0c
+24
 20
 20
 45
 44
-70
-4c
-98
-00
-70
-4c
-99
-00
-20
-60
-00
-00
-20
-40
-47
-28
 6f
 e0
-cc
-99
-24
+c4
+ac
+c1
+80
+00
+00
+6f
+e0
+c9
+27
+c0
+03
+85
+0a
+20
+20
+42
+43
+20
+40
+42
+c4
+78
+54
+7c
+00
+6f
+e0
+c9
+11
+c0
+7f
+85
+11
+68
+48
+c9
+11
+20
+40
+60
+59
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5b
+0d
+c0
+98
+42
+66
+58
+00
+00
+02
+20
+40
+5b
+0d
+c3
+03
+85
+18
+20
+20
+05
+1b
+c2
+81
+85
+1b
+c2
+82
+05
+1b
+20
+60
+00
+00
+20
+20
+42
+59
+70
+4c
+98
+00
+70
+4c
+99
+00
+20
+60
+00
+00
+20
+40
+47
+28
+6f
+e0
+cc
+99
+24
 7a
 00
 00
@@ -5195,7 +5291,7 @@
 c0
 05
 85
-16
+2e
 20
 40
 42
@@ -5215,7 +5311,7 @@
 20
 40
 05
-1d
+35
 da
 60
 4b
@@ -5235,7 +5331,7 @@
 c0
 05
 85
-1d
+35
 20
 20
 42
@@ -5271,7 +5367,7 @@
 c0
 05
 85
-26
+3e
 20
 20
 42
@@ -5287,7 +5383,7 @@
 20
 40
 05
-2a
+42
 20
 20
 40
@@ -5307,27 +5403,35 @@
 20
 40
 05
-33
+4d
 20
 40
 05
-38
+52
 20
 40
 05
-3d
+57
 20
 40
 05
-42
+5c
 20
 40
 05
-4f
+69
 20
+40
+05
+7b
+1a
+22
+7e
+00
 20
-41
-1e
+60
+00
+00
 6f
 e0
 c9
@@ -5335,7 +5439,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5355,7 +5459,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5375,7 +5479,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5419,7 +5523,7 @@
 c0
 7f
 85
-4b
+65
 20
 20
 41
@@ -5431,7 +5535,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5471,7 +5575,7 @@
 c0
 7f
 85
-58
+72
 20
 20
 41
@@ -5483,7 +5587,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5492,6 +5596,102 @@
 20
 41
 64
+6f
+e0
+c9
+12
+c1
+7f
+80
+00
+c4
+03
+80
+00
+70
+4c
+c6
+01
+20
+60
+00
+00
+6f
+e0
+cc
+c6
+20
+3a
+41
+6a
+70
+4b
+8b
+00
+6f
+e4
+4b
+ab
+c4
+0a
+80
+00
+6f
+e0
+c9
+12
+79
+3f
+fe
+07
+67
+e0
+c9
+12
+70
+4b
+96
+07
+6f
+e0
+cb
+95
+1f
+e2
+26
+00
+6f
+e0
+c9
+12
+20
+40
+05
+91
+68
+48
+c9
+12
+20
+40
+41
+95
+67
+e0
+cb
+95
+20
+40
+41
+74
+68
+48
+c9
+12
+20
+20
+3f
+56
 c1
 7f
 80
@@ -5527,15 +5727,15 @@
 20
 40
 05
-71
+a3
 20
 40
 05
-83
+b5
 20
 40
 05
-68
+9a
 20
 20
 46
@@ -5547,11 +5747,11 @@
 c2
 94
 85
-6c
+9e
 c2
 9b
 85
-6c
+9e
 20
 60
 00
@@ -5599,7 +5799,7 @@
 20
 40
 05
-78
+aa
 20
 20
 40
@@ -5627,7 +5827,7 @@
 c0
 7f
 85
-7f
+b1
 20
 20
 40
@@ -5639,7 +5839,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5663,7 +5863,7 @@
 24
 3a
 05
-8c
+be
 6f
 e0
 cc
@@ -5671,11 +5871,11 @@
 20
 40
 05
-5c
+8e
 20
 40
 05
-97
+c9
 68
 48
 cc
@@ -5699,7 +5899,7 @@
 20
 40
 05
-5f
+91
 70
 4c
 3f
@@ -5715,11 +5915,11 @@
 20
 40
 05
-b0
+e2
 20
 40
 05
-9b
+cd
 68
 48
 cc
@@ -5743,7 +5943,7 @@
 20
 40
 05
-a6
+d8
 67
 e0
 cc
@@ -5755,7 +5955,7 @@
 20
 3a
 05
-a2
+d4
 6f
 e0
 cc
@@ -5819,11 +6019,11 @@
 c0
 03
 85
-bb
+ed
 c0
 00
 05
-bd
+ef
 20
 60
 00
@@ -5863,11 +6063,11 @@
 c0
 03
 85
-bb
+ed
 c0
 00
 05
-bd
+ef
 20
 60
 00
@@ -5911,7 +6111,7 @@
 c2
 9e
 85
-cb
+fd
 18
 42
 7e
@@ -5942,16 +6142,16 @@
 3e
 24
 3a
-05
-e8
+06
+1a
 6f
 e4
 4b
 ab
 c2
 8e
-05
-dc
+06
+0e
 18
 42
 7e
@@ -5962,12 +6162,12 @@
 00
 c0
 00
-05
-d8
+06
+0a
 c0
 01
-05
-d6
+06
+08
 20
 60
 00
@@ -5979,7 +6179,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -5987,7 +6187,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -5995,7 +6195,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -6003,7 +6203,7 @@
 20
 20
 05
-c8
+fa
 18
 42
 7e
@@ -6014,16 +6214,16 @@
 00
 c0
 00
-05
-d8
+06
+0a
 c0
 01
-05
-da
+06
+0c
 c0
 01
-85
-d6
+86
+08
 20
 60
 00
@@ -6038,16 +6238,16 @@
 00
 c0
 00
-05
-da
+06
+0c
 c0
 00
-85
-d6
+86
+08
 c0
 01
-85
-d4
+86
+06
 20
 60
 00
@@ -6058,8 +6258,8 @@
 ab
 c2
 8e
-05
-e2
+06
+14
 18
 42
 7e
@@ -6070,12 +6270,12 @@
 00
 c0
 00
-05
-d4
+06
+06
 c0
 00
-85
-d6
+86
+08
 20
 60
 00
@@ -6112,8 +6312,8 @@
 20
 26
 f6
-74
-33
+ed
+58
 aa
 55
 40
@@ -7137,6 +7337,24 @@
 ff
 aa
 55
+0c
+00
+97
+4a
+05
+b9
+09
+5a
+0b
+72
+0c
+52
+09
+00
+ff
+ff
+aa
+55
 3e
 00
 53
@@ -7450,234 +7668,16 @@
 02
 40
 00
-27
-1d
+01
+1e
 55
 aa
 aa
 55
-5d
-91
-91
-40
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+27
+97
+cf
+67
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-b0
-fe
+69
+95
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/flash.dat	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/flash.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-de
-17
+a6
+18
 c2
 84
 00
@@ -79,11 +79,11 @@
 c0
 67
 04
-f5
+f6
 c0
 67
 85
-bf
+f1
 c0
 68
 03
@@ -91,7 +91,7 @@
 c0
 68
 85
-2a
+42
 c0
 69
 80
@@ -99,7 +99,7 @@
 c0
 6a
 05
-0f
+27
 c0
 6b
 02
@@ -111,15 +111,15 @@
 c0
 6d
 04
-64
+65
 c0
 6d
 84
-91
+92
 c0
 6f
 05
-62
+94
 c0
 6f
 80
@@ -135,7 +135,7 @@
 c0
 74
 04
-98
+99
 20
 20
 13
@@ -143,7 +143,7 @@
 c0
 0d
 04
-ac
+ad
 c0
 10
 00
@@ -159,19 +159,19 @@
 c0
 43
 84
-94
+95
 c0
 50
 84
-b6
+b7
 c0
 51
 84
-c0
+c1
 c0
 60
 04
-c2
+c3
 c0
 6e
 83
@@ -191,11 +191,11 @@
 c0
 76
 04
-e8
+e9
 c0
 76
-85
-ef
+86
+21
 20
 20
 13
@@ -315,7 +315,7 @@
 24
 5a
 03
-d3
+d4
 20
 40
 3d
@@ -1007,7 +1007,7 @@
 20
 40
 05
-21
+39
 20
 40
 00
@@ -1063,7 +1063,7 @@
 24
 3a
 03
-d3
+d4
 20
 60
 00
@@ -1355,11 +1355,11 @@
 20
 40
 04
-21
+22
 20
 40
 04
-0b
+0c
 20
 40
 03
@@ -1367,7 +1367,7 @@
 20
 40
 03
-c9
+ca
 20
 40
 01
@@ -1847,7 +1847,7 @@
 20
 20
 05
-21
+39
 20
 40
 26
@@ -2075,7 +2075,7 @@
 20
 20
 05
-71
+a3
 70
 4b
 94
@@ -2211,11 +2211,11 @@
 20
 40
 05
-1a
+32
 20
 40
 05
-21
+39
 20
 20
 3e
@@ -2231,7 +2231,7 @@
 20
 40
 04
-21
+22
 20
 40
 03
@@ -2263,7 +2263,7 @@
 20
 40
 05
-5c
+8e
 d8
 40
 00
@@ -2283,7 +2283,7 @@
 20
 40
 04
-0b
+0c
 6f
 e0
 cc
@@ -2543,7 +2543,7 @@
 20
 40
 05
-5c
+8e
 20
 20
 3e
@@ -2571,7 +2571,7 @@
 20
 40
 04
-e8
+e9
 24
 74
 00
@@ -2699,7 +2699,7 @@
 20
 40
 03
-c7
+c8
 20
 20
 43
@@ -2711,7 +2711,7 @@
 20
 40
 03
-c7
+c8
 20
 20
 43
@@ -2851,7 +2851,7 @@
 20
 40
 03
-d1
+d2
 20
 40
 48
@@ -2879,7 +2879,7 @@
 20
 40
 03
-d1
+d2
 20
 40
 45
@@ -3095,7 +3095,7 @@
 20
 40
 05
-21
+39
 20
 20
 02
@@ -3419,7 +3419,7 @@
 20
 40
 03
-d3
+d4
 20
 20
 48
@@ -3427,7 +3427,7 @@
 20
 40
 03
-d3
+d4
 20
 40
 00
@@ -3439,7 +3439,7 @@
 20
 40
 03
-d3
+d4
 20
 20
 48
@@ -3503,7 +3503,7 @@
 20
 3a
 04
-2c
+2d
 67
 e0
 cb
@@ -3634,6 +3634,10 @@
 86
 20
 40
+05
+76
+20
+40
 23
 2b
 20
@@ -3647,11 +3651,11 @@
 20
 40
 04
-29
+2a
 20
 40
 03
-db
+dc
 20
 40
 40
@@ -3663,11 +3667,11 @@
 20
 40
 03
-a5
+a6
 20
 40
 04
-41
+42
 20
 40
 44
@@ -3675,15 +3679,15 @@
 20
 40
 03
-b6
+b7
 20
 40
 03
-bc
+bd
 20
 40
 03
-c0
+c1
 20
 40
 45
@@ -3691,7 +3695,7 @@
 20
 40
 04
-58
+59
 20
 40
 45
@@ -3699,7 +3703,7 @@
 20
 40
 04
-5b
+5c
 20
 40
 45
@@ -3727,15 +3731,15 @@
 20
 40
 04
-0e
+0f
 20
 40
 04
-5e
+5f
 20
 20
 03
-c4
+c5
 6f
 e4
 4b
@@ -3743,7 +3747,7 @@
 c2
 9b
 83
-a8
+a9
 20
 60
 00
@@ -3763,7 +3767,7 @@
 da
 40
 03
-ad
+ae
 20
 20
 31
@@ -3807,7 +3811,7 @@
 da
 40
 03
-b9
+ba
 da
 60
 4c
@@ -3831,7 +3835,7 @@
 da
 40
 03
-bf
+c0
 da
 60
 4c
@@ -3875,11 +3879,11 @@
 20
 40
 05
-0f
+27
 20
 20
 03
-d1
+d2
 6f
 e0
 cc
@@ -3915,15 +3919,15 @@
 20
 40
 03
-c9
+ca
 20
 20
 03
-d7
+d8
 20
 20
 03
-d4
+d5
 70
 4c
 41
@@ -3935,7 +3939,7 @@
 20
 20
 03
-ce
+cf
 70
 4c
 41
@@ -3967,7 +3971,7 @@
 c0
 00
 83
-eb
+ec
 6f
 e0
 cc
@@ -3975,7 +3979,7 @@
 24
 3a
 03
-e3
+e4
 70
 4c
 41
@@ -3991,7 +3995,7 @@
 20
 3a
 03
-e8
+e9
 1f
 e0
 ff
@@ -4003,7 +4007,7 @@
 20
 20
 03
-f2
+f3
 70
 4c
 45
@@ -4015,7 +4019,7 @@
 20
 20
 03
-fe
+ff
 da
 60
 4c
@@ -4023,7 +4027,7 @@
 da
 40
 03
-ee
+ef
 20
 20
 31
@@ -4031,7 +4035,7 @@
 20
 40
 03
-ce
+cf
 6f
 e0
 cc
@@ -4039,7 +4043,7 @@
 c0
 00
 83
-fd
+fe
 70
 4c
 4e
@@ -4051,15 +4055,15 @@
 c0
 00
 03
-f7
+f8
 c0
 00
 83
-f9
+fa
 c0
 01
 03
-fb
+fc
 20
 60
 00
@@ -4071,7 +4075,7 @@
 20
 20
 03
-fc
+fd
 68
 48
 cc
@@ -4079,7 +4083,7 @@
 20
 20
 03
-fc
+fd
 68
 48
 cc
@@ -4099,15 +4103,15 @@
 c0
 00
 04
-03
+04
 c0
 00
 84
-05
+06
 c0
 01
 04
-07
+08
 20
 60
 00
@@ -4119,7 +4123,7 @@
 20
 20
 04
-08
+09
 68
 48
 cc
@@ -4127,7 +4131,7 @@
 20
 20
 04
-08
+09
 68
 48
 cc
@@ -4147,15 +4151,15 @@
 20
 40
 04
-03
+04
 20
 40
 04
-05
+06
 20
 20
 04
-07
+08
 6f
 e0
 cb
@@ -4195,7 +4199,7 @@
 c2
 82
 04
-25
+26
 70
 4c
 9b
@@ -4231,7 +4235,7 @@
 20
 21
 04
-23
+24
 68
 48
 cb
@@ -4263,7 +4267,7 @@
 20
 20
 04
-21
+22
 da
 60
 4b
@@ -4271,7 +4275,7 @@
 da
 40
 04
-2c
+2d
 20
 20
 31
@@ -4327,11 +4331,11 @@
 20
 41
 04
-3b
+3c
 24
 41
 04
-3f
+40
 20
 20
 48
@@ -4367,7 +4371,7 @@
 c0
 00
 04
-47
+48
 6f
 e4
 4b
@@ -4383,7 +4387,7 @@
 20
 20
 04
-4a
+4b
 6f
 e4
 4b
@@ -4419,7 +4423,7 @@
 20
 22
 84
-51
+52
 20
 20
 44
@@ -4427,7 +4431,7 @@
 20
 40
 04
-56
+57
 6f
 e0
 cb
@@ -4483,7 +4487,7 @@
 da
 40
 04
-61
+62
 20
 20
 31
@@ -4503,15 +4507,15 @@
 20
 40
 03
-d3
+d4
 20
 40
 05
-21
+39
 20
 40
 04
-21
+22
 6f
 e1
 47
@@ -4555,7 +4559,7 @@
 c2
 85
 84
-7a
+7b
 6f
 e4
 4b
@@ -4563,7 +4567,7 @@
 c3
 04
 04
-7a
+7b
 68
 49
 49
@@ -4651,7 +4655,7 @@
 20
 40
 04
-8b
+8c
 20
 60
 00
@@ -4663,11 +4667,11 @@
 c0
 00
 84
-8f
+90
 c0
 01
 04
-90
+91
 20
 60
 00
@@ -4735,7 +4739,7 @@
 c0
 04
 84
-a0
+a1
 20
 20
 4d
@@ -4811,7 +4815,7 @@
 c0
 03
 84
-b3
+b4
 20
 20
 57
@@ -4883,7 +4887,7 @@
 c0
 02
 04
-c5
+c6
 20
 20
 19
@@ -4899,11 +4903,11 @@
 c0
 05
 04
-ca
+cb
 c0
 09
 04
-d9
+da
 20
 20
 1c
@@ -4931,7 +4935,7 @@
 c2
 81
 84
-d4
+d5
 6f
 e1
 44
@@ -4959,11 +4963,11 @@
 24
 22
 84
-d0
+d1
 24
 34
 04
-d0
+d1
 20
 20
 1e
@@ -5094,8 +5098,8 @@
 d1
 20
 40
-42
-40
+05
+05
 20
 40
 40
@@ -5111,7 +5115,7 @@
 20
 40
 05
-28
+40
 6f
 e0
 c8
@@ -5127,40 +5131,132 @@
 24
 34
 05
-07
+1f
 20
 40
 05
-04
+1c
 20
 40
 05
-0c
+24
 20
 20
 45
 44
-70
-4c
-98
-00
-70
-4c
-99
-00
-20
-60
-00
-00
-20
-40
-47
-28
 6f
 e0
-cc
-99
-24
+c4
+ac
+c1
+80
+00
+00
+6f
+e0
+c9
+27
+c0
+03
+85
+0a
+20
+20
+42
+43
+20
+40
+42
+c4
+78
+54
+7c
+00
+6f
+e0
+c9
+11
+c0
+7f
+85
+11
+68
+48
+c9
+11
+20
+40
+60
+59
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5b
+0d
+c0
+98
+42
+66
+58
+00
+00
+02
+20
+40
+5b
+0d
+c3
+03
+85
+18
+20
+20
+05
+1b
+c2
+81
+85
+1b
+c2
+82
+05
+1b
+20
+60
+00
+00
+20
+20
+42
+59
+70
+4c
+98
+00
+70
+4c
+99
+00
+20
+60
+00
+00
+20
+40
+47
+28
+6f
+e0
+cc
+99
+24
 7a
 00
 00
@@ -5195,7 +5291,7 @@
 c0
 05
 85
-16
+2e
 20
 40
 42
@@ -5215,7 +5311,7 @@
 20
 40
 05
-1d
+35
 da
 60
 4b
@@ -5235,7 +5331,7 @@
 c0
 05
 85
-1d
+35
 20
 20
 42
@@ -5271,7 +5367,7 @@
 c0
 05
 85
-26
+3e
 20
 20
 42
@@ -5287,7 +5383,7 @@
 20
 40
 05
-2a
+42
 20
 20
 40
@@ -5307,27 +5403,35 @@
 20
 40
 05
-33
+4d
 20
 40
 05
-38
+52
 20
 40
 05
-3d
+57
 20
 40
 05
-42
+5c
 20
 40
 05
-4f
+69
 20
+40
+05
+7b
+1a
+22
+7e
+00
 20
-41
-1e
+60
+00
+00
 6f
 e0
 c9
@@ -5335,7 +5439,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5355,7 +5459,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5375,7 +5479,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5419,7 +5523,7 @@
 c0
 7f
 85
-4b
+65
 20
 20
 41
@@ -5431,7 +5535,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5471,7 +5575,7 @@
 c0
 7f
 85
-58
+72
 20
 20
 41
@@ -5483,7 +5587,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5492,6 +5596,102 @@
 20
 41
 64
+6f
+e0
+c9
+12
+c1
+7f
+80
+00
+c4
+03
+80
+00
+70
+4c
+c6
+01
+20
+60
+00
+00
+6f
+e0
+cc
+c6
+20
+3a
+41
+6a
+70
+4b
+8b
+00
+6f
+e4
+4b
+ab
+c4
+0a
+80
+00
+6f
+e0
+c9
+12
+79
+3f
+fe
+07
+67
+e0
+c9
+12
+70
+4b
+96
+07
+6f
+e0
+cb
+95
+1f
+e2
+26
+00
+6f
+e0
+c9
+12
+20
+40
+05
+91
+68
+48
+c9
+12
+20
+40
+41
+95
+67
+e0
+cb
+95
+20
+40
+41
+74
+68
+48
+c9
+12
+20
+20
+3f
+56
 c1
 7f
 80
@@ -5527,15 +5727,15 @@
 20
 40
 05
-71
+a3
 20
 40
 05
-83
+b5
 20
 40
 05
-68
+9a
 20
 20
 46
@@ -5547,11 +5747,11 @@
 c2
 94
 85
-6c
+9e
 c2
 9b
 85
-6c
+9e
 20
 60
 00
@@ -5599,7 +5799,7 @@
 20
 40
 05
-78
+aa
 20
 20
 40
@@ -5627,7 +5827,7 @@
 c0
 7f
 85
-7f
+b1
 20
 20
 40
@@ -5639,7 +5839,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5663,7 +5863,7 @@
 24
 3a
 05
-8c
+be
 6f
 e0
 cc
@@ -5671,11 +5871,11 @@
 20
 40
 05
-5c
+8e
 20
 40
 05
-97
+c9
 68
 48
 cc
@@ -5699,7 +5899,7 @@
 20
 40
 05
-5f
+91
 70
 4c
 3f
@@ -5715,11 +5915,11 @@
 20
 40
 05
-b0
+e2
 20
 40
 05
-9b
+cd
 68
 48
 cc
@@ -5743,7 +5943,7 @@
 20
 40
 05
-a6
+d8
 67
 e0
 cc
@@ -5755,7 +5955,7 @@
 20
 3a
 05
-a2
+d4
 6f
 e0
 cc
@@ -5819,11 +6019,11 @@
 c0
 03
 85
-bb
+ed
 c0
 00
 05
-bd
+ef
 20
 60
 00
@@ -5863,11 +6063,11 @@
 c0
 03
 85
-bb
+ed
 c0
 00
 05
-bd
+ef
 20
 60
 00
@@ -5911,7 +6111,7 @@
 c2
 9e
 85
-cb
+fd
 18
 42
 7e
@@ -5942,16 +6142,16 @@
 3e
 24
 3a
-05
-e8
+06
+1a
 6f
 e4
 4b
 ab
 c2
 8e
-05
-dc
+06
+0e
 18
 42
 7e
@@ -5962,12 +6162,12 @@
 00
 c0
 00
-05
-d8
+06
+0a
 c0
 01
-05
-d6
+06
+08
 20
 60
 00
@@ -5979,7 +6179,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -5987,7 +6187,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -5995,7 +6195,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -6003,7 +6203,7 @@
 20
 20
 05
-c8
+fa
 18
 42
 7e
@@ -6014,16 +6214,16 @@
 00
 c0
 00
-05
-d8
+06
+0a
 c0
 01
-05
-da
+06
+0c
 c0
 01
-85
-d6
+86
+08
 20
 60
 00
@@ -6038,16 +6238,16 @@
 00
 c0
 00
-05
-da
+06
+0c
 c0
 00
-85
-d6
+86
+08
 c0
 01
-85
-d4
+86
+06
 20
 60
 00
@@ -6058,8 +6258,8 @@
 ab
 c2
 8e
-05
-e2
+06
+14
 18
 42
 7e
@@ -6070,12 +6270,12 @@
 00
 c0
 00
-05
-d4
+06
+06
 c0
 00
-85
-d6
+86
+08
 20
 60
 00
@@ -6112,8 +6312,8 @@
 20
 26
 f6
-74
-33
+ed
+58
 aa
 55
 40
@@ -7137,6 +7337,24 @@
 ff
 aa
 55
+0c
+00
+97
+4a
+05
+b9
+09
+5a
+0b
+72
+0c
+52
+09
+00
+ff
+ff
+aa
+55
 3e
 00
 53
@@ -7450,234 +7668,16 @@
 02
 40
 00
-27
-1d
+01
+1e
 55
 aa
 aa
 55
-5d
-91
-91
-40
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+27
+97
+cf
+67
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-b0
-fe
+69
+95
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/memmap.format	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/memmap.format	(working copy)
@@ -470,7 +470,7 @@
 0x0a0f mem_mesh_access_layer_payload_len
 0x0a10 mem_mesh_access_layer_payload
 0x0a10 mem_mesh_access_payload
-0x0a42 mem_mesh_access_payload_padding//为了透传模块预留
+0x0a42 mem_mesh_access_payload_padding//为锟斤拷透锟斤拷模锟斤拷预锟斤拷
 0x0a74 mem_mesh_queue_ele_temp
 0x0a74 mem_mesh_queue_ele_duration
 0x0a75 mem_mesh_queue_ele_gatt_msg_id
@@ -2270,6 +2270,7 @@
 0x4c9a mem_24g_low_power_led_off
 0x4c9b mem_mouse_low_power_logo_off_status
 0x4c9c mem_sensor_8650_init_new
+0x4cc6 mem_mouse_customer_key_connect_vin_flag
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/otp.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/otp.dat	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/otp.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-de
-17
+a6
+18
 c2
 84
 00
@@ -79,11 +79,11 @@
 c0
 67
 04
-f5
+f6
 c0
 67
 85
-bf
+f1
 c0
 68
 03
@@ -91,7 +91,7 @@
 c0
 68
 85
-2a
+42
 c0
 69
 80
@@ -99,7 +99,7 @@
 c0
 6a
 05
-0f
+27
 c0
 6b
 02
@@ -111,15 +111,15 @@
 c0
 6d
 04
-64
+65
 c0
 6d
 84
-91
+92
 c0
 6f
 05
-62
+94
 c0
 6f
 80
@@ -135,7 +135,7 @@
 c0
 74
 04
-98
+99
 20
 20
 13
@@ -143,7 +143,7 @@
 c0
 0d
 04
-ac
+ad
 c0
 10
 00
@@ -159,19 +159,19 @@
 c0
 43
 84
-94
+95
 c0
 50
 84
-b6
+b7
 c0
 51
 84
-c0
+c1
 c0
 60
 04
-c2
+c3
 c0
 6e
 83
@@ -191,11 +191,11 @@
 c0
 76
 04
-e8
+e9
 c0
 76
-85
-ef
+86
+21
 20
 20
 13
@@ -315,7 +315,7 @@
 24
 5a
 03
-d3
+d4
 20
 40
 3d
@@ -1007,7 +1007,7 @@
 20
 40
 05
-21
+39
 20
 40
 00
@@ -1063,7 +1063,7 @@
 24
 3a
 03
-d3
+d4
 20
 60
 00
@@ -1355,11 +1355,11 @@
 20
 40
 04
-21
+22
 20
 40
 04
-0b
+0c
 20
 40
 03
@@ -1367,7 +1367,7 @@
 20
 40
 03
-c9
+ca
 20
 40
 01
@@ -1847,7 +1847,7 @@
 20
 20
 05
-21
+39
 20
 40
 26
@@ -2075,7 +2075,7 @@
 20
 20
 05
-71
+a3
 70
 4b
 94
@@ -2211,11 +2211,11 @@
 20
 40
 05
-1a
+32
 20
 40
 05
-21
+39
 20
 20
 3e
@@ -2231,7 +2231,7 @@
 20
 40
 04
-21
+22
 20
 40
 03
@@ -2263,7 +2263,7 @@
 20
 40
 05
-5c
+8e
 d8
 40
 00
@@ -2283,7 +2283,7 @@
 20
 40
 04
-0b
+0c
 6f
 e0
 cc
@@ -2543,7 +2543,7 @@
 20
 40
 05
-5c
+8e
 20
 20
 3e
@@ -2571,7 +2571,7 @@
 20
 40
 04
-e8
+e9
 24
 74
 00
@@ -2699,7 +2699,7 @@
 20
 40
 03
-c7
+c8
 20
 20
 43
@@ -2711,7 +2711,7 @@
 20
 40
 03
-c7
+c8
 20
 20
 43
@@ -2851,7 +2851,7 @@
 20
 40
 03
-d1
+d2
 20
 40
 48
@@ -2879,7 +2879,7 @@
 20
 40
 03
-d1
+d2
 20
 40
 45
@@ -3095,7 +3095,7 @@
 20
 40
 05
-21
+39
 20
 20
 02
@@ -3419,7 +3419,7 @@
 20
 40
 03
-d3
+d4
 20
 20
 48
@@ -3427,7 +3427,7 @@
 20
 40
 03
-d3
+d4
 20
 40
 00
@@ -3439,7 +3439,7 @@
 20
 40
 03
-d3
+d4
 20
 20
 48
@@ -3503,7 +3503,7 @@
 20
 3a
 04
-2c
+2d
 67
 e0
 cb
@@ -3634,6 +3634,10 @@
 86
 20
 40
+05
+76
+20
+40
 23
 2b
 20
@@ -3647,11 +3651,11 @@
 20
 40
 04
-29
+2a
 20
 40
 03
-db
+dc
 20
 40
 40
@@ -3663,11 +3667,11 @@
 20
 40
 03
-a5
+a6
 20
 40
 04
-41
+42
 20
 40
 44
@@ -3675,15 +3679,15 @@
 20
 40
 03
-b6
+b7
 20
 40
 03
-bc
+bd
 20
 40
 03
-c0
+c1
 20
 40
 45
@@ -3691,7 +3695,7 @@
 20
 40
 04
-58
+59
 20
 40
 45
@@ -3699,7 +3703,7 @@
 20
 40
 04
-5b
+5c
 20
 40
 45
@@ -3727,15 +3731,15 @@
 20
 40
 04
-0e
+0f
 20
 40
 04
-5e
+5f
 20
 20
 03
-c4
+c5
 6f
 e4
 4b
@@ -3743,7 +3747,7 @@
 c2
 9b
 83
-a8
+a9
 20
 60
 00
@@ -3763,7 +3767,7 @@
 da
 40
 03
-ad
+ae
 20
 20
 31
@@ -3807,7 +3811,7 @@
 da
 40
 03
-b9
+ba
 da
 60
 4c
@@ -3831,7 +3835,7 @@
 da
 40
 03
-bf
+c0
 da
 60
 4c
@@ -3875,11 +3879,11 @@
 20
 40
 05
-0f
+27
 20
 20
 03
-d1
+d2
 6f
 e0
 cc
@@ -3915,15 +3919,15 @@
 20
 40
 03
-c9
+ca
 20
 20
 03
-d7
+d8
 20
 20
 03
-d4
+d5
 70
 4c
 41
@@ -3935,7 +3939,7 @@
 20
 20
 03
-ce
+cf
 70
 4c
 41
@@ -3967,7 +3971,7 @@
 c0
 00
 83
-eb
+ec
 6f
 e0
 cc
@@ -3975,7 +3979,7 @@
 24
 3a
 03
-e3
+e4
 70
 4c
 41
@@ -3991,7 +3995,7 @@
 20
 3a
 03
-e8
+e9
 1f
 e0
 ff
@@ -4003,7 +4007,7 @@
 20
 20
 03
-f2
+f3
 70
 4c
 45
@@ -4015,7 +4019,7 @@
 20
 20
 03
-fe
+ff
 da
 60
 4c
@@ -4023,7 +4027,7 @@
 da
 40
 03
-ee
+ef
 20
 20
 31
@@ -4031,7 +4035,7 @@
 20
 40
 03
-ce
+cf
 6f
 e0
 cc
@@ -4039,7 +4043,7 @@
 c0
 00
 83
-fd
+fe
 70
 4c
 4e
@@ -4051,15 +4055,15 @@
 c0
 00
 03
-f7
+f8
 c0
 00
 83
-f9
+fa
 c0
 01
 03
-fb
+fc
 20
 60
 00
@@ -4071,7 +4075,7 @@
 20
 20
 03
-fc
+fd
 68
 48
 cc
@@ -4079,7 +4083,7 @@
 20
 20
 03
-fc
+fd
 68
 48
 cc
@@ -4099,15 +4103,15 @@
 c0
 00
 04
-03
+04
 c0
 00
 84
-05
+06
 c0
 01
 04
-07
+08
 20
 60
 00
@@ -4119,7 +4123,7 @@
 20
 20
 04
-08
+09
 68
 48
 cc
@@ -4127,7 +4131,7 @@
 20
 20
 04
-08
+09
 68
 48
 cc
@@ -4147,15 +4151,15 @@
 20
 40
 04
-03
+04
 20
 40
 04
-05
+06
 20
 20
 04
-07
+08
 6f
 e0
 cb
@@ -4195,7 +4199,7 @@
 c2
 82
 04
-25
+26
 70
 4c
 9b
@@ -4231,7 +4235,7 @@
 20
 21
 04
-23
+24
 68
 48
 cb
@@ -4263,7 +4267,7 @@
 20
 20
 04
-21
+22
 da
 60
 4b
@@ -4271,7 +4275,7 @@
 da
 40
 04
-2c
+2d
 20
 20
 31
@@ -4327,11 +4331,11 @@
 20
 41
 04
-3b
+3c
 24
 41
 04
-3f
+40
 20
 20
 48
@@ -4367,7 +4371,7 @@
 c0
 00
 04
-47
+48
 6f
 e4
 4b
@@ -4383,7 +4387,7 @@
 20
 20
 04
-4a
+4b
 6f
 e4
 4b
@@ -4419,7 +4423,7 @@
 20
 22
 84
-51
+52
 20
 20
 44
@@ -4427,7 +4431,7 @@
 20
 40
 04
-56
+57
 6f
 e0
 cb
@@ -4483,7 +4487,7 @@
 da
 40
 04
-61
+62
 20
 20
 31
@@ -4503,15 +4507,15 @@
 20
 40
 03
-d3
+d4
 20
 40
 05
-21
+39
 20
 40
 04
-21
+22
 6f
 e1
 47
@@ -4555,7 +4559,7 @@
 c2
 85
 84
-7a
+7b
 6f
 e4
 4b
@@ -4563,7 +4567,7 @@
 c3
 04
 04
-7a
+7b
 68
 49
 49
@@ -4651,7 +4655,7 @@
 20
 40
 04
-8b
+8c
 20
 60
 00
@@ -4663,11 +4667,11 @@
 c0
 00
 84
-8f
+90
 c0
 01
 04
-90
+91
 20
 60
 00
@@ -4735,7 +4739,7 @@
 c0
 04
 84
-a0
+a1
 20
 20
 4d
@@ -4811,7 +4815,7 @@
 c0
 03
 84
-b3
+b4
 20
 20
 57
@@ -4883,7 +4887,7 @@
 c0
 02
 04
-c5
+c6
 20
 20
 19
@@ -4899,11 +4903,11 @@
 c0
 05
 04
-ca
+cb
 c0
 09
 04
-d9
+da
 20
 20
 1c
@@ -4931,7 +4935,7 @@
 c2
 81
 84
-d4
+d5
 6f
 e1
 44
@@ -4959,11 +4963,11 @@
 24
 22
 84
-d0
+d1
 24
 34
 04
-d0
+d1
 20
 20
 1e
@@ -5094,8 +5098,8 @@
 d1
 20
 40
-42
-40
+05
+05
 20
 40
 40
@@ -5111,7 +5115,7 @@
 20
 40
 05
-28
+40
 6f
 e0
 c8
@@ -5127,40 +5131,132 @@
 24
 34
 05
-07
+1f
 20
 40
 05
-04
+1c
 20
 40
 05
-0c
+24
 20
 20
 45
 44
-70
-4c
-98
-00
-70
-4c
-99
-00
-20
-60
-00
-00
-20
-40
-47
-28
 6f
 e0
-cc
-99
-24
+c4
+ac
+c1
+80
+00
+00
+6f
+e0
+c9
+27
+c0
+03
+85
+0a
+20
+20
+42
+43
+20
+40
+42
+c4
+78
+54
+7c
+00
+6f
+e0
+c9
+11
+c0
+7f
+85
+11
+68
+48
+c9
+11
+20
+40
+60
+59
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5b
+0d
+c0
+98
+42
+66
+58
+00
+00
+02
+20
+40
+5b
+0d
+c3
+03
+85
+18
+20
+20
+05
+1b
+c2
+81
+85
+1b
+c2
+82
+05
+1b
+20
+60
+00
+00
+20
+20
+42
+59
+70
+4c
+98
+00
+70
+4c
+99
+00
+20
+60
+00
+00
+20
+40
+47
+28
+6f
+e0
+cc
+99
+24
 7a
 00
 00
@@ -5195,7 +5291,7 @@
 c0
 05
 85
-16
+2e
 20
 40
 42
@@ -5215,7 +5311,7 @@
 20
 40
 05
-1d
+35
 da
 60
 4b
@@ -5235,7 +5331,7 @@
 c0
 05
 85
-1d
+35
 20
 20
 42
@@ -5271,7 +5367,7 @@
 c0
 05
 85
-26
+3e
 20
 20
 42
@@ -5287,7 +5383,7 @@
 20
 40
 05
-2a
+42
 20
 20
 40
@@ -5307,27 +5403,35 @@
 20
 40
 05
-33
+4d
 20
 40
 05
-38
+52
 20
 40
 05
-3d
+57
 20
 40
 05
-42
+5c
 20
 40
 05
-4f
+69
 20
+40
+05
+7b
+1a
+22
+7e
+00
 20
-41
-1e
+60
+00
+00
 6f
 e0
 c9
@@ -5335,7 +5439,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5355,7 +5459,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5375,7 +5479,7 @@
 20
 40
 05
-5c
+8e
 20
 40
 41
@@ -5419,7 +5523,7 @@
 c0
 7f
 85
-4b
+65
 20
 20
 41
@@ -5431,7 +5535,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5471,7 +5575,7 @@
 c0
 7f
 85
-58
+72
 20
 20
 41
@@ -5483,7 +5587,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5492,6 +5596,102 @@
 20
 41
 64
+6f
+e0
+c9
+12
+c1
+7f
+80
+00
+c4
+03
+80
+00
+70
+4c
+c6
+01
+20
+60
+00
+00
+6f
+e0
+cc
+c6
+20
+3a
+41
+6a
+70
+4b
+8b
+00
+6f
+e4
+4b
+ab
+c4
+0a
+80
+00
+6f
+e0
+c9
+12
+79
+3f
+fe
+07
+67
+e0
+c9
+12
+70
+4b
+96
+07
+6f
+e0
+cb
+95
+1f
+e2
+26
+00
+6f
+e0
+c9
+12
+20
+40
+05
+91
+68
+48
+c9
+12
+20
+40
+41
+95
+67
+e0
+cb
+95
+20
+40
+41
+74
+68
+48
+c9
+12
+20
+20
+3f
+56
 c1
 7f
 80
@@ -5527,15 +5727,15 @@
 20
 40
 05
-71
+a3
 20
 40
 05
-83
+b5
 20
 40
 05
-68
+9a
 20
 20
 46
@@ -5547,11 +5747,11 @@
 c2
 94
 85
-6c
+9e
 c2
 9b
 85
-6c
+9e
 20
 60
 00
@@ -5599,7 +5799,7 @@
 20
 40
 05
-78
+aa
 20
 20
 40
@@ -5627,7 +5827,7 @@
 c0
 7f
 85
-7f
+b1
 20
 20
 40
@@ -5639,7 +5839,7 @@
 20
 40
 05
-5f
+91
 68
 48
 c9
@@ -5663,7 +5863,7 @@
 24
 3a
 05
-8c
+be
 6f
 e0
 cc
@@ -5671,11 +5871,11 @@
 20
 40
 05
-5c
+8e
 20
 40
 05
-97
+c9
 68
 48
 cc
@@ -5699,7 +5899,7 @@
 20
 40
 05
-5f
+91
 70
 4c
 3f
@@ -5715,11 +5915,11 @@
 20
 40
 05
-b0
+e2
 20
 40
 05
-9b
+cd
 68
 48
 cc
@@ -5743,7 +5943,7 @@
 20
 40
 05
-a6
+d8
 67
 e0
 cc
@@ -5755,7 +5955,7 @@
 20
 3a
 05
-a2
+d4
 6f
 e0
 cc
@@ -5819,11 +6019,11 @@
 c0
 03
 85
-bb
+ed
 c0
 00
 05
-bd
+ef
 20
 60
 00
@@ -5863,11 +6063,11 @@
 c0
 03
 85
-bb
+ed
 c0
 00
 05
-bd
+ef
 20
 60
 00
@@ -5911,7 +6111,7 @@
 c2
 9e
 85
-cb
+fd
 18
 42
 7e
@@ -5942,16 +6142,16 @@
 3e
 24
 3a
-05
-e8
+06
+1a
 6f
 e4
 4b
 ab
 c2
 8e
-05
-dc
+06
+0e
 18
 42
 7e
@@ -5962,12 +6162,12 @@
 00
 c0
 00
-05
-d8
+06
+0a
 c0
 01
-05
-d6
+06
+08
 20
 60
 00
@@ -5979,7 +6179,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -5987,7 +6187,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -5995,7 +6195,7 @@
 20
 20
 05
-c8
+fa
 58
 00
 00
@@ -6003,7 +6203,7 @@
 20
 20
 05
-c8
+fa
 18
 42
 7e
@@ -6014,16 +6214,16 @@
 00
 c0
 00
-05
-d8
+06
+0a
 c0
 01
-05
-da
+06
+0c
 c0
 01
-85
-d6
+86
+08
 20
 60
 00
@@ -6038,16 +6238,16 @@
 00
 c0
 00
-05
-da
+06
+0c
 c0
 00
-85
-d6
+86
+08
 c0
 01
-85
-d4
+86
+06
 20
 60
 00
@@ -6058,8 +6258,8 @@
 ab
 c2
 8e
-05
-e2
+06
+14
 18
 42
 7e
@@ -6070,12 +6270,12 @@
 00
 c0
 00
-05
-d4
+06
+06
 c0
 00
-85
-d6
+86
+08
 20
 60
 00
@@ -6112,8 +6312,8 @@
 20
 26
 f6
-74
-33
+ed
+58
 aa
 55
 40
@@ -7137,6 +7337,24 @@
 ff
 aa
 55
+0c
+00
+97
+4a
+05
+b9
+09
+5a
+0b
+72
+0c
+52
+09
+00
+ff
+ff
+aa
+55
 3e
 00
 53
@@ -7450,13 +7668,13 @@
 03
 01
 00
-27
-1d
+01
+1e
 55
 aa
 aa
 55
-1f
-91
-3f
-f8
+e9
+96
+2f
+0b
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/program.lis	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/program.lis	(working copy)
@@ -18,38 +18,38 @@
 000f c064822a beq patch19_1 ,p_mouse_setgpio_hibernate 
 0010 c0650274 beq patch19_2 ,p_mouse_lpm_before_common 
 0011 c06600d7 beq patch19_4 ,p_mouse_adc_read_start 
-0012 c06704f5 beq patch19_6 ,p_mouse_motion 
-0013 c06785bf beq patch19_7 ,p_mouse_dpi_process 
+0012 c06704f6 beq patch19_6 ,p_mouse_motion 
+0013 c06785f1 beq patch19_7 ,p_mouse_dpi_process 
 0014 c068035c beq patch1a_0 ,p_mouse_seting_dpi 
-0015 c068852a beq patch1a_1 ,p_mouse_check_key_gpio 
+0015 c0688542 beq patch1a_1 ,p_mouse_check_key_gpio 
 0016 c0698039 beq patch1a_3 ,p_mouse_init_sunt 
-0017 c06a050f beq patch1a_4 ,p_mouse_sensor_poweron 
+0017 c06a0527 beq patch1a_4 ,p_mouse_sensor_poweron 
 0018 c06b0296 beq patch1a_6 ,p_mouse_priority_bb_event 
 0019 c06c8389 beq patch1b_1 ,p_mouse_bb_event_timer 
-001a c06d0464 beq patch1b_2 ,p_mouse_start_discovery 
-001b c06d8491 beq patch1b_3 ,p_mouse_stop_discovery 
-001c c06f0562 beq patch1b_6 ,p_mouse_idle 
+001a c06d0465 beq patch1b_2 ,p_mouse_start_discovery 
+001b c06d8492 beq patch1b_3 ,p_mouse_stop_discovery 
+001c c06f0594 beq patch1b_6 ,p_mouse_idle 
 001d c06f8063 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001e c070805b beq patch1c_1 ,p_mouse_led_off 
 001f c0710057 beq patch1c_2 ,p_mouse_led_on 
-0020 c0740498 beq patch1d_0 ,p_hid_rx_process 
+0020 c0740499 beq patch1d_0 ,p_hid_rx_process 
 0021 2020137c branch loop 
 
 pf_patch_ext:
-0022 c00d04ac beq patch23_2 ,p_send_lmp 
+0022 c00d04ad beq patch23_2 ,p_send_lmp 
 0023 c0100055 beq patch24_0 ,p_twspi_reset 
 0024 c01980b7 beq patch26_3 ,p_adc_init_data 
 0025 c01a00bc beq patch26_4 ,p_enable_adc 
-0026 c0438494 beq patch30_7 ,p_ui_timer_check 
-0027 c05084b6 beq patch34_1 ,p_le_slave_match 
-0028 c05184c0 beq patch34_3 ,p_le_slave_unsync 
-0029 c06004c2 beq patch38_0 ,p_le_parse_l2cap 
+0026 c0438495 beq patch30_7 ,p_ui_timer_check 
+0027 c05084b7 beq patch34_1 ,p_le_slave_match 
+0028 c05184c1 beq patch34_3 ,p_le_slave_unsync 
+0029 c06004c3 beq patch38_0 ,p_le_parse_l2cap 
 002a c06e833a beq patch3b_5 ,p_g24_dispatch 
 002b c0710306 beq patch3c_2 ,p_g24_pair_dispatch 
 002c c074830e beq patch3d_1 ,p_g24_reconn_dispatch 
 002d c07501cd beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002e c07604e8 beq patch3d_4 ,p_g24_lpm_wait 
-002f c07685ef beq patch3d_5 ,p_power_ctrl_start 
+002e c07604e9 beq patch3d_4 ,p_g24_lpm_wait 
+002f c0768621 beq patch3d_5 ,p_power_ctrl_start 
 0030 2020137c branch loop 
 
 p_soft_reset:
@@ -95,7 +95,7 @@
 p_mouse_start_reconnect_device:
 004b 20400050 call p_mouse_judge_reconnect_state 
 004c 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-004d 245a03d3 ncall p_mouse_device_discover_led_config ,blank 
+004d 245a03d4 ncall p_mouse_device_discover_led_config ,blank 
 004e 20403d5a call mouse_start_reconnect_device + 1 
 004f 20600000 rtn 
 
@@ -328,7 +328,7 @@
 00f7 20403d8a call mouse_usb_check_enable 
 00f8 20404728 call mouse_drawing_optima_init 
 00f9 20400188 call p_mouse_cb_fuction 
-00fa 20400521 call p_mouse_sensor_powerdown 
+00fa 20400539 call p_mouse_sensor_powerdown 
 00fb 204000fd call p_discover_blink_led 
 00fc 20203bc9 branch mouse_init + 8 
 
@@ -344,7 +344,7 @@
 0105 67e0c482 store 1 ,mem_xrecord_mode 
 0106 c1ff8000 rtnne 0xff 
 0107 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-0108 243a03d3 nbranch p_mouse_device_discover_led_config ,blank 
+0108 243a03d4 nbranch p_mouse_device_discover_led_config ,blank 
 0109 20600000 rtn 
 
 p_mouse_double_dpi_judge:
@@ -437,10 +437,10 @@
 014e 20403d13 call mouse_param_init 
 014f 20400174 call p_mouse_select_angle 
 0150 20400244 call p_mouse_set_sensor_gpio_sleep 
-0151 20400421 call p_mouse_logo_led_off 
-0152 2040040b call p_mouse_1io2led_all_off 
+0151 20400422 call p_mouse_logo_led_off 
+0152 2040040c call p_mouse_1io2led_all_off 
 0153 20400384 call p_mouse_low_voltage_led_off 
-0154 204003c9 call p_mouse_device_multi_led_poweron_init 
+0154 204003ca call p_mouse_device_multi_led_poweron_init 
 0155 2040010a call p_mouse_double_dpi_judge 
 0156 2040016e call p_mouse_store_normal_tx_power 
 0157 20401b16 call le_set_config_fixed_ltk 
@@ -592,7 +592,7 @@
 01c9 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 01ca 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 01cb 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-01cc 20200521 branch p_mouse_sensor_powerdown 
+01cc 20200539 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 01cd 20402631 call g24_txdata_prep 
@@ -669,7 +669,7 @@
 p_mouse_dpi_check_once:
 0203 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 0204 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
-0205 20200571 branch p_mouse_dpi_check 
+0205 202005a3 branch p_mouse_dpi_check 
 
 p_mouse_select_device_by_pb_button_check_once:
 0206 704b9403 jam 0x03 ,mem_mouse_pbkey_press_status 
@@ -719,14 +719,14 @@
 0224 58000006 setarg pan_reg_config 
 0225 20405b0d call twspi_read 
 0226 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0227 2040051a call p_mouse_sensor_reset 
-0228 20400521 call p_mouse_sensor_powerdown 
+0227 20400532 call p_mouse_sensor_reset 
+0228 20400539 call p_mouse_sensor_powerdown 
 0229 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
 022a 204042e9 call mouse_set_sdio_high 
 022b 20407fdc call clear_wake 
-022c 20400421 call p_mouse_logo_led_off 
+022c 20400422 call p_mouse_logo_led_off 
 022d 20400384 call p_mouse_low_voltage_led_off 
 022e 20404015 call mouse_before_hibernate_wheel_gpio_set 
 022f 6848c910 fetcht 1 ,mem_matrix_public_gpio 
@@ -734,12 +734,12 @@
 0231 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 0232 20406042 call gpio_clr_wake 
 0233 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0234 2040055c call p_mouse_gpio_config_output_high 
+0234 2040058e call p_mouse_gpio_config_output_high 
 0235 d8400003 arg 3 ,temp 
 0236 20403f56 call mouse_gpio_config_input_pu 
 0237 20400274 call p_mouse_lpm_before_common 
 0238 20406082 call gpio_pd_idle 
-0239 2040040b call p_mouse_1io2led_all_off 
+0239 2040040c call p_mouse_1io2led_all_off 
 023a 6fe0cc48 fetch 1 ,mem_mouse_1io2led_multi_24gled 
 023b d84000c0 arg gpcfg_no_ie ,temp 
 023c 20406093 call gpio_config_function_int 
@@ -826,7 +826,7 @@
 0277 20406050 call gpio_config_input 
 0278 20403f88 call mouse_wheel_check 
 0279 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-027a 2040055c call p_mouse_gpio_config_output_high 
+027a 2040058e call p_mouse_gpio_config_output_high 
 027b 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -837,7 +837,7 @@
 0280 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-0281 204004e8 call p_g24_lpm_wait 
+0281 204004e9 call p_g24_lpm_wait 
 0282 24740000 nrtn user 
 0283 204026c4 call g24_setgpio_lpm_before 
 0284 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
@@ -875,12 +875,12 @@
 02a0 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-02a1 204003c7 call p_mouse_device_connect_init_sensor_or_led 
+02a1 204003c8 call p_mouse_device_connect_init_sensor_or_led 
 02a2 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
 02a3 20404544 call mouse_no_data_timer_init 
-02a4 204003c7 call p_mouse_device_connect_init_sensor_or_led 
+02a4 204003c8 call p_mouse_device_connect_init_sensor_or_led 
 02a5 202043fa branch mouse_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
@@ -927,7 +927,7 @@
 02c4 20404544 call mouse_no_data_timer_init 
 02c5 d8e00001 arg mouse_24g_pairing_flag ,queue 
 02c6 204046f4 call mouse_disable_function_flag 
-02c7 204003d1 call p_mouse_device_poweron_led_config 
+02c7 204003d2 call p_mouse_device_poweron_led_config 
 02c8 204048c9 call mouse_device_poweron_timer_init + 3 
 02c9 2020485a branch mouse_24g_pairing_complete + 3 
 
@@ -936,7 +936,7 @@
 02cb 67e24891 store 4 ,mem_24g_receiver_addr 
 02cc 67e24993 store 4 ,mem_mouse_24g_addr 
 02cd 2040257e call g24_ch_syncword_crc8_init 
-02ce 204003d1 call p_mouse_device_poweron_led_config 
+02ce 204003d2 call p_mouse_device_poweron_led_config 
 02cf 20404544 call mouse_no_data_timer_init 
 02d0 204042ca call mouse_init_sensor_reset 
 02d1 704aae00 jam 0 ,mem_mouse_long_mult_flag 
@@ -1004,7 +1004,7 @@
 0301 58000000 setarg 0 
 0302 67e3c8d0 store 7 ,mem_mouse_key 
 0303 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0304 20400521 call p_mouse_sensor_powerdown 
+0304 20400539 call p_mouse_sensor_powerdown 
 0305 20200281 branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1107,16 +1107,16 @@
 0352 58000000 setarg 0 
 0353 67e14887 store 2 ,mem_24g_reconn_timeout 
 0354 20404576 call mouse_stop_discovery 
-0355 204003d3 call p_mouse_device_discover_led_config 
+0355 204003d4 call p_mouse_device_discover_led_config 
 0356 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
 
 p_mouse_24g_reconn_dongle_start:
-0357 204003d3 call p_mouse_device_discover_led_config 
+0357 204003d4 call p_mouse_device_discover_led_config 
 0358 20400053 call p_mouse_change_led_blink_time 
 0359 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_reconn_general_dongle:
-035a 204003d3 call p_mouse_device_discover_led_config 
+035a 204003d4 call p_mouse_device_discover_led_config 
 035b 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_seting_dpi:
@@ -1136,7 +1136,7 @@
 0367 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 0368 247a0000 nrtn blank 
 0369 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-036a 203a042c branch p_mouse_dpi_led_blink_init ,blank 
+036a 203a042d branch p_mouse_dpi_led_blink_init ,blank 
 036b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
 036c 20600000 rtn 
 
@@ -1181,876 +1181,946 @@
 p_mouse_bb_event_timer:
 0389 20403e9b call mouse_adc_read 
 038a 20400386 call p_mouse_low_power_timer 
-038b 2040232b call g24_pair_timeout_timer 
-038c 20402556 call g24_reconn_timeout_timer 
-038d 204047cd call mouse_24g_long_sleep_param_update_timer 
-038e 20400429 call p_mouse_dpi_led_blink_delay_timer 
-038f 204003db call p_mouse_led_multi_timer 
-0390 2040407c call mouse_dpi_key_check_long_press 
-0391 204044cc call mouse_bt_discovery_check 
-0392 204003a5 call p_mouse_bt_discovery_check 
-0393 20400441 call p_mouse_commbination_key_process 
-0394 204044ff call mouse_check_discovery_timeout_timer 
-0395 204003b6 call p_mouse_24g_lowpower_stop_blink_timer 
-0396 204003bc call p_mouse_24g_low_power_led_off_timer 
-0397 204003c0 call p_mouse_check_direct_timeout_timer 
-0398 20404512 call mouse_le_enable_att_list_timer 
-0399 20400458 call p_mouse_le_battery_updata_timer 
-039a 20404515 call mouse_le_send_smp_security_request_timer 
-039b 2040045b call p_mouse_le_send_conn_param_update_timer 
-039c 2040452a call mouse_check_hid_handshake_timer 
-039d 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-039e 20404532 call mouse_check_reconnect_delay_long_sleep 
-039f 20404535 call mouse_current_mult_update_timer 
-03a0 20404022 call mouse_wheel_trigger_timer 
-03a1 20404547 call mouse_store_information_delay_timer 
-03a2 2040040e call p_mouse_logo_led_on_timer 
-03a3 2040045e call p_mouse_check_no_data_timeout_timer 
-03a4 202003c4 branch p_mouse_g24_ota_reset_timer 
+038b 20400576 call p_mouse_customer_key_connect_vin 
+038c 2040232b call g24_pair_timeout_timer 
+038d 20402556 call g24_reconn_timeout_timer 
+038e 204047cd call mouse_24g_long_sleep_param_update_timer 
+038f 2040042a call p_mouse_dpi_led_blink_delay_timer 
+0390 204003dc call p_mouse_led_multi_timer 
+0391 2040407c call mouse_dpi_key_check_long_press 
+0392 204044cc call mouse_bt_discovery_check 
+0393 204003a6 call p_mouse_bt_discovery_check 
+0394 20400442 call p_mouse_commbination_key_process 
+0395 204044ff call mouse_check_discovery_timeout_timer 
+0396 204003b7 call p_mouse_24g_lowpower_stop_blink_timer 
+0397 204003bd call p_mouse_24g_low_power_led_off_timer 
+0398 204003c1 call p_mouse_check_direct_timeout_timer 
+0399 20404512 call mouse_le_enable_att_list_timer 
+039a 20400459 call p_mouse_le_battery_updata_timer 
+039b 20404515 call mouse_le_send_smp_security_request_timer 
+039c 2040045c call p_mouse_le_send_conn_param_update_timer 
+039d 2040452a call mouse_check_hid_handshake_timer 
+039e 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+039f 20404532 call mouse_check_reconnect_delay_long_sleep 
+03a0 20404535 call mouse_current_mult_update_timer 
+03a1 20404022 call mouse_wheel_trigger_timer 
+03a2 20404547 call mouse_store_information_delay_timer 
+03a3 2040040f call p_mouse_logo_led_on_timer 
+03a4 2040045f call p_mouse_check_no_data_timeout_timer 
+03a5 202003c5 branch p_mouse_g24_ota_reset_timer 
 
 p_mouse_bt_discovery_check:
-03a5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03a6 c29b83a8 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_bt_discovery_by_pb_button 
-03a7 20600000 rtn 
+03a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03a7 c29b83a9 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_bt_discovery_by_pb_button 
+03a8 20600000 rtn 
 
 p_mouse_bt_discovery_by_pb_button:
-03a8 6fe0cb9e fetch 1 ,mem_select_device_button_statue 
-03a9 c1808000 rtnne pb_button_state_down 
-03aa da604b9b arg mem_bt_discovery_count ,regc 
-03ab da4003ad arg p_mouse_long_button_bt_discovery ,regb 
-03ac 2020318a branch timer_single_step 
+03a9 6fe0cb9e fetch 1 ,mem_select_device_button_statue 
+03aa c1808000 rtnne pb_button_state_down 
+03ab da604b9b arg mem_bt_discovery_count ,regc 
+03ac da4003ae arg p_mouse_long_button_bt_discovery ,regb 
+03ad 2020318a branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-03ad 6fe0c938 fetch 1 ,mem_device_flag 
-03ae c1000000 rtneq mode_24g_device 
-03af 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03b0 c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag 
-03b1 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
-03b2 204046f0 call mouse_enable_function_flag 
-03b3 20403173 call app_evt_button_long_pressed 
-03b4 704c4c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
-03b5 2020454e branch mouse_bb_event_discovery_btn 
+03ae 6fe0c938 fetch 1 ,mem_device_flag 
+03af c1000000 rtneq mode_24g_device 
+03b0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03b1 c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag 
+03b2 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+03b3 204046f0 call mouse_enable_function_flag 
+03b4 20403173 call app_evt_button_long_pressed 
+03b5 704c4c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+03b6 2020454e branch mouse_bb_event_discovery_btn 
 
 p_mouse_24g_lowpower_stop_blink_timer:
-03b6 da4003b9 arg p_mouse_24g_lowpower_stop_blink_timeout ,regb 
-03b7 da604c99 arg mem_24g_low_power_stop_blink ,regc 
-03b8 2020318a branch timer_single_step 
+03b7 da4003ba arg p_mouse_24g_lowpower_stop_blink_timeout ,regb 
+03b8 da604c99 arg mem_24g_low_power_stop_blink ,regc 
+03b9 2020318a branch timer_single_step 
 
 p_mouse_24g_lowpower_stop_blink_timeout:
-03b9 704c9801 jam 0x01 ,mem_low_power_led_flag 
-03ba 704c9a06 jam 0x06 ,mem_24g_low_power_led_off 
-03bb 20600000 rtn 
+03ba 704c9801 jam 0x01 ,mem_low_power_led_flag 
+03bb 704c9a06 jam 0x06 ,mem_24g_low_power_led_off 
+03bc 20600000 rtn 
 
 p_mouse_24g_low_power_led_off_timer:
-03bc da4003bf arg p_mouse_24g_low_power_led_off_timeout ,regb 
-03bd da604c9a arg mem_24g_low_power_led_off ,regc 
-03be 2020318a branch timer_single_step 
+03bd da4003c0 arg p_mouse_24g_low_power_led_off_timeout ,regb 
+03be da604c9a arg mem_24g_low_power_led_off ,regc 
+03bf 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_led_off_timeout:
-03bf 20200384 branch p_mouse_low_voltage_led_off 
+03c0 20200384 branch p_mouse_low_voltage_led_off 
 
 p_mouse_check_direct_timeout_timer:
-03c0 da604b77 arg mem_mouse_direct_timer ,regc 
-03c1 da40450a arg mouse_check_direct_timeout ,regb 
-03c2 2040318a call timer_single_step 
-03c3 20204507 branch mouse_check_direct_timeout_timer + 3 
+03c1 da604b77 arg mem_mouse_direct_timer ,regc 
+03c2 da40450a arg mouse_check_direct_timeout ,regb 
+03c3 2040318a call timer_single_step 
+03c4 20204507 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_g24_ota_reset_timer:
-03c4 da604c1d arg mem_g24_ota_reset_timer ,regc 
-03c5 da405d8c arg soft_reset_chip ,regb 
-03c6 2020318a branch timer_single_step 
+03c5 da604c1d arg mem_g24_ota_reset_timer ,regc 
+03c6 da405d8c arg soft_reset_chip ,regb 
+03c7 2020318a branch timer_single_step 
 
 p_mouse_device_connect_init_sensor_or_led:
-03c7 2040050f call p_mouse_sensor_poweron 
-03c8 202003d1 branch p_mouse_device_poweron_led_config 
+03c8 20400527 call p_mouse_sensor_poweron 
+03c9 202003d2 branch p_mouse_device_poweron_led_config 
 
 p_mouse_device_multi_led_poweron_init:
-03c9 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon_timer_init 
-03ca 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
-03cb 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron_flag_init 
-03cc 67e0cc45 store 1 ,mem_mouse_multi_led_poweron_flag 
-03cd 20600000 rtn 
+03ca 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon_timer_init 
+03cb 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
+03cc 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron_flag_init 
+03cd 67e0cc45 store 1 ,mem_mouse_multi_led_poweron_flag 
+03ce 20600000 rtn 
 
 p_mouse_device_multi_led_blink_timer_init:
-03ce 6fe0cc4c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-03cf 67e0cc4d store 1 ,mem_mouse_multi_led_blink_timer 
-03d0 20600000 rtn 
+03cf 6fe0cc4c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+03d0 67e0cc4d store 1 ,mem_mouse_multi_led_blink_timer 
+03d1 20600000 rtn 
 
 p_mouse_device_poweron_led_config:
-03d1 204003c9 call p_mouse_device_multi_led_poweron_init 
-03d2 202003d7 branch p_mouse_multi_led_on_enable 
+03d2 204003ca call p_mouse_device_multi_led_poweron_init 
+03d3 202003d8 branch p_mouse_multi_led_on_enable 
 
 p_mouse_device_discover_led_config:
-03d3 202003d4 branch p_mouse_multi_led_blink_enable 
+03d4 202003d5 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_multi_led_blink_enable:
-03d4 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-03d5 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-03d6 202003ce branch p_mouse_device_multi_led_blink_timer_init 
+03d5 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+03d6 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+03d7 202003cf branch p_mouse_device_multi_led_blink_timer_init 
 
 p_mouse_multi_led_on_enable:
-03d7 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-03d8 704c4d00 jam 0 ,mem_mouse_multi_led_blink_timer 
-03d9 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-03da 20600000 rtn 
+03d8 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+03d9 704c4d00 jam 0 ,mem_mouse_multi_led_blink_timer 
+03da 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
+03db 20600000 rtn 
 
 p_mouse_led_multi_timer:
-03db 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
-03dc 207a0000 rtn blank 
-03dd 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
-03de c00083eb beq multi_led_blink ,p_mouse_multi_led_type_blink 
+03dc 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
+03dd 207a0000 rtn blank 
+03de 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
+03df c00083ec beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-03df 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron_flag 
-03e0 243a03e3 nbranch p_mouse_device_multi_led_poweron ,blank 
-03e1 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-03e2 20600000 rtn 
+03e0 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron_flag 
+03e1 243a03e4 nbranch p_mouse_device_multi_led_poweron ,blank 
+03e2 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+03e3 20600000 rtn 
 
 p_mouse_device_multi_led_poweron:
-03e3 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon_timer 
-03e4 203a03e8 branch p_mouse_multi_led_poweron_and_flag_off ,blank 
-03e5 1fe0ffff increase -1 
-03e6 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
-03e7 202003f2 branch p_mouse_device_multi_led_on + 1 
+03e4 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon_timer 
+03e5 203a03e9 branch p_mouse_multi_led_poweron_and_flag_off ,blank 
+03e6 1fe0ffff increase -1 
+03e7 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
+03e8 202003f3 branch p_mouse_device_multi_led_on + 1 
 
 p_mouse_multi_led_poweron_and_flag_off:
-03e8 704c4500 jam 0 ,mem_mouse_multi_led_poweron_flag 
-03e9 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-03ea 202003fe branch p_mouse_device_multi_led_off + 1 
+03e9 704c4500 jam 0 ,mem_mouse_multi_led_poweron_flag 
+03ea 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+03eb 202003ff branch p_mouse_device_multi_led_off + 1 
 
 p_mouse_multi_led_type_blink:
-03eb da604c4d arg mem_mouse_multi_led_blink_timer ,regc 
-03ec da4003ee arg p_mouse_multi_led_type_blink_timeout ,regb 
-03ed 2020318a branch timer_single_step 
+03ec da604c4d arg mem_mouse_multi_led_blink_timer ,regc 
+03ed da4003ef arg p_mouse_multi_led_type_blink_timeout ,regb 
+03ee 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-03ee 204003ce call p_mouse_device_multi_led_blink_timer_init 
-03ef 6fe0cc4e fetch 1 ,mem_mouse_multi_led_state 
-03f0 c00083fd beq on ,p_mouse_device_multi_led_off 
+03ef 204003cf call p_mouse_device_multi_led_blink_timer_init 
+03f0 6fe0cc4e fetch 1 ,mem_mouse_multi_led_state 
+03f1 c00083fe beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-03f1 704c4e01 jam on ,mem_mouse_multi_led_state 
-03f2 6fe0c938 fetch 1 ,mem_device_flag 
-03f3 c00003f7 beq mode_24g_device ,p_mouse_device_24g_led_on 
-03f4 c00083f9 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-03f5 c00103fb beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-03f6 20600000 rtn 
+03f2 704c4e01 jam on ,mem_mouse_multi_led_state 
+03f3 6fe0c938 fetch 1 ,mem_device_flag 
+03f4 c00003f8 beq mode_24g_device ,p_mouse_device_24g_led_on 
+03f5 c00083fa beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+03f6 c00103fc beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+03f7 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-03f7 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-03f8 202003fc branch p_mouse_device_led_on 
+03f8 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+03f9 202003fd branch p_mouse_device_led_on 
 
 p_mouse_device_bt1_led_on:
-03f9 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-03fa 202003fc branch p_mouse_device_led_on 
+03fa 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+03fb 202003fd branch p_mouse_device_led_on 
 
 p_mouse_device_bt2_led_on:
-03fb 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+03fc 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_on:
-03fc 20206069 branch gpio_out_active 
+03fd 20206069 branch gpio_out_active 
 
 p_mouse_device_multi_led_off:
-03fd 704c4e00 jam off ,mem_mouse_multi_led_state 
-03fe 6fe0c938 fetch 1 ,mem_device_flag 
-03ff c0000403 beq mode_24g_device ,p_mouse_device_24g_led_off 
-0400 c0008405 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-0401 c0010407 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-0402 20600000 rtn 
+03fe 704c4e00 jam off ,mem_mouse_multi_led_state 
+03ff 6fe0c938 fetch 1 ,mem_device_flag 
+0400 c0000404 beq mode_24g_device ,p_mouse_device_24g_led_off 
+0401 c0008406 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+0402 c0010408 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+0403 20600000 rtn 
 
 p_mouse_device_24g_led_off:
-0403 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-0404 20200408 branch p_mouse_device_led_off 
+0404 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0405 20200409 branch p_mouse_device_led_off 
 
 p_mouse_device_bt1_led_off:
-0405 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-0406 20200408 branch p_mouse_device_led_off 
+0406 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0407 20200409 branch p_mouse_device_led_off 
 
 p_mouse_device_bt2_led_off:
-0407 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0408 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_off:
 
 p_gpio_set_high_impedance:
-0408 18467cff sub temp ,gpio_disable ,null 
-0409 20628000 rtn zero 
-040a 2020607f branch gpio_set_high_impedance 
+0409 18467cff sub temp ,gpio_disable ,null 
+040a 20628000 rtn zero 
+040b 2020607f branch gpio_set_high_impedance 
 
 p_mouse_1io2led_all_off:
-040b 20400403 call p_mouse_device_24g_led_off 
-040c 20400405 call p_mouse_device_bt1_led_off 
-040d 20200407 branch p_mouse_device_bt2_led_off 
+040c 20400404 call p_mouse_device_24g_led_off 
+040d 20400406 call p_mouse_device_bt1_led_off 
+040e 20200408 branch p_mouse_device_bt2_led_off 
 
 p_mouse_logo_led_on_timer:
-040e 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-040f c17f8000 rtneq gpio_disable 
-0410 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0411 247a0000 nrtn blank 
-0412 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0413 247a0000 nrtn blank 
-0414 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0415 247a0000 nrtn blank 
-0416 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0417 c2820425 bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
-0418 704c9b00 jam 0 ,mem_mouse_low_power_logo_off_status 
-0419 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-041a 207a0000 rtn blank 
-041b 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-041c 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-041d 98460400 isub temp ,temp 
-041e 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-041f 98467e00 isub temp ,pdata 
-0420 20210423 branch p_mouse_logo_led_on ,positive 
+040f 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+0410 c17f8000 rtneq gpio_disable 
+0411 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0412 247a0000 nrtn blank 
+0413 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0414 247a0000 nrtn blank 
+0415 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0416 247a0000 nrtn blank 
+0417 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0418 c2820426 bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
+0419 704c9b00 jam 0 ,mem_mouse_low_power_logo_off_status 
+041a 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+041b 207a0000 rtn blank 
+041c 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+041d 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+041e 98460400 isub temp ,temp 
+041f 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+0420 98467e00 isub temp ,pdata 
+0421 20210424 branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-0421 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-0422 20206065 branch gpio_out_inactive 
+0422 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0423 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-0423 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-0424 20206069 branch gpio_out_active 
+0424 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0425 20206069 branch gpio_out_active 
 
 p_mouse_low_power_logo_off:
-0425 6fe0cc9b fetch 1 ,mem_mouse_low_power_logo_off_status 
-0426 247a0000 nrtn blank 
-0427 704c9b01 jam 1 ,mem_mouse_low_power_logo_off_status 
-0428 20200421 branch p_mouse_logo_led_off 
+0426 6fe0cc9b fetch 1 ,mem_mouse_low_power_logo_off_status 
+0427 247a0000 nrtn blank 
+0428 704c9b01 jam 1 ,mem_mouse_low_power_logo_off_status 
+0429 20200422 branch p_mouse_logo_led_off 
 
 p_mouse_dpi_led_blink_delay_timer:
-0429 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-042a da40042c arg p_mouse_dpi_led_blink_init ,regb 
-042b 2020318a branch timer_single_step 
+042a da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+042b da40042d arg p_mouse_dpi_led_blink_init ,regb 
+042c 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-042c 6fe0c927 fetch 1 ,mem_config_sensor_type 
-042d c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-042e c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-042f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0430 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-0431 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0432 67e14930 store 2 ,mem_mouse_on_time 
-0433 67e14932 store 2 ,mem_mouse_off_time 
-0434 da200000 arg 0 ,rega 
-0435 6848c992 fetcht 1 ,mem_mouse_dpi 
-0436 18408402 increase 2 ,temp 
-0437 18467c03 sub temp ,3 ,null 
-0438 2041043b call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0439 2441043f ncall p_mouse_dpi_led_blink_count_clean ,positive 
-043a 202048ff branch mouse_dpi_led_blink_init_end 
+042d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+042e c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+042f c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+0430 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0431 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+0432 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0433 67e14930 store 2 ,mem_mouse_on_time 
+0434 67e14932 store 2 ,mem_mouse_off_time 
+0435 da200000 arg 0 ,rega 
+0436 6848c992 fetcht 1 ,mem_mouse_dpi 
+0437 18408402 increase 2 ,temp 
+0438 18467c03 sub temp ,3 ,null 
+0439 2041043c call p_mouse_dpi_led_blink_init_level_4 ,positive 
+043a 24410440 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+043b 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-043b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-043c c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-043d 18408401 increase 1 ,temp 
-043e 20600000 rtn 
+043c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+043d c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+043e 18408401 increase 1 ,temp 
+043f 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-043f 184085fd increase -3 ,temp 
-0440 20600000 rtn 
+0440 184085fd increase -3 ,temp 
+0441 20600000 rtn 
 
 p_mouse_commbination_key_process:
-0441 6fe0c938 fetch 1 ,mem_device_flag 
-0442 c0000447 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0443 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0444 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0445 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0446 2020044a branch p_mouse_commbination_key_start 
+0442 6fe0c938 fetch 1 ,mem_device_flag 
+0443 c0000448 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0444 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0445 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0446 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0447 2020044b branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0447 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0448 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0449 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0448 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0449 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+044a 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-044a 6048cb9d storet 1 ,mem_mouse_commbination_key 
-044b 20404115 call mouse_check_key_gpio 
-044c 1fe17e07 and pdata ,0x07 ,pdata 
-044d 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-044e 98467c00 isub temp ,null 
-044f 20228451 branch p_mouse_commbination_key_down ,zero 
-0450 202044eb branch mouse_commbination_key_up 
+044b 6048cb9d storet 1 ,mem_mouse_commbination_key 
+044c 20404115 call mouse_check_key_gpio 
+044d 1fe17e07 and pdata ,0x07 ,pdata 
+044e 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+044f 98467c00 isub temp ,null 
+0450 20228452 branch p_mouse_commbination_key_down ,zero 
+0451 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-0451 20400456 call p_mouse_combination_ui_timer 
-0452 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0453 c1008000 rtneq commbination_key_state_down 
-0454 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0455 20600000 rtn 
+0452 20400457 call p_mouse_combination_ui_timer 
+0453 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0454 c1008000 rtneq commbination_key_state_down 
+0455 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0456 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0456 da4002ef arg p_mouse_24g_start_pair_mode ,regb 
-0457 202044f7 branch mouse_combination_ui_timer + 1 
+0457 da4002ef arg p_mouse_24g_start_pair_mode ,regb 
+0458 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_le_battery_updata_timer:
-0458 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0459 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-045a 2020451f branch mouse_le_battery_updata_timer 
+0459 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+045a c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+045b 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-045b da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-045c da40436c arg mouse_updata_le_param ,regb 
-045d 2020318a branch timer_single_step 
+045c da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+045d da40436c arg mouse_updata_le_param ,regb 
+045e 2020318a branch timer_single_step 
 
 p_mouse_check_no_data_timeout_timer:
-045e da604ab2 arg mem_mouse_no_data_timer ,regc 
-045f da400461 arg p_mouse_check_no_data_timeout ,regb 
-0460 20203191 branch timer_single_step_2b 
+045f da604ab2 arg mem_mouse_no_data_timer ,regc 
+0460 da400462 arg p_mouse_check_no_data_timeout ,regb 
+0461 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-0461 6fe0c938 fetch 1 ,mem_device_flag 
-0462 c00002fd beq mode_24g_device ,p_mouse_24g_hibernate_set 
-0463 2020431b branch mouse_disconnect 
+0462 6fe0c938 fetch 1 ,mem_device_flag 
+0463 c00002fd beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0464 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-0464 204003d3 call p_mouse_device_discover_led_config 
-0465 20400521 call p_mouse_sensor_powerdown 
-0466 20400421 call p_mouse_logo_led_off 
-0467 6fe1478c fetch 2 ,mem_ui_state_map 
-0468 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0469 2040c581 call mouse_stop_le_adv ,true 
-046a 6fe1478c fetch 2 ,mem_ui_state_map 
-046b 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-046c 2040c322 call mouse_cancel_reconnect ,true 
-046d 58000000 setarg 0 
-046e 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-046f 20404314 call mouse_bluetooth_fast_conn_disable 
-0470 6fe1478c fetch 2 ,mem_ui_state_map 
-0471 c285847a bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
-0472 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0473 c304047a bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
-0474 68494997 fetcht 2 ,mem_random_addr_increase_count 
-0475 18408401 increase 1 ,temp 
-0476 60494997 storet 2 ,mem_random_addr_increase_count 
-0477 6049437b storet 2 ,mem_le_lap + 1 
-0478 180a7e00 random pdata 
-0479 67e0c37a store 1 ,mem_le_lap 
+0465 204003d4 call p_mouse_device_discover_led_config 
+0466 20400539 call p_mouse_sensor_powerdown 
+0467 20400422 call p_mouse_logo_led_off 
+0468 6fe1478c fetch 2 ,mem_ui_state_map 
+0469 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+046a 2040c581 call mouse_stop_le_adv ,true 
+046b 6fe1478c fetch 2 ,mem_ui_state_map 
+046c 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+046d 2040c322 call mouse_cancel_reconnect ,true 
+046e 58000000 setarg 0 
+046f 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+0470 20404314 call mouse_bluetooth_fast_conn_disable 
+0471 6fe1478c fetch 2 ,mem_ui_state_map 
+0472 c285847b bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+0473 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0474 c304047b bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+0475 68494997 fetcht 2 ,mem_random_addr_increase_count 
+0476 18408401 increase 1 ,temp 
+0477 60494997 storet 2 ,mem_random_addr_increase_count 
+0478 6049437b storet 2 ,mem_le_lap + 1 
+0479 180a7e00 random pdata 
+047a 67e0c37a store 1 ,mem_le_lap 
 
 p_mouse_start_discovery_norandom:
-047a 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
-047b 67e1c37d store 3 ,mem_le_lap + 3 
-047c 20403225 call app_lpm_mult_disable 
-047d 6fe14791 fetch 2 ,mem_discovery_timeout 
-047e 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-047f 7000bd06 jam 6 ,mem_connection_options 
-0480 58000000 setarg 0 
-0481 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0482 67e0cb77 store 1 ,mem_mouse_direct_timer 
-0483 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
-0484 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-0485 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
-0486 d8e00002 arg mouse_store_eeprom_flag ,queue 
-0487 204046f0 call mouse_enable_function_flag 
-0488 204046e4 call mouse_bt_discovery_button_down_disable 
-0489 2040048b call p_mouse_select_bt_adv_mode 
-048a 20600000 rtn 
+047b 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
+047c 67e1c37d store 3 ,mem_le_lap + 3 
+047d 20403225 call app_lpm_mult_disable 
+047e 6fe14791 fetch 2 ,mem_discovery_timeout 
+047f 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+0480 7000bd06 jam 6 ,mem_connection_options 
+0481 58000000 setarg 0 
+0482 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+0483 67e0cb77 store 1 ,mem_mouse_direct_timer 
+0484 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0485 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+0486 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
+0487 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0488 204046f0 call mouse_enable_function_flag 
+0489 204046e4 call mouse_bt_discovery_button_down_disable 
+048a 2040048c call p_mouse_select_bt_adv_mode 
+048b 20600000 rtn 
 
 p_mouse_select_bt_adv_mode:
-048b 6fe0c938 fetch 1 ,mem_device_flag 
-048c c000848f beq mode_bt_device1 ,p_mouse_current_classic_mode 
-048d c0010490 beq mode_bt_device2 ,p_mouse_current_ble_mode 
-048e 20600000 rtn 
+048c 6fe0c938 fetch 1 ,mem_device_flag 
+048d c0008490 beq mode_bt_device1 ,p_mouse_current_classic_mode 
+048e c0010491 beq mode_bt_device2 ,p_mouse_current_ble_mode 
+048f 20600000 rtn 
 
 p_mouse_current_classic_mode:
-048f 202078c4 branch check_51cmd_start_discovery 
+0490 202078c4 branch check_51cmd_start_discovery 
 
 p_mouse_current_ble_mode:
-0490 202043df branch mouse_check_51cmd_adv 
+0491 202043df branch mouse_check_51cmd_adv 
 
 p_mouse_stop_discovery:
-0491 58000000 setarg 0 
-0492 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-0493 20204577 branch mouse_stop_discovery + 1 
+0492 58000000 setarg 0 
+0493 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+0494 20204577 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-0494 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-0495 245a7861 ncall ui_timer_init ,blank 
-0496 704be200 jam 0 ,mem_power_on_flag 
-0497 20207851 branch ui_timer_check + 1 
+0495 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0496 245a7861 ncall ui_timer_init ,blank 
+0497 704be200 jam 0 ,mem_power_on_flag 
+0498 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0498 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0499 1fe20c00 copy pdata ,contr 
-049a efe08006 ifetch 1 ,contr 
-049b 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-049c 1fe1040f and pdata ,0x0f ,temp 
-049d 1ff1fe00 rshift4 pdata ,pdata 
-049e c00484a0 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-049f 20204d93 branch hid_rx_process + 7 
+0499 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+049a 1fe20c00 copy pdata ,contr 
+049b efe08006 ifetch 1 ,contr 
+049c 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+049d 1fe1040f and pdata ,0x0f ,temp 
+049e 1ff1fe00 rshift4 pdata ,pdata 
+049f c00484a1 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+04a0 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-04a0 da200001 arg 1 ,rega 
-04a1 20404dc0 call hid_malloc_tx_buff 
-04a2 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-04a3 e7e10005 istore 2 ,contw 
-04a4 58000000 setarg 0 
-04a5 e7e08005 istore 1 ,contw 
-04a6 70095001 jam 1 ,mem_ui_data_txbuff_length 
-04a7 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-04a8 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-04a9 67e0c4e2 store 1 ,mem_hid_control_state 
-04aa 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-04ab 20207871 branch ui_ipc_send_event 
+04a1 da200001 arg 1 ,rega 
+04a2 20404dc0 call hid_malloc_tx_buff 
+04a3 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+04a4 e7e10005 istore 2 ,contw 
+04a5 58000000 setarg 0 
+04a6 e7e08005 istore 1 ,contw 
+04a7 70095001 jam 1 ,mem_ui_data_txbuff_length 
+04a8 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+04a9 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+04aa 67e0c4e2 store 1 ,mem_hid_control_state 
+04ab 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+04ac 20207871 branch ui_ipc_send_event 
 
 p_send_lmp:
-04ac 78547c00 disable user 
-04ad 204059e6 call lmo_fifo_process 
-04ae 6fe08049 fetch 1 ,mem_lmp_to_send 
-04af 207a0000 rtn blank 
-04b0 c283d730 bbit1 7 ,send_lmp_escape 
+04ad 78547c00 disable user 
+04ae 204059e6 call lmo_fifo_process 
+04af 6fe08049 fetch 1 ,mem_lmp_to_send 
+04b0 207a0000 rtn blank 
+04b1 c283d730 bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-04b1 c00384b3 beq lmp_detach ,p_send_lmp_detach 
-04b2 20205701 branch send_lmp0 
+04b2 c00384b4 beq lmp_detach ,p_send_lmp_detach 
+04b3 20205701 branch send_lmp0 
 
 p_send_lmp_detach:
-04b3 2040585d call send_lmp_detach 
-04b4 70007378 jam 120 ,mem_conn_timer 
-04b5 20600000 rtn 
+04b4 2040585d call send_lmp_detach 
+04b5 70007378 jam 120 ,mem_conn_timer 
+04b6 20600000 rtn 
 
 p_le_slave_match:
-04b6 6fe0c3dd fetch 1 ,mem_le_md_count 
-04b7 1fe0fe01 pincrease 1 
-04b8 67e0c3dd store 1 ,mem_le_md_count 
-04b9 c006165a beq le_md_max_count ,le_slave_cont 
-04ba 2040191b call le_acknowledge 
-04bb 2040196a call le_prepare_tx 
-04bc 6fe082bd fetch 1 ,mem_le_tx_phy 
-04bd 2040168b call le_enable_phy_by_pdata 
-04be 20401838 call le_transmit 
-04bf 20201655 branch le_slave_match + 10 
+04b7 6fe0c3dd fetch 1 ,mem_le_md_count 
+04b8 1fe0fe01 pincrease 1 
+04b9 67e0c3dd store 1 ,mem_le_md_count 
+04ba c006165a beq le_md_max_count ,le_slave_cont 
+04bb 2040191b call le_acknowledge 
+04bc 2040196a call le_prepare_tx 
+04bd 6fe082bd fetch 1 ,mem_le_tx_phy 
+04be 2040168b call le_enable_phy_by_pdata 
+04bf 20401838 call le_transmit 
+04c0 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-04c0 20400e80 call end_of_packet 
-04c1 20201661 branch le_slave_unsync + 1 
+04c1 20400e80 call end_of_packet 
+04c2 20201661 branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-04c2 efe10006 ifetch 2 ,contr 
-04c3 c00204c5 beq le_l2cap_cid_att ,p_le_parse_att 
-04c4 202019e4 branch le_parse_l2cap + 10 
+04c3 efe10006 ifetch 2 ,contr 
+04c4 c00204c6 beq le_l2cap_cid_att ,p_le_parse_att 
+04c5 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-04c5 efe18006 ifetch 3 ,contr 
-04c6 67e1c436 store 3 ,mem_le_att_opcode 
-04c7 c00504ca beq attop_read_request ,p_le_parse_att_read_request 
-04c8 c00904d9 beq attop_write_request ,p_le_parse_att_write_request 
-04c9 20201cd3 branch le_parse_att + 2 
+04c6 efe18006 ifetch 3 ,contr 
+04c7 67e1c436 store 3 ,mem_le_att_opcode 
+04c8 c00504cb beq attop_read_request ,p_le_parse_att_read_request 
+04c9 c00904da beq attop_write_request ,p_le_parse_att_write_request 
+04ca 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-04ca 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04cb c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-04cc 20401e8d call le_check_encrypt_state 
-04cd 68494437 fetcht 2 ,mem_le_att_handle 
-04ce 6fe0c3c0 fetch 1 ,mem_le_configuration 
-04cf c28184d4 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+04cb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04cc c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+04cd 20401e8d call le_check_encrypt_state 
+04ce 68494437 fetcht 2 ,mem_le_att_handle 
+04cf 6fe0c3c0 fetch 1 ,mem_le_configuration 
+04d0 c28184d5 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-04d0 6fe14437 fetch 2 ,mem_le_att_handle 
-04d1 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-04d2 68494437 fetcht 2 ,mem_le_att_handle 
-04d3 20201deb branch le_send_att_read_response 
+04d1 6fe14437 fetch 2 ,mem_le_att_handle 
+04d2 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+04d3 68494437 fetcht 2 ,mem_le_att_handle 
+04d4 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-04d4 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-04d5 98467c00 isub temp ,null 
-04d6 242284d0 nbranch p_le_send_att_read_response ,zero 
-04d7 243404d0 nbranch p_le_send_att_read_response ,user 
-04d8 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04d5 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+04d6 98467c00 isub temp ,null 
+04d7 242284d1 nbranch p_le_send_att_read_response ,zero 
+04d8 243404d1 nbranch p_le_send_att_read_response ,user 
+04d9 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-04d9 18c22200 copy contr ,rega 
-04da 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-04db 1fe0a5fd add pdata ,-3 ,regb 
-04dc 20401a25 call le_writeatt_cb 
-04dd 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-04de c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-04df 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-04e0 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-04e1 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-04e2 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-04e3 5800001a setarg 0x001a 
-04e4 68494437 fetcht 2 ,mem_le_att_handle 
-04e5 98467c00 isub temp ,null 
-04e6 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-04e7 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04da 18c22200 copy contr ,rega 
+04db 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+04dc 1fe0a5fd add pdata ,-3 ,regb 
+04dd 20401a25 call le_writeatt_cb 
+04de 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+04df c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+04e0 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+04e1 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+04e2 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+04e3 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+04e4 5800001a setarg 0x001a 
+04e5 68494437 fetcht 2 ,mem_le_att_handle 
+04e6 98467c00 isub temp ,null 
+04e7 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+04e8 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_g24_lpm_wait:
-04e8 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-04e9 243a7e56 nbranch disable_user ,blank 
-04ea 78347c00 enable user 
-04eb 20401465 call lpo_calibration 
-04ec 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-04ed 203a7e56 branch disable_user ,blank 
-04ee 6fe0c099 fetch 1 ,mem_lpm_mode 
-04ef 203a7e56 branch disable_user ,blank 
-04f0 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-04f1 247a0000 nrtn blank 
-04f2 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04f3 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-04f4 20600000 rtn 
+04e9 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+04ea 243a7e56 nbranch disable_user ,blank 
+04eb 78347c00 enable user 
+04ec 20401465 call lpo_calibration 
+04ed 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+04ee 203a7e56 branch disable_user ,blank 
+04ef 6fe0c099 fetch 1 ,mem_lpm_mode 
+04f0 203a7e56 branch disable_user ,blank 
+04f1 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+04f2 247a0000 nrtn blank 
+04f3 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04f4 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+04f5 20600000 rtn 
 
 p_mouse_motion:
-04f5 78547c00 disable user 
-04f6 58000000 setarg 0 
-04f7 67e348d1 store 6 ,mem_mouse_x 
-04f8 20404240 call mouse_check_sensor_data 
-04f9 2040408e call mouse_dpi_config 
-04fa 20403f7e call mouse_zwheel 
-04fb 20403f83 call mouse_t_zwheel 
-04fc 20400528 call p_mouse_key 
-04fd 6fe0c8d0 fetch 1 ,mem_mouse_key 
-04fe 1fe17e1f and_into 0x1f ,pdata 
-04ff 67e0c8d0 store 1 ,mem_mouse_key 
-0500 24340507 nbranch p_mouse_low_power_led_delay_off ,user 
-0501 20400504 call p_mouse_work_state_flag 
-0502 2040050c call p_mouse_drawing_optima 
-0503 20204544 branch mouse_no_data_timer_init 
+04f6 78547c00 disable user 
+04f7 58000000 setarg 0 
+04f8 67e348d1 store 6 ,mem_mouse_x 
+04f9 20400505 call p_mouse_check_sensor_data 
+04fa 2040408e call mouse_dpi_config 
+04fb 20403f7e call mouse_zwheel 
+04fc 20403f83 call mouse_t_zwheel 
+04fd 20400540 call p_mouse_key 
+04fe 6fe0c8d0 fetch 1 ,mem_mouse_key 
+04ff 1fe17e1f and_into 0x1f ,pdata 
+0500 67e0c8d0 store 1 ,mem_mouse_key 
+0501 2434051f nbranch p_mouse_low_power_led_delay_off ,user 
+0502 2040051c call p_mouse_work_state_flag 
+0503 20400524 call p_mouse_drawing_optima 
+0504 20204544 branch mouse_no_data_timer_init 
+
+p_mouse_check_sensor_data:
+0505 6fe0c4ac fetch 1 ,mem_spi_write_flash_sm 
+0506 c1800000 rtnne flash_sm_no_buys 
+0507 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0508 c003850a beq p6520 ,p_mouse_p32xx_sensor_motion 
+0509 20204243 branch mouse_check_sensor_data + 3 
+
+p_mouse_p32xx_sensor_motion:
+050a 204042c4 call mouse_clear_sensor_data 
+050b 78547c00 disable user 
+050c 6fe0c911 fetch 1 ,mem_sensor_motion_gpio 
+050d c07f8511 beq gpio_disable ,p_mouse_p32xx_sensor_motion_2 
+050e 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
+050f 20406059 call gpio_get_bit 
+0510 24608000 nrtn true 
+
+p_mouse_p32xx_sensor_motion_2:
+0511 58000000 setarg pan_reg_pid_l 
+0512 20405b0d call twspi_read 
+0513 c0984266 bne p32xx_id1 ,mouse_p3065_judge 
+
+p_mouse_p32xx_sensor_motion_3:
+0514 58000002 setarg pan_reg_motion_staus 
+0515 20405b0d call twspi_read 
+0516 c3038518 bbit0 7 ,p_mouse_p32xx_sensor_overflow_check 
+0517 2020051b branch p_mouse_p32xx_sensor_motion_1 
+
+p_mouse_p32xx_sensor_overflow_check:
+0518 c281851b bbit1 3 ,p_mouse_p32xx_sensor_motion_1 
+0519 c282051b bbit1 4 ,p_mouse_p32xx_sensor_motion_1 
+051a 20600000 rtn 
+
+p_mouse_p32xx_sensor_motion_1:
+051b 20204259 branch mouse_p32xx_sensor_motion_1 + 3 
 
 p_mouse_work_state_flag:
-0504 704c9800 jam 0 ,mem_low_power_led_flag 
-0505 704c9900 jam 0 ,mem_24g_low_power_stop_blink 
-0506 20600000 rtn 
+051c 704c9800 jam 0 ,mem_low_power_led_flag 
+051d 704c9900 jam 0 ,mem_24g_low_power_stop_blink 
+051e 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
-0507 20404728 call mouse_drawing_optima_init 
-0508 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
-0509 247a0000 nrtn blank 
-050a 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
-050b 20600000 rtn 
+051f 20404728 call mouse_drawing_optima_init 
+0520 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
+0521 247a0000 nrtn blank 
+0522 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
+0523 20600000 rtn 
 
 p_mouse_drawing_optima:
-050c 6fe0c927 fetch 1 ,mem_config_sensor_type 
-050d c1018000 rtneq p3212 
-050e 2020471a branch mouse_drawing_optima 
+0524 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0525 c1018000 rtneq p3212 
+0526 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-050f 20403f65 call mouse_sensor_spi_init 
-0510 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0511 c0058516 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0512 20404232 call mouse_sensor_reset 
-0513 da604aa3 arg mem_sensor_poweron_init ,regc 
-0514 2040422b call mouse_sensor_wr_seq 
-0515 2020408e branch mouse_dpi_config 
+0527 20403f65 call mouse_sensor_spi_init 
+0528 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0529 c005852e beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+052a 20404232 call mouse_sensor_reset 
+052b da604aa3 arg mem_sensor_poweron_init ,regc 
+052c 2040422b call mouse_sensor_wr_seq 
+052d 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-0516 2040051d call p_mouse_ka8g2_sensor_reset 
-0517 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-0518 2040422b call mouse_sensor_wr_seq 
-0519 2020408e branch mouse_dpi_config 
+052e 20400535 call p_mouse_ka8g2_sensor_reset 
+052f da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0530 2040422b call mouse_sensor_wr_seq 
+0531 2020408e branch mouse_dpi_config 
 
 p_mouse_sensor_reset:
-051a 6fe0c927 fetch 1 ,mem_config_sensor_type 
-051b c005851d beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-051c 20204232 branch mouse_sensor_reset 
+0532 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0533 c0058535 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+0534 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-051d 58009706 setarg 0x9706 
-051e 20405b0c call twspi_write 
-051f 20002ee0 nop 12000 
-0520 20600000 rtn 
+0535 58009706 setarg 0x9706 
+0536 20405b0c call twspi_write 
+0537 20002ee0 nop 12000 
+0538 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-0521 204041a7 call mouse_init_sunt 
-0522 20403f65 call mouse_sensor_spi_init 
-0523 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0524 c0058526 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0525 2020423e branch mouse_sensor_powerdown_end 
+0539 204041a7 call mouse_init_sunt 
+053a 20403f65 call mouse_sensor_spi_init 
+053b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+053c c005853e beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+053d 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-0526 58001f06 setarg 0x1f06 
-0527 20205b0c branch twspi_write 
+053e 58001f06 setarg 0x1f06 
+053f 20205b0c branch twspi_write 
 
 p_mouse_key:
-0528 2040052a call p_mouse_check_key_gpio 
-0529 202040dd branch mouse_key + 1 
+0540 20400542 call p_mouse_check_key_gpio 
+0541 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-052a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-052b 245a4121 ncall mouse_check_key_gpio_once ,blank 
-052c da200000 arg 0 ,rega 
-052d 20400533 call p_mouse_check_lkey_gpio 
-052e 20400538 call p_mouse_check_rkey_gpio 
-052f 2040053d call p_mouse_check_mkey_gpio 
-0530 20400542 call p_mouse_check_bkkey_gpio 
-0531 2040054f call p_mouse_check_fwkey_gpio 
-0532 2020411e branch mouse_check_key_gpio_next 
+0542 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0543 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0544 da200000 arg 0 ,rega 
+0545 2040054d call p_mouse_check_lkey_gpio 
+0546 20400552 call p_mouse_check_rkey_gpio 
+0547 20400557 call p_mouse_check_mkey_gpio 
+0548 2040055c call p_mouse_check_bkkey_gpio 
+0549 20400569 call p_mouse_check_fwkey_gpio 
+
+p_mouse_check_key_gpio_next:
+054a 2040057b call p_mouse_check_customerkey_gpio 
+054b 1a227e00 copy rega ,pdata 
+054c 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-0533 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0534 2040055c call p_mouse_gpio_config_output_high 
-0535 20404124 call mouse_check_lkey_gpio 
-0536 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0537 20203f56 branch mouse_gpio_config_input_pu 
+054d 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+054e 2040058e call p_mouse_gpio_config_output_high 
+054f 20404124 call mouse_check_lkey_gpio 
+0550 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0551 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0538 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-0539 2040055c call p_mouse_gpio_config_output_high 
-053a 2040412a call mouse_check_rkey_gpio 
-053b 6848c919 fetcht 1 ,mem_rbutton_gpio 
-053c 20203f56 branch mouse_gpio_config_input_pu 
+0552 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0553 2040058e call p_mouse_gpio_config_output_high 
+0554 2040412a call mouse_check_rkey_gpio 
+0555 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0556 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-053d 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-053e 2040055c call p_mouse_gpio_config_output_high 
-053f 20404130 call mouse_check_mkey_gpio 
-0540 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0541 20203f56 branch mouse_gpio_config_input_pu 
+0557 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0558 2040058e call p_mouse_gpio_config_output_high 
+0559 20404130 call mouse_check_mkey_gpio 
+055a 6848c91a fetcht 1 ,mem_mbutton_gpio 
+055b 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0542 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0543 c17f8000 rtneq gpio_disable 
-0544 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0545 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0546 1fe22600 copy pdata ,regc 
-0547 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0548 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0549 c07f854b beq gpio_disable ,p_mouse_3io6key_bk_check 
-054a 2020413e branch mouse_check_bkkey_gpio_next 
+055c 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+055d c17f8000 rtneq gpio_disable 
+055e 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+055f 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0560 1fe22600 copy pdata ,regc 
+0561 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0562 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0563 c07f8565 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0564 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-054b 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-054c 2040055f call p_mouse_gpio_config_output_low 
-054d 6848c90d fetcht 1 ,mem_bk_button_gpio 
-054e 2020414b branch mouse_3io6key_bk_check 
+0565 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0566 20400591 call p_mouse_gpio_config_output_low 
+0567 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0568 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-054f 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0550 c17f8000 rtneq gpio_disable 
-0551 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0552 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0553 1fe22600 copy pdata ,regc 
-0554 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0555 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0556 c07f8558 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0557 20204157 branch mouse_check_fwkey_gpio_next 
+0569 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+056a c17f8000 rtneq gpio_disable 
+056b 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+056c 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+056d 1fe22600 copy pdata ,regc 
+056e 6848c90e fetcht 1 ,mem_fw_button_gpio 
+056f 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0570 c07f8572 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0571 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0558 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0559 2040055f call p_mouse_gpio_config_output_low 
-055a 6848c90e fetcht 1 ,mem_fw_button_gpio 
-055b 20204164 branch mouse_3io6key_fw_check 
+0572 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0573 20400591 call p_mouse_gpio_config_output_low 
+0574 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0575 20204164 branch mouse_3io6key_fw_check 
+
+p_mouse_customer_key_connect_vin:
+0576 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+0577 c17f8000 rtneq gpio_disable 
+0578 c4038000 rtnbit0 7 
+0579 704cc601 jam 1 ,mem_mouse_customer_key_connect_vin_flag 
+057a 20600000 rtn 
+
+p_mouse_check_customerkey_gpio:
+057b 6fe0ccc6 fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
+057c 203a416a branch mouse_check_customerkey_gpio ,blank 
+057d 704b8b00 jam 0 ,mem_customer_key 
+057e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+057f c40a8000 rtnbit0 mouse_enable_keyboard 
+0580 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+0581 793ffe07 set0 gpio_active_bit ,pdata 
+0582 67e0c912 store 1 ,mem_customer_key_gpio 
+0583 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
+0584 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
+0585 1fe22600 copy pdata ,regc 
+
+p_mouse_3io6key_customerkey_check:
+0586 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+0587 20400591 call p_mouse_gpio_config_output_low 
+0588 6848c912 fetcht 1 ,mem_customer_key_gpio 
+0589 20404195 call mouse_3io6key_check 
+058a 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
+058b 20404174 call mouse_check_customerkey_state 
+058c 6848c912 fetcht 1 ,mem_customer_key_gpio 
+058d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_gpio_config_output_high:
-055c c17f8000 rtneq gpio_disable 
-055d d840003f arg gpcfg_output_high ,temp 
-055e 20206093 branch gpio_config_function_int 
+058e c17f8000 rtneq gpio_disable 
+058f d840003f arg gpcfg_output_high ,temp 
+0590 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-055f c17f8000 rtneq gpio_disable 
-0560 d840003e arg gpcfg_output_low ,temp 
-0561 20206093 branch gpio_config_function_int 
+0591 c17f8000 rtneq gpio_disable 
+0592 d840003e arg gpcfg_output_low ,temp 
+0593 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-0562 20404990 call mouse_low_voltage_led_no_enter_lpm 
-0563 20407936 call ui_check_paring_button 
-0564 20400571 call p_mouse_dpi_check 
-0565 20400583 call p_mouse_dpi_another_gpio_check 
-0566 20400568 call p_mouse_select_device_check 
-0567 20204650 branch mouse_idle + 5 
+0594 20404990 call mouse_low_voltage_led_no_enter_lpm 
+0595 20407936 call ui_check_paring_button 
+0596 204005a3 call p_mouse_dpi_check 
+0597 204005b5 call p_mouse_dpi_another_gpio_check 
+0598 2040059a call p_mouse_select_device_check 
+0599 20204650 branch mouse_idle + 5 
 
 p_mouse_select_device_check:
-0568 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0569 c294856c bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
-056a c29b856c bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
-056b 20600000 rtn 
+059a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+059b c294859e bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
+059c c29b859e bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
+059d 20600000 rtn 
 
 p_mouse_select_device_by_pb_button_check_judge:
-056c 6fe1478c fetch 2 ,mem_ui_state_map 
-056d c2830206 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
-056e 6fe0c9bf fetch 1 ,mem_store_information_delay_timer 
-056f 247a0000 nrtn blank 
-0570 2020465a branch mouse_select_device_by_pb_button 
+059e 6fe1478c fetch 2 ,mem_ui_state_map 
+059f c2830206 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
+05a0 6fe0c9bf fetch 1 ,mem_store_information_delay_timer 
+05a1 247a0000 nrtn blank 
+05a2 2020465a branch mouse_select_device_by_pb_button 
 
 p_mouse_dpi_check:
-0571 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0572 c17f8000 rtneq gpio_disable 
-0573 da200000 arg 0 ,rega 
-0574 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-0575 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0576 20400578 call p_mouse_dpi_key_check 
-0577 2020402f branch mouse_dpi_check_next 
+05a3 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05a4 c17f8000 rtneq gpio_disable 
+05a5 da200000 arg 0 ,rega 
+05a6 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+05a7 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05a8 204005aa call p_mouse_dpi_key_check 
+05a9 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0578 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0579 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-057a 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-057b 1fe22600 copy pdata ,regc 
-057c 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-057d c07f857f beq gpio_disable ,p_mouse_3io6key_dpi_check 
-057e 2020403f branch mouse_dpi_key_check_next 
+05aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05ab c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+05ac 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+05ad 1fe22600 copy pdata ,regc 
+05ae 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+05af c07f85b1 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+05b0 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-057f 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0580 2040055f call p_mouse_gpio_config_output_low 
-0581 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0582 20204195 branch mouse_3io6key_check 
+05b1 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05b2 20400591 call p_mouse_gpio_config_output_low 
+05b3 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05b4 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-0583 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0584 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-0585 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-0586 243a058c nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+05b5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05b6 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+05b7 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+05b8 243a05be nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-0587 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0588 2040055c call p_mouse_gpio_config_output_high 
-0589 20400597 call p_mouse_dpi_another_check 
-058a 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-058b 20203f56 branch mouse_gpio_config_input_pu 
+05b9 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05ba 2040058e call p_mouse_gpio_config_output_high 
+05bb 204005c9 call p_mouse_dpi_another_check 
+05bc 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05bd 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-058c 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-058d 793ffe07 set0 gpio_active_bit ,pdata 
-058e 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-058f 2040055f call p_mouse_gpio_config_output_low 
-0590 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0591 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0592 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-0593 204005b0 call p_mouse_check_key_connect_vin_new 
-0594 2040059b call p_mouse_dpi_another_state_check 
-0595 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0596 20203f56 branch mouse_gpio_config_input_pu 
+05be 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05bf 793ffe07 set0 gpio_active_bit ,pdata 
+05c0 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+05c1 20400591 call p_mouse_gpio_config_output_low 
+05c2 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05c3 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05c4 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05c5 204005e2 call p_mouse_check_key_connect_vin_new 
+05c6 204005cd call p_mouse_dpi_another_state_check 
+05c7 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05c8 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-0597 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0598 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0599 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-059a 204005a6 call p_mouse_check_key_connect_gnd_new 
+05c9 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05ca 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05cb 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05cc 204005d8 call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-059b 67e0cc3c store 1 ,mem_dpi_another_press_status 
-059c 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-059d 203a05a2 branch p_mouse_dpi_another_up ,blank 
+05cd 67e0cc3c store 1 ,mem_dpi_another_press_status 
+05ce 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05cf 203a05d4 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-059e 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-059f c1008000 rtneq dpi_button_state_down 
-05a0 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05a1 20204069 branch mouse_dpi_process 
+05d0 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05d1 c1008000 rtneq dpi_button_state_down 
+05d2 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+05d3 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-05a2 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05a3 c1000000 rtneq dpi_button_state_up 
-05a4 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-05a5 20600000 rtn 
+05d4 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05d5 c1000000 rtneq dpi_button_state_up 
+05d6 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+05d7 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-05a6 1fe3fe00 lshift pdata ,pdata 
-05a7 1fe22400 copy pdata ,regb 
-05a8 20406059 call gpio_get_bit 
-05a9 7920a400 setflag true ,0 ,regb 
-05aa 1a417e07 and regb ,0x07 ,pdata 
-05ab 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05ac 18420e00 copy temp ,queue 
-05ad c00385bb beq 0x07 ,p_mouse_key_press 
-05ae c00005bd beq 0x00 ,p_mouse_key_release 
-05af 20600000 rtn 
+05d8 1fe3fe00 lshift pdata ,pdata 
+05d9 1fe22400 copy pdata ,regb 
+05da 20406059 call gpio_get_bit 
+05db 7920a400 setflag true ,0 ,regb 
+05dc 1a417e07 and regb ,0x07 ,pdata 
+05dd 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05de 18420e00 copy temp ,queue 
+05df c00385ed beq 0x07 ,p_mouse_key_press 
+05e0 c00005ef beq 0x00 ,p_mouse_key_release 
+05e1 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-05b0 1fe3fe00 lshift pdata ,pdata 
-05b1 1fe22400 copy pdata ,regb 
-05b2 20403f54 call mouse_gpio_config_input_pd 
-05b3 20406059 call gpio_get_bit 
-05b4 7920a400 setflag true ,0 ,regb 
-05b5 1a417e07 and regb ,0x07 ,pdata 
-05b6 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05b7 18420e00 copy temp ,queue 
-05b8 c00385bb beq 0x07 ,p_mouse_key_press 
-05b9 c00005bd beq 0x00 ,p_mouse_key_release 
-05ba 20600000 rtn 
+05e2 1fe3fe00 lshift pdata ,pdata 
+05e3 1fe22400 copy pdata ,regb 
+05e4 20403f54 call mouse_gpio_config_input_pd 
+05e5 20406059 call gpio_get_bit 
+05e6 7920a400 setflag true ,0 ,regb 
+05e7 1a417e07 and regb ,0x07 ,pdata 
+05e8 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05e9 18420e00 copy temp ,queue 
+05ea c00385ed beq 0x07 ,p_mouse_key_press 
+05eb c00005ef beq 0x00 ,p_mouse_key_release 
+05ec 20600000 rtn 
 
 p_mouse_key_press:
-05bb 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-05bc 20600000 rtn 
+05ed 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+05ee 20600000 rtn 
 
 p_mouse_key_release:
-05bd 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-05be 20600000 rtn 
+05ef 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+05f0 20600000 rtn 
 
 p_mouse_dpi_process:
-05bf 20404072 call mouse_dpi_ghost_check 
-05c0 20740000 rtn user 
-05c1 6fe0c992 fetch 1 ,mem_mouse_dpi 
-05c2 1fe20400 copy pdata ,temp 
-05c3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05c4 c29e85cb bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-05c5 18427e00 copy temp ,pdata 
-05c6 1fe0fe01 increase 1 ,pdata 
-05c7 1fe17e03 and pdata ,0x03 ,pdata 
+05f1 20404072 call mouse_dpi_ghost_check 
+05f2 20740000 rtn user 
+05f3 6fe0c992 fetch 1 ,mem_mouse_dpi 
+05f4 1fe20400 copy pdata ,temp 
+05f5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05f6 c29e85fd bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+05f7 18427e00 copy temp ,pdata 
+05f8 1fe0fe01 increase 1 ,pdata 
+05f9 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-05c8 67e0c992 store 1 ,mem_mouse_dpi 
-05c9 20404095 call mouse_seting_dpi 
-05ca 202045ee branch mouse_store_device_info_delay 
+05fa 67e0c992 store 1 ,mem_mouse_dpi 
+05fb 20404095 call mouse_seting_dpi 
+05fc 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-05cb 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05cc 243a05e8 nbranch p_mouse_another_dpi_button_down ,blank 
+05fd 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05fe 243a061a nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-05cd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05ce c28e05dc bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-05cf 18427e00 copy temp ,pdata 
-05d0 c1008000 rtneq mouse_dpi_level2 
+05ff 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0600 c28e060e bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0601 18427e00 copy temp ,pdata 
+0602 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-05d1 c00005d8 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05d2 c00105d6 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-05d3 20600000 rtn 
+0603 c000060a beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0604 c0010608 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+0605 20600000 rtn 
 
 p_mouse_dpi_level_1:
-05d4 58000002 setarg 2 
-05d5 202005c8 branch p_mouse_dpi_store 
+0606 58000002 setarg 2 
+0607 202005fa branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-05d6 58000000 setarg 0 
-05d7 202005c8 branch p_mouse_dpi_store 
+0608 58000000 setarg 0 
+0609 202005fa branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-05d8 58000001 setarg 1 
-05d9 202005c8 branch p_mouse_dpi_store 
+060a 58000001 setarg 1 
+060b 202005fa branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-05da 58000003 setarg 3 
-05db 202005c8 branch p_mouse_dpi_store 
+060c 58000003 setarg 3 
+060d 202005fa branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-05dc 18427e00 copy temp ,pdata 
-05dd c1008000 rtneq mouse_dpi_level2 
-05de c00005d8 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05df c00105da beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-05e0 c00185d6 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-05e1 20600000 rtn 
+060e 18427e00 copy temp ,pdata 
+060f c1008000 rtneq mouse_dpi_level2 
+0610 c000060a beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0611 c001060c beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0612 c0018608 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0613 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-05e2 18427e00 copy temp ,pdata 
-05e3 c1010000 rtneq mouse_dpi_level3 
-05e4 c00005da beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-05e5 c00085d6 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05e6 c00185d4 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-05e7 20600000 rtn 
+0614 18427e00 copy temp ,pdata 
+0615 c1010000 rtneq mouse_dpi_level3 
+0616 c000060c beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+0617 c0008608 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0618 c0018606 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+0619 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-05e8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05e9 c28e05e2 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-05ea 18427e00 copy temp ,pdata 
-05eb c1010000 rtneq mouse_dpi_level3 
+061a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+061b c28e0614 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+061c 18427e00 copy temp ,pdata 
+061d c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-05ec c00005d4 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-05ed c00085d6 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05ee 20600000 rtn 
+061e c0000606 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+061f c0008608 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0620 20600000 rtn 
 
 p_power_ctrl_start:
-05ef 6fe1478c fetch 2 ,mem_ui_state_map 
-05f0 c3858000 rtnbit1 ui_state_ble_adv 
-05f1 c3838000 rtnbit1 ui_state_bt_reconnect 
-05f2 c3830000 rtnbit1 ui_state_bt_discovery 
-05f3 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-05f4 204025cb call rssi_average 
-05f5 6048c8c7 storet 1 ,mem_rssi_avg_received 
-05f6 202026f6 branch power_ctrl_rssi_avg_compare 
+0621 6fe1478c fetch 2 ,mem_ui_state_map 
+0622 c3858000 rtnbit1 ui_state_ble_adv 
+0623 c3838000 rtnbit1 ui_state_bt_reconnect 
+0624 c3830000 rtnbit1 ui_state_bt_discovery 
+0625 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+0626 204025cb call rssi_average 
+0627 6048c8c7 storet 1 ,mem_rssi_avg_received 
+0628 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
@@ -3927,6 +3997,8 @@
 4171 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
 4172 20404187 call mouse_check_key_connect_gnd 
 4173 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
+
+mouse_check_customerkey_state:
 4174 1a227e00 copy rega ,pdata 
 4175 c283c17a bbit1 mouse_customer_key ,mouse_customerkey_press 
 4176 2040417d call mouse_customerkey_release 
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/ramcode.rom	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/ramcode.rom	(working copy)
@@ -16,36 +16,36 @@
 c064822a
 c0650274
 c06600d7
-c06704f5
-c06785bf
+c06704f6
+c06785f1
 c068035c
-c068852a
+c0688542
 c0698039
-c06a050f
+c06a0527
 c06b0296
 c06c8389
-c06d0464
-c06d8491
-c06f0562
+c06d0465
+c06d8492
+c06f0594
 c06f8063
 c070805b
 c0710057
-c0740498
+c0740499
 2020137c
-c00d04ac
+c00d04ad
 c0100055
 c01980b7
 c01a00bc
-c0438494
-c05084b6
-c05184c0
-c06004c2
+c0438495
+c05084b7
+c05184c1
+c06004c3
 c06e833a
 c0710306
 c074830e
 c07501cd
-c07604e8
-c07685ef
+c07604e9
+c0768621
 2020137c
 20800000
 204030f3
@@ -75,7 +75,7 @@
 202041c9
 20400050
 6fe0cc42
-245a03d3
+245a03d4
 20403d5a
 20600000
 6fe0c482
@@ -248,7 +248,7 @@
 20403d8a
 20404728
 20400188
-20400521
+20400539
 204000fd
 20203bc9
 6fe0c938
@@ -262,7 +262,7 @@
 67e0c482
 c1ff8000
 6fe0cc42
-243a03d3
+243a03d4
 20600000
 6fe44bab
 c41e8000
@@ -335,10 +335,10 @@
 20403d13
 20400174
 20400244
-20400421
-2040040b
+20400422
+2040040c
 20400384
-204003c9
+204003ca
 2040010a
 2040016e
 20401b16
@@ -458,7 +458,7 @@
 67e0cba4
 6fe14bbc
 67e14ab2
-20200521
+20200539
 20402631
 2434027c
 204001dd
@@ -515,7 +515,7 @@
 20207d66
 6fe44bab
 c4140000
-20200571
+202005a3
 704b9403
 6fe0c91b
 c17f8000
@@ -549,12 +549,12 @@
 58000006
 20405b0d
 c281be23
-2040051a
-20400521
+20400532
+20400539
 20203e23
 204042e9
 20407fdc
-20400421
+20400422
 20400384
 20404015
 6848c910
@@ -562,12 +562,12 @@
 6848c910
 20406042
 6fe0c920
-2040055c
+2040058e
 d8400003
 20403f56
 20400274
 20406082
-2040040b
+2040040c
 6fe0cc48
 d84000c0
 20406093
@@ -632,14 +632,14 @@
 20406050
 20403f88
 6fe0c91f
-2040055c
+2040058e
 20203e44
 6fe0c8a7
 205a0288
 6fe0c8bd
 c1008000
 2040269f
-204004e8
+204004e9
 24740000
 204026c4
 6fe0cbe1
@@ -671,10 +671,10 @@
 c02202b3
 c02002bd
 20204336
-204003c7
+204003c8
 20204350
 20404544
-204003c7
+204003c8
 202043fa
 58000000
 67e14af2
@@ -709,14 +709,14 @@
 20404544
 d8e00001
 204046f4
-204003d1
+204003d2
 204048c9
 2020485a
 6fe2483c
 67e24891
 67e24993
 2040257e
-204003d1
+204003d2
 20404544
 204042ca
 704aae00
@@ -770,7 +770,7 @@
 58000000
 67e3c8d0
 704be101
-20400521
+20400539
 20200281
 70488b00
 6fe14beb
@@ -851,12 +851,12 @@
 58000000
 67e14887
 20404576
-204003d3
+204003d4
 2020482e
-204003d3
+204003d4
 20400053
 20204806
-204003d3
+204003d4
 2020480c
 2040408f
 2040035f
@@ -872,7 +872,7 @@
 6fe0cba7
 247a0000
 6fe0cbc1
-203a042c
+203a042d
 67e0cba8
 20600000
 6fe14ac2
@@ -905,39 +905,40 @@
 20600000
 20403e9b
 20400386
+20400576
 2040232b
 20402556
 204047cd
-20400429
-204003db
+2040042a
+204003dc
 2040407c
 204044cc
-204003a5
-20400441
+204003a6
+20400442
 204044ff
-204003b6
-204003bc
-204003c0
+204003b7
+204003bd
+204003c1
 20404512
-20400458
+20400459
 20404515
-2040045b
+2040045c
 2040452a
 2040452d
 20404532
 20404535
 20404022
 20404547
-2040040e
-2040045e
-202003c4
+2040040f
+2040045f
+202003c5
 6fe44bab
-c29b83a8
+c29b83a9
 20600000
 6fe0cb9e
 c1808000
 da604b9b
-da4003ad
+da4003ae
 2020318a
 6fe0c938
 c1000000
@@ -948,13 +949,13 @@
 20403173
 704c4c02
 2020454e
-da4003b9
+da4003ba
 da604c99
 2020318a
 704c9801
 704c9a06
 20600000
-da4003bf
+da4003c0
 da604c9a
 2020318a
 20200384
@@ -965,8 +966,8 @@
 da604c1d
 da405d8c
 2020318a
-2040050f
-202003d1
+20400527
+202003d2
 6fe0cc46
 67e0cc47
 6fe0cc44
@@ -975,12 +976,12 @@
 6fe0cc4c
 67e0cc4d
 20600000
-204003c9
-202003d7
-202003d4
+204003ca
+202003d8
+202003d5
 704c4101
 704c4301
-202003ce
+202003cf
 704c4101
 704c4d00
 704c4300
@@ -988,54 +989,54 @@
 6fe0cc41
 207a0000
 6fe0cc43
-c00083eb
+c00083ec
 6fe0cc45
-243a03e3
+243a03e4
 704c4100
 20600000
 6fe0cc47
-203a03e8
+203a03e9
 1fe0ffff
 67e0cc47
-202003f2
+202003f3
 704c4500
 704c4100
-202003fe
+202003ff
 da604c4d
-da4003ee
+da4003ef
 2020318a
-204003ce
+204003cf
 6fe0cc4e
-c00083fd
+c00083fe
 704c4e01
 6fe0c938
-c00003f7
-c00083f9
-c00103fb
+c00003f8
+c00083fa
+c00103fc
 20600000
 6848cc48
-202003fc
+202003fd
 6848cc49
-202003fc
+202003fd
 6848cc4a
 20206069
 704c4e00
 6fe0c938
-c0000403
-c0008405
-c0010407
+c0000404
+c0008406
+c0010408
 20600000
 6848cc48
-20200408
+20200409
 6848cc49
-20200408
+20200409
 6848cc4a
 18467cff
 20628000
 2020607f
-20400403
-20400405
-20200407
+20400404
+20400406
+20200408
 6fe0cbed
 c17f8000
 6fe14883
@@ -1045,7 +1046,7 @@
 6fe14ac2
 247a0000
 6fe44bab
-c2820425
+c2820426
 704c9b00
 6fe14ab2
 207a0000
@@ -1054,7 +1055,7 @@
 98460400
 6fe14bee
 98467e00
-20210423
+20210424
 6848cbed
 20206065
 6848cbed
@@ -1062,9 +1063,9 @@
 6fe0cc9b
 247a0000
 704c9b01
-20200421
+20200422
 da604ba8
-da40042c
+da40042d
 2020318a
 6fe0c927
 c001c8f2
@@ -1078,8 +1079,8 @@
 6848c992
 18408402
 18467c03
-2041043b
-2441043f
+2041043c
+24410440
 202048ff
 6fe44bab
 c40e0000
@@ -1088,11 +1089,11 @@
 184085fd
 20600000
 6fe0c938
-c0000447
+c0000448
 6fe44bab
 c41a8000
 6848cbca
-2020044a
+2020044b
 6fe44bab
 c4190000
 6848cbcb
@@ -1101,9 +1102,9 @@
 1fe17e07
 6848cb9d
 98467c00
-20228451
+20228452
 202044eb
-20400456
+20400457
 6fe0cb9f
 c1008000
 704b9f01
@@ -1117,14 +1118,14 @@
 da40436c
 2020318a
 da604ab2
-da400461
+da400462
 20203191
 6fe0c938
 c00002fd
 2020431b
-204003d3
-20400521
-20400421
+204003d4
+20400539
+20400422
 6fe1478c
 2feffe0b
 2040c581
@@ -1135,9 +1136,9 @@
 67e14af2
 20404314
 6fe1478c
-c285847a
+c285847b
 6fe44bab
-c304047a
+c304047b
 68494997
 18408401
 60494997
@@ -1159,11 +1160,11 @@
 d8e00002
 204046f0
 204046e4
-2040048b
+2040048c
 20600000
 6fe0c938
-c000848f
-c0010490
+c0008490
+c0010491
 20600000
 202078c4
 202043df
@@ -1180,7 +1181,7 @@
 67e0c5f5
 1fe1040f
 1ff1fe00
-c00484a0
+c00484a1
 20204d93
 da200001
 20404dc0
@@ -1199,7 +1200,7 @@
 6fe08049
 207a0000
 c283d730
-c00384b3
+c00384b4
 20205701
 2040585d
 70007378
@@ -1217,27 +1218,27 @@
 20400e80
 20201661
 efe10006
-c00204c5
+c00204c6
 202019e4
 efe18006
 67e1c436
-c00504ca
-c00904d9
+c00504cb
+c00904da
 20201cd3
 6fe44bab
 c31d9de7
 20401e8d
 68494437
 6fe0c3c0
-c28184d4
+c28184d5
 6fe14437
 c0181ec8
 68494437
 20201deb
 6fe143d1
 98467c00
-242284d0
-243404d0
+242284d1
+243404d1
 20201e10
 18c22200
 6fe143d4
@@ -1270,18 +1271,41 @@
 78547c00
 58000000
 67e348d1
-20404240
+20400505
 2040408e
 20403f7e
 20403f83
-20400528
+20400540
 6fe0c8d0
 1fe17e1f
 67e0c8d0
-24340507
-20400504
-2040050c
+2434051f
+2040051c
+20400524
 20204544
+6fe0c4ac
+c1800000
+6fe0c927
+c003850a
+20204243
+204042c4
+78547c00
+6fe0c911
+c07f8511
+6848c911
+20406059
+24608000
+58000000
+20405b0d
+c0984266
+58000002
+20405b0d
+c3038518
+2020051b
+c281851b
+c282051b
+20600000
+20204259
 704c9800
 704c9900
 20600000
@@ -1295,17 +1319,17 @@
 2020471a
 20403f65
 6fe0c927
-c0058516
+c005852e
 20404232
 da604aa3
 2040422b
 2020408e
-2040051d
+20400535
 da604be3
 2040422b
 2020408e
 6fe0c927
-c005851d
+c0058535
 20204232
 58009706
 20405b0c
@@ -1314,33 +1338,35 @@
 204041a7
 20403f65
 6fe0c927
-c0058526
+c005853e
 2020423e
 58001f06
 20205b0c
-2040052a
+20400542
 202040dd
 6fe0cbe1
 245a4121
 da200000
-20400533
-20400538
-2040053d
-20400542
-2040054f
-2020411e
-6fe0c918
+2040054d
+20400552
+20400557
 2040055c
+20400569
+2040057b
+1a227e00
+20600000
+6fe0c918
+2040058e
 20404124
 6848c918
 20203f56
 6fe0c919
-2040055c
+2040058e
 2040412a
 6848c919
 20203f56
 6fe0c91a
-2040055c
+2040058e
 20404130
 6848c91a
 20203f56
@@ -1351,10 +1377,10 @@
 1fe22600
 6848c90d
 6fe0c910
-c07f854b
+c07f8565
 2020413e
 6fe0c90d
-2040055f
+20400591
 6848c90d
 2020414b
 6fe0c90e
@@ -1364,12 +1390,36 @@
 1fe22600
 6848c90e
 6fe0c910
-c07f8558
+c07f8572
 20204157
 6fe0c90e
-2040055f
+20400591
 6848c90e
 20204164
+6fe0c912
+c17f8000
+c4038000
+704cc601
+20600000
+6fe0ccc6
+203a416a
+704b8b00
+6fe44bab
+c40a8000
+6fe0c912
+793ffe07
+67e0c912
+704b9607
+6fe0cb95
+1fe22600
+6fe0c912
+20400591
+6848c912
+20404195
+67e0cb95
+20404174
+6848c912
+20203f56
 c17f8000
 d840003f
 20206093
@@ -1378,13 +1428,13 @@
 20206093
 20404990
 20407936
-20400571
-20400583
-20400568
+204005a3
+204005b5
+2040059a
 20204650
 6fe44bab
-c294856c
-c29b856c
+c294859e
+c29b859e
 20600000
 6fe1478c
 c2830206
@@ -1396,46 +1446,46 @@
 da200000
 704b9605
 6848c90f
-20400578
+204005aa
 2020402f
 6fe44bab
 c2964048
 6fe0cb93
 1fe22600
 6fe0c910
-c07f857f
+c07f85b1
 2020403f
 6fe0c90f
-2040055f
+20400591
 6848c90f
 20204195
 6fe44bab
 c41e8000
 6fe0cc3a
-243a058c
+243a05be
 6fe0cc3b
-2040055c
-20400597
+2040058e
+204005c9
 6848cc3b
 20203f56
 6fe0cc3b
 793ffe07
 67e0cc3b
-2040055f
+20400591
 704c3f00
 6848cc3b
 6fe0cc3c
-204005b0
-2040059b
+204005e2
+204005cd
 6848cc3b
 20203f56
 704c3f00
 6848cc3b
 6fe0cc3c
-204005a6
+204005d8
 67e0cc3c
 6fe0cc3e
-203a05a2
+203a05d4
 6fe0cc3d
 c1008000
 704c3d01
@@ -1451,8 +1501,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385bb
-c00005bd
+c00385ed
+c00005ef
 20600000
 1fe3fe00
 1fe22400
@@ -1462,8 +1512,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385bb
-c00005bd
+c00385ed
+c00005ef
 20600000
 704c3e01
 20600000
@@ -1474,7 +1524,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e85cb
+c29e85fd
 18427e00
 1fe0fe01
 1fe17e03
@@ -1482,40 +1532,40 @@
 20404095
 202045ee
 6fe0cc3e
-243a05e8
+243a061a
 6fe44bab
-c28e05dc
+c28e060e
 18427e00
 c1008000
-c00005d8
-c00105d6
+c000060a
+c0010608
 20600000
 58000002
-202005c8
+202005fa
 58000000
-202005c8
+202005fa
 58000001
-202005c8
+202005fa
 58000003
-202005c8
+202005fa
 18427e00
 c1008000
-c00005d8
-c00105da
-c00185d6
+c000060a
+c001060c
+c0018608
 20600000
 18427e00
 c1010000
-c00005da
-c00085d6
-c00185d4
+c000060c
+c0008608
+c0018606
 20600000
 6fe44bab
-c28e05e2
+c28e0614
 18427e00
 c1010000
-c00005d4
-c00085d6
+c0000606
+c0008608
 20600000
 6fe1478c
 c3858000
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/sched.rom	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/sched.rom	(working copy)
@@ -483,6 +483,14 @@
 09 00
 ff ff
 
+mem_sensor_p6520_init:
+05 b9
+09 5a
+0b 72
+0c 52
+09 00
+ff ff
+
 #mem_sensor_8650_init:
 #09 5a
 #ff 27
Index: program/app_mouse.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/program/app_mouse.prog	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/program/app_mouse.prog	(working copy)
@@ -1980,6 +1980,7 @@
 	fetch 1,mem_mouse_customerkey_press_status
 	call mouse_check_key_connect_gnd
 	store 1,mem_mouse_customerkey_press_status
+mouse_check_customerkey_state:
 	copy rega,pdata
 	bbit1 MOUSE_CUSTOMER_KEY,mouse_customerkey_press
 	call mouse_customerkey_release
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/program/patch.prog	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/program/patch.prog	(working copy)
@@ -6,6 +6,7 @@
 define SELECT_ANGLE
 // define IO1LED
 // define BT_2MODE_2CHANNEL
+define customerkey
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
 	beq patch00_3,p_main_loop
@@ -1298,6 +1299,9 @@
 p_mouse_bb_event_timer:
 	call mouse_adc_read
 	call p_mouse_low_power_timer
+ifdef customerkey
+	call p_mouse_customer_key_connect_vin
+endif
 	//24g
 	call g24_pair_timeout_timer
 	call g24_reconn_timeout_timer
@@ -1833,7 +1837,8 @@
 	disable user
 	setarg 0
 	store 6,mem_mouse_x
-	call mouse_check_sensor_data
+	// call mouse_check_sensor_data
+	call p_mouse_check_sensor_data
 	call mouse_dpi_config
 	call mouse_zwheel
 	call mouse_t_zwheel
@@ -1846,6 +1851,44 @@
 	call p_mouse_drawing_optima
 	branch mouse_no_data_timer_init
 
+p_mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	// beq P3205,mouse_p32xx_sensor_motion
+	// beq P3065,mouse_p32xx_sensor_motion
+	// beq KA8,mouse_p32xx_sensor_motion
+	// beq P3204,mouse_p32xx_sensor_motion
+	// beq P3212,mouse_p3212_sensor_motion
+	// beq P3065_xy,mouse_p32xx_sensor_motion
+	// beq P8009,mouse_p8009_sensor_motion	
+	// beq KA8G2,mouse_pka8g2_sensor_motion
+	beq P6520,p_mouse_p32xx_sensor_motion
+	branch mouse_check_sensor_data+3
+p_mouse_p32xx_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,p_mouse_p32xx_sensor_motion_2
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+p_mouse_p32xx_sensor_motion_2:
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne P32XX_ID1,mouse_p3065_judge   
+p_mouse_p32xx_sensor_motion_3:
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	bbit0 7,p_mouse_p32xx_sensor_overflow_check//鍒ゆ柇鏁版嵁婧㈠嚭
+	branch p_mouse_p32xx_sensor_motion_1
+p_mouse_p32xx_sensor_overflow_check:
+	bbit1 3,p_mouse_p32xx_sensor_motion_1
+	bbit1 4,p_mouse_p32xx_sensor_motion_1
+	rtn
+p_mouse_p32xx_sensor_motion_1:
+	branch mouse_p32xx_sensor_motion_1+3		
+
 p_mouse_work_state_flag:
 	jam 0,mem_low_power_led_flag
 	jam 0,mem_24g_low_power_stop_blink
@@ -1924,7 +1967,14 @@
 ifdef FIRE_KEY	
 	call p_mouse_check_firekey_gpio
 endif
+ifdef customerkey
+p_mouse_check_key_gpio_next:
+	call p_mouse_check_customerkey_gpio
+	copy rega,pdata
+	rtn
+else
 	branch mouse_check_key_gpio_next
+endif
 
 p_mouse_check_lkey_gpio:
 	fetch 1,mem_lbutton_gpio
@@ -1977,6 +2027,38 @@
 	fetcht 1,mem_fw_button_gpio
 	branch mouse_3io6key_fw_check
 
+ifdef customerkey
+p_mouse_customer_key_connect_vin:
+	fetch 1,mem_customer_key_gpio
+	rtneq GPIO_DISABLE
+	rtnbit0 7
+	jam 1,mem_mouse_customer_key_connect_vin_flag
+	rtn
+p_mouse_check_customerkey_gpio:
+	fetch 1,mem_mouse_customer_key_connect_vin_flag
+	branch mouse_check_customerkey_gpio,blank
+	jam 0,mem_customer_key
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_KEYBOARD
+	
+	fetch 1,mem_customer_key_gpio
+	set0 gpio_active_bit,pdata
+	store 1,mem_customer_key_gpio
+
+	jam MOUSE_CUSTOMER_KEY,mem_mouse_key_temp
+	fetch 1,mem_mouse_customerkey_press_status
+	copy pdata,regc
+p_mouse_3io6key_customerkey_check:
+	fetch 1,mem_customer_key_gpio
+	call p_mouse_gpio_config_output_low
+	fetcht 1,mem_customer_key_gpio
+	call mouse_3io6key_check
+	store 1,mem_mouse_customerkey_press_status
+	call mouse_check_customerkey_state
+	fetcht 1,mem_customer_key_gpio
+	branch mouse_gpio_config_input_pu
+endif
+
 //input:pdata gpio number
 p_mouse_gpio_config_output_high:
 	rtneq GPIO_DISABLE
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/sched/mouse.dat	(revision 4158)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/sched/mouse.dat	(working copy)
@@ -416,6 +416,14 @@
 09 00
 ff ff
 
+mem_sensor_p6520_init:
+05 b9
+09 5a
+0b 72
+0c 52
+09 00
+ff ff
+
 #mem_sensor_8650_init:
 #09 5a
 #ff 27
