Index: format/app_shutter.format
===================================================================
--- /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/format/app_shutter.format	(revision 1942)
+++ /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/format/app_shutter.format	(working copy)
@@ -334,9 +334,9 @@
 
 5 mem_shutter_aheadback_cam_key //前后摄像头切换
 5 mem_shutter_vcr_modestep_key  //拍照录像键值切换
-10 mem_shutter_fouseon_key       //调焦放大
-10 mem_shutter_fousedown_key     //调焦缩小
-5 mem_shutter_like_key          //点击
+13 mem_shutter_fouseon_key       //调焦放大
+12 mem_shutter_fousedown_key     //调焦缩小
+// 5 mem_shutter_like_key          //点击
 15 mem_shutter_move_up          //上个视频
 15 mem_shutter_move_down        //下个视频
 
@@ -423,10 +423,21 @@
 10 mem_key_ios_abcam_release
 
 15 mem_shutter_fouseon_key_loop
-15 mem_shutter_fouse_down_key_loop
-
+15 mem_shutter_fousedown_key_loop
 3 mem_shutter_dy_mode_step
 1 mem_shutter_dy_mode_step_time
+1 mem_shutter_key_evt_timer_count
+4 mem_shutter_key_evt_btclk
+
+1 mem_shutter_dy_fouse_time
+1 mem_shutter_fouse_select
+1 mem_shutter_dy_fouse_count
+
+3 mem_shutter_fouseon_key_loop_release
+3 mem_shutter_fousedown_key_loop_release
+
+8 mem_shutter_aheadback_cam_key_new
+
 0 mem_shutter_end
 )
 
@@ -557,3 +568,8 @@
 4 KEY_STATE_RELEASE_CLK_LENGTH
 1 KEY_STATE_LONGPRESS_LENGTH
 )
+
+(
+1 FOUSEUP
+2 FOUSEDOWN
+)
Index: output/otp.dat
===================================================================
--- /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/output/otp.dat	(revision 1942)
+++ /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/output/otp.dat	(working copy)
@@ -2,8 +2,8 @@
 01
 aa
 55
-7a
-10
+7e
+12
 c2
 84
 00
@@ -23,7 +23,7 @@
 c0
 72
 00
-89
+8a
 20
 20
 13
@@ -34,16 +34,16 @@
 00
 c0
 17
-03
-99
+04
+1a
 c0
 19
 02
-6e
+e9
 c0
 5d
-82
-f7
+83
+72
 20
 20
 13
@@ -143,15 +143,15 @@
 20
 40
 01
-59
+c5
 20
 40
 01
-5d
+c9
 20
 40
 01
-61
+cd
 20
 40
 00
@@ -327,7 +327,7 @@
 20
 20
 00
-85
+86
 6f
 e2
 d2
@@ -371,15 +371,15 @@
 20
 40
 01
-5d
+c9
 20
 40
 01
-59
+c5
 20
 40
 01
-61
+cd
 20
 60
 00
@@ -520,6 +520,10 @@
 40
 6d
 29
+70
+40
+99
+00
 6f
 e1
 47
@@ -591,7 +595,7 @@
 58
 00
 00
-df
+e0
 67
 e1
 44
@@ -599,31 +603,31 @@
 58
 00
 01
-89
+f5
 67
 e1
 44
 6a
 58
 00
-02
-df
+03
+5a
 67
 e1
 44
 6e
 58
 00
-00
-fb
+01
+73
 67
 e1
 44
 72
 58
 00
-01
-df
+02
+4b
 67
 e1
 47
@@ -631,7 +635,7 @@
 58
 00
 00
-d0
+d1
 67
 e1
 47
@@ -639,7 +643,7 @@
 58
 00
 00
-d1
+d2
 67
 e1
 47
@@ -647,7 +651,7 @@
 58
 00
 00
-ae
+af
 67
 e1
 44
@@ -667,15 +671,15 @@
 c0
 00
 00
-ab
+ac
 6f
 e0
 d3
 8d
 c0
 00
-81
-9c
+82
+08
 6f
 e0
 c7
@@ -687,7 +691,7 @@
 20
 20
 00
-c4
+c5
 70
 47
 97
@@ -699,7 +703,7 @@
 20
 20
 00
-d3
+d4
 70
 47
 97
@@ -711,7 +715,7 @@
 20
 40
 00
-b2
+b3
 20
 20
 6d
@@ -751,7 +755,7 @@
 20
 22
 80
-bf
+c0
 1f
 e6
 7c
@@ -759,7 +763,7 @@
 20
 22
 80
-bf
+c0
 1f
 e2
 04
@@ -767,7 +771,7 @@
 20
 40
 00
-c2
+c3
 1a
 20
 a2
@@ -775,7 +779,7 @@
 c2
 00
 00
-b7
+b8
 20
 60
 00
@@ -815,7 +819,7 @@
 20
 3a
 00
-cd
+ce
 6f
 e0
 89
@@ -839,7 +843,7 @@
 20
 20
 00
-d3
+d4
 70
 53
 9c
@@ -898,164 +902,612 @@
 4c
 20
 40
-00
-e1
-20
+01
+59
 20
+40
 60
 96
-6f
-e1
-47
-93
-c2
-84
-80
-e6
-d8
-a0
-49
-04
-df
 20
-00
-23
-20
-20
-7c
-68
 20
-40
-1b
-05
-24
-7a
-00
 00
+e3
+da
 20
-40
-78
-bb
-20
-7a
 00
 00
 68
 4a
-4c
-ff
+54
+27
 1c
 42
+24
+00
+1a
+42
 7e
 00
 98
 46
-04
-00
-20
-62
-80
+7c
 00
 24
-21
+41
+77
+82
+1a
+42
+7e
 00
-f2
-6f
-e0
-cc
-fe
+18
+40
+84
+40
 98
 46
 7c
 00
+24
+21
+00
+f5
+1a
 20
-61
+a2
+01
+1a
+21
+7e
+0f
+24
+3a
+00
+e9
+da
+20
+00
 00
+20
+40
 00
+fa
 1c
 42
 7e
 00
 67
 e2
-4c
-ff
+54
+27
+20
+60
+00
+00
+1a
+22
+7e
+00
 20
+7a
+00
+00
+18
 40
+85
+c0
+79
+3f
+84
+1c
+60
 4a
-ed
-24
-74
+54
+27
+67
+e0
+d4
+26
+6f
+e0
+d4
+26
+20
+7a
 00
 00
 1f
 e0
 ff
 ff
-1f
-ef
-fe
-0d
-d8
-40
-4f
-1b
-98
-40
-8c
-00
-20
-20
-4b
-37
-20
-40
-01
-02
-20
-40
-03
-65
+67
+e0
+d4
+26
 20
 40
 01
-39
-20
-40
 01
-63
-20
-40
-4a
-7c
-20
-40
-4a
-6a
 20
 20
-4a
-71
+00
+fb
 da
 60
 54
-25
+2b
 da
 40
 01
-05
+04
 20
 20
 31
 cf
-da
-60
-54
-22
+6f
+e0
+d4
+2c
+c0
+00
+81
+08
+c0
+01
+01
+2b
+20
+60
+00
+00
+20
+40
+03
+b1
+24
+3a
+01
+17
+70
+4c
+fe
+01
+70
+54
+2b
+01
+6f
+e0
+d4
+2d
+1f
+e0
+fe
+01
+67
+e0
+d4
+2d
+1f
+e6
+7c
+5a
+20
+42
+81
+23
+da
+60
+54
+04
+20
+40
+01
+4e
+ef
+e1
+00
+3f
+1f
+e0
+fe
+0a
+e7
+e1
+00
+11
+20
+20
+4a
+d9
+20
+40
+01
+56
+6f
+e0
+d4
+2d
+1f
+e0
+fe
+01
+67
+e0
+d4
+2d
+1f
+e6
+7c
+5a
+20
+42
+81
+23
+da
+60
+54
+04
+20
+40
+01
+4e
+ef
+e1
+00
+3f
+1f
+e0
+fe
+0a
+e7
+e1
+00
+11
+20
 20
+4a
+d9
+70
+54
+2d
+00
+da
+60
+54
+2e
 20
+40
 4a
 d9
+da
+60
+54
+04
+20
+40
+01
+4e
+58
+00
+06
+50
+e7
+e1
+00
+11
+20
+60
+00
+00
+20
+40
+03
+b1
+24
+3a
+01
+3a
+70
+4c
+fe
+01
+70
+54
+2b
+01
+6f
+e0
+d4
+2d
+1f
+e0
+fe
+01
+67
+e0
+d4
+2d
+1f
+e6
+7c
+3c
+20
+42
+81
+46
+da
+60
+54
+13
+20
+40
+01
+4e
+ef
+e1
+00
+3f
+1f
+e0
+ff
+f6
+e7
+e1
+00
+11
+20
+20
+4a
+d9
+20
+40
+01
+56
+6f
+e0
+d4
+2d
+1f
+e0
+fe
+01
+67
+e0
+d4
+2d
+1f
+e6
+7c
+3c
+20
+42
+81
+46
+da
+60
+54
+13
+20
+40
+01
+4e
+ef
+e1
+00
+3f
+1f
+e0
+ff
+f6
+e7
+e1
+00
+11
+20
+20
+4a
+d9
+70
+54
+2d
+00
+da
+60
+54
+31
+20
+40
+4a
+d9
+da
+60
+54
+13
+20
+40
+01
+4e
+58
+00
+07
+00
+e7
+e1
+00
+11
+20
+60
+00
+00
+d8
+40
+4f
+1b
+ef
+e0
+80
+13
+1f
+e0
+ff
+ff
+1f
+ef
+fe
+0d
+98
+40
+fe
+00
+1f
+e0
+fe
+06
+1f
+e2
+22
+00
+20
+60
+00
+00
+70
+4c
+fe
+01
+70
+54
+2b
+02
+20
+60
+00
+00
+6f
+e1
+47
+93
+c2
+84
+81
+5e
+d8
+a0
+49
+04
+df
+20
+00
+23
+20
+20
+7c
+68
+20
+40
+1b
+05
+24
+7a
+00
+00
+20
+40
+78
+bb
+20
+7a
+00
+00
+68
+4a
+4c
+ff
+1c
+42
+7e
+00
+98
+46
+04
+00
+20
+62
+80
+00
+24
+21
+01
+6a
+6f
+e0
+cc
+fe
+98
+46
+7c
+00
+20
+61
+00
+00
+1c
+42
+7e
+00
+67
+e2
+4c
+ff
+20
+40
+4a
+ed
+24
+74
+00
+00
+1f
+e0
+ff
+ff
+1f
+ef
+fe
+0d
+d8
+40
+4f
+1b
+98
+40
+8c
+00
+20
+20
+4b
+37
+20
+40
+01
+aa
+20
+40
+01
+cf
+20
+40
+4a
+7c
+20
+40
+4a
+6a
+20
+20
+4a
+71
 6f
 e0
 d3
@@ -1079,7 +1531,7 @@
 da
 40
 01
-0e
+7f
 20
 20
 31
@@ -1103,11 +1555,11 @@
 c0
 00
 01
-61
+cd
 c0
 00
 81
-5f
+cb
 20
 60
 00
@@ -1119,7 +1571,7 @@
 da
 40
 01
-18
+89
 20
 20
 31
@@ -1163,15 +1615,15 @@
 20
 40
 01
-59
+c5
 20
 40
 01
-5d
+c9
 20
 40
 01
-61
+cd
 20
 40
 4a
@@ -1187,7 +1639,7 @@
 da
 40
 01
-29
+9a
 20
 20
 31
@@ -1207,7 +1659,7 @@
 20
 3a
 01
-32
+a3
 6f
 e0
 c9
@@ -1227,7 +1679,7 @@
 20
 20
 01
-32
+a3
 6f
 e0
 d3
@@ -1263,7 +1715,7 @@
 da
 40
 01
-3c
+ad
 20
 20
 31
@@ -1275,15 +1727,11 @@
 c0
 00
 82
-4c
+b8
 c0
 01
 01
-46
-c0
-01
-81
-42
+b2
 70
 53
 7e
@@ -1296,34 +1744,18 @@
 53
 7e
 00
-70
-54
-25
-02
-da
-60
-54
-22
-20
-20
-4a
-d9
-70
-53
-7e
-00
 20
 40
 03
-36
+b1
 24
 3a
 02
-4a
+b6
 da
 60
-53
-36
+54
+34
 20
 20
 4a
@@ -1347,7 +1779,7 @@
 da
 40
 01
-51
+bd
 20
 20
 31
@@ -1359,11 +1791,11 @@
 c0
 00
 01
-55
+c1
 c0
 00
 81
-56
+c2
 20
 60
 00
@@ -1371,11 +1803,11 @@
 20
 20
 01
-59
+c5
 20
 20
 01
-5d
+c9
 68
 48
 d3
@@ -1431,7 +1863,7 @@
 da
 40
 01
-66
+d2
 20
 20
 31
@@ -1455,7 +1887,7 @@
 20
 40
 03
-36
+b1
 20
 7a
 00
@@ -1479,7 +1911,7 @@
 20
 20
 81
-7c
+e8
 18
 e2
 7e
@@ -1491,7 +1923,7 @@
 20
 20
 81
-7e
+ea
 18
 e2
 7e
@@ -1503,7 +1935,7 @@
 20
 20
 81
-80
+ec
 20
 60
 00
@@ -1519,7 +1951,7 @@
 20
 20
 81
-82
+ee
 20
 60
 00
@@ -1559,7 +1991,7 @@
 da
 40
 01
-86
+f2
 20
 20
 31
@@ -1582,36 +2014,36 @@
 00
 c0
 0a
-01
-c6
+02
+32
 c0
 0a
-81
-c2
+82
+2e
 c0
 20
-01
-b6
+02
+22
 c0
 16
 01
-93
+ff
 c0
 08
-01
-98
+02
+04
 c0
 16
-81
-b5
+82
+21
 c1
 20
 00
 00
 c0
 19
-01
-d3
+02
+3f
 20
 20
 4a
@@ -1646,8 +2078,8 @@
 02
 c0
 00
-81
-a7
+82
+13
 70
 53
 9a
@@ -1666,8 +2098,8 @@
 e7
 c0
 00
-81
-a4
+82
+10
 6f
 e0
 d3
@@ -1747,7 +2179,7 @@
 20
 3a
 01
-32
+a3
 20
 20
 7d
@@ -1775,11 +2207,11 @@
 20
 40
 03
-36
+b1
 24
 3a
-01
-bf
+02
+2b
 6f
 e4
 53
@@ -1851,11 +2283,11 @@
 20
 40
 01
-59
+c5
 20
 20
 01
-5d
+c9
 6f
 e0
 d3
@@ -1863,19 +2295,19 @@
 c0
 00
 01
-57
+c3
 c0
 00
 81
-5b
+c7
 20
 60
 00
 00
 20
 20
-02
-ea
+03
+65
 78
 56
 7c
@@ -1922,8 +2354,8 @@
 00
 20
 40
-01
-d4
+02
+40
 24
 76
 00
@@ -1935,7 +2367,7 @@
 20
 3a
 02
-20
+8c
 20
 40
 32
@@ -1947,7 +2379,7 @@
 24
 5a
 01
-5b
+c7
 70
 4f
 19
@@ -1959,15 +2391,15 @@
 20
 40
 02
-15
+81
 20
 40
 02
-61
+cd
 20
 21
-01
-dd
+02
+49
 18
 e2
 7e
@@ -1983,7 +2415,7 @@
 24
 42
 82
-14
+80
 18
 e2
 7e
@@ -1998,12 +2430,12 @@
 77
 c0
 00
-01
-f5
+02
+61
 c0
 00
 82
-0a
+76
 20
 60
 00
@@ -2014,8 +2446,8 @@
 00
 c0
 00
-81
-f8
+82
+64
 20
 60
 00
@@ -2023,7 +2455,7 @@
 20
 40
 03
-36
+b1
 20
 7a
 00
@@ -2043,11 +2475,11 @@
 20
 40
 03
-36
+b1
 24
 5a
 02
-00
+6c
 20
 20
 4a
@@ -2067,15 +2499,15 @@
 da
 60
 53
-4a
+4d
 20
 40
 03
-36
+b1
 24
 5a
 02
-07
+73
 20
 20
 4a
@@ -2087,7 +2519,7 @@
 da
 60
 53
-4a
+4d
 20
 60
 00
@@ -2099,7 +2531,7 @@
 c0
 00
 82
-0d
+79
 20
 60
 00
@@ -2111,11 +2543,11 @@
 20
 40
 03
-36
+b1
 24
 5a
 02
-11
+7d
 20
 20
 4a
@@ -2135,7 +2567,7 @@
 20
 20
 01
-6a
+d6
 df
 e0
 00
@@ -2235,7 +2667,7 @@
 24
 3a
 02
-66
+d2
 1a
 60
 a6
@@ -2263,19 +2695,19 @@
 20
 20
 02
-35
+a1
 20
 40
 02
-6b
+e6
 20
 40
 02
-61
+cd
 20
 21
-01
-dd
+02
+49
 6f
 e0
 d3
@@ -2283,11 +2715,11 @@
 c0
 00
 02
-3c
+a8
 c0
 00
 82
-4e
+ba
 20
 60
 00
@@ -2299,31 +2731,31 @@
 c0
 02
 02
-45
+b1
 c0
 01
 02
-41
+ad
 c0
 01
 82
-43
+af
 20
 60
 00
 00
 da
 60
-4e
-70
+53
+40
 20
 20
 4a
 d9
 da
 60
-4e
-bb
+53
+4d
 20
 20
 4a
@@ -2363,7 +2795,7 @@
 20
 20
 03
-45
+c0
 18
 e2
 7e
@@ -2371,15 +2803,15 @@
 c0
 01
 02
-53
+bf
 c0
 01
 82
-5a
+c6
 c0
 02
 02
-4c
+b8
 20
 60
 00
@@ -2391,11 +2823,11 @@
 20
 40
 03
-36
+b1
 24
 5a
 02
-57
+c3
 20
 20
 4a
@@ -2419,11 +2851,11 @@
 20
 40
 03
-36
+b1
 24
 5a
 02
-5e
+ca
 20
 20
 4a
@@ -2442,44 +2874,104 @@
 00
 20
 40
-78
-c3
-e8
-40
-80
-06
-98
-46
-7e
-00
-1f
-e6
-7c
-0a
+78
+c3
+e8
+40
+80
+06
+98
+46
+7e
+00
+1f
+e6
+7c
+0a
+20
+60
+00
+00
+70
+52
+6d
+01
+20
+40
+02
+e6
+18
+e2
+7e
+00
+c1
+02
+00
+00
+20
+40
+04
+17
+18
+e2
+7e
+00
+c0
+01
+02
+db
+c0
+01
+82
+df
+20
+60
+00
+00
+20
+40
+02
+e3
 20
-60
-00
-00
-70
-52
-6d
+40
 01
+23
+da
+60
+54
+2e
+20
+20
+4a
+d9
 20
 40
 02
-6b
-18
-e2
-7e
-00
-c1
-02
+e3
+20
+40
+01
+46
+da
+60
+54
+31
+20
+20
+4a
+d9
+70
+54
+2b
 00
+70
+54
+2c
 00
 20
-20
-03
-94
+60
+00
+00
 df
 20
 00
@@ -2502,8 +2994,8 @@
 cd
 20
 40
-02
-ae
+03
+29
 6f
 e1
 44
@@ -2554,8 +3046,8 @@
 66
 20
 40
-02
-a4
+03
+1f
 6f
 e1
 09
@@ -2574,8 +3066,8 @@
 00
 20
 40
-02
-8b
+03
+06
 6f
 e1
 09
@@ -2603,7 +3095,7 @@
 c2
 00
 02
-77
+f2
 20
 60
 00
@@ -2679,7 +3171,7 @@
 20
 40
 03
-59
+d4
 20
 60
 00
@@ -2687,7 +3179,7 @@
 20
 40
 01
-57
+c3
 70
 53
 78
@@ -2699,7 +3191,7 @@
 20
 40
 01
-5b
+c7
 70
 53
 78
@@ -2747,7 +3239,7 @@
 20
 20
 02
-32
+9e
 6f
 e1
 44
@@ -2850,24 +3342,24 @@
 00
 20
 22
-82
-ca
+83
+45
 18
 e0
 8e
 01
 20
 20
-02
-bf
+03
+3a
 67
 e1
 4d
 e8
 20
 20
-02
-d4
+03
+4f
 6f
 e1
 4d
@@ -2886,8 +3378,8 @@
 00
 20
 22
-82
-d7
+83
+52
 98
 46
 7c
@@ -2926,8 +3418,8 @@
 e8
 20
 40
-02
-d4
+03
+4f
 6f
 e0
 c7
@@ -2950,8 +3442,8 @@
 3a
 c0
 12
-02
-e2
+03
+5d
 20
 60
 00
@@ -2967,15 +3459,15 @@
 20
 40
 03
-36
+b1
 20
 40
 32
 68
 24
 3a
-01
-bf
+02
+2b
 6f
 e4
 53
@@ -3046,8 +3538,8 @@
 06
 c0
 02
-02
-fa
+03
+75
 20
 20
 19
@@ -3063,19 +3555,19 @@
 c0
 03
 83
-29
+a4
 c0
 00
 83
-2d
+a8
 c0
 05
 03
-19
+94
 c0
 06
 03
-01
+7c
 20
 20
 1c
@@ -3131,11 +3623,11 @@
 20
 40
 03
-36
+b1
 24
 3a
 03
-11
+8c
 6f
 e1
 4c
@@ -3143,7 +3635,7 @@
 20
 20
 03
-12
+8d
 6f
 e1
 4c
@@ -3187,7 +3679,7 @@
 c2
 81
 83
-1d
+98
 20
 20
 1d
@@ -3211,7 +3703,7 @@
 24
 34
 03
-23
+9e
 20
 20
 1d
@@ -3267,7 +3759,7 @@
 c0
 03
 03
-31
+ac
 20
 60
 00
@@ -3307,7 +3799,7 @@
 20
 40
 03
-36
+b1
 20
 7a
 00
@@ -3331,7 +3823,7 @@
 20
 40
 03
-36
+b1
 20
 7a
 00
@@ -3367,11 +3859,11 @@
 c0
 00
 03
-4d
+c8
 c0
 00
 83
-4b
+c6
 20
 60
 00
@@ -3379,7 +3871,7 @@
 20
 40
 03
-54
+cf
 20
 20
 4a
@@ -3387,7 +3879,7 @@
 20
 40
 03
-4f
+ca
 20
 20
 4a
@@ -3399,7 +3891,7 @@
 20
 40
 03
-36
+b1
 20
 7a
 00
@@ -3419,7 +3911,7 @@
 20
 40
 03
-36
+b1
 20
 7a
 00
@@ -3439,11 +3931,11 @@
 c0
 00
 03
-5d
+d8
 c0
 00
 83
-61
+e4
 20
 60
 00
@@ -3455,27 +3947,59 @@
 c0
 01
 03
-6f
+dc
 c0
 01
 83
-7d
+e0
 20
 60
 00
 00
+70
+54
+2b
+02
+70
+54
+2c
+01
+da
+60
+53
+40
+20
+20
+4a
+d9
+70
+54
+2b
+02
+70
+54
+2c
+02
+da
+60
+53
+4d
+20
+20
+4a
+d9
 18
 e2
 7e
 00
 c0
 01
-03
-90
+04
+13
 c0
 01
-83
-8c
+84
+0f
 20
 60
 00
@@ -3487,7 +4011,7 @@
 da
 40
 03
-68
+eb
 20
 20
 31
@@ -3503,23 +4027,23 @@
 20
 3a
 03
-6c
+ef
 20
 20
-03
-88
+04
+0b
 6f
 e0
 d3
 7a
 24
 3a
-03
-7d
+04
+00
 20
 20
 03
-6f
+f2
 70
 53
 7a
@@ -3539,11 +4063,11 @@
 20
 40
 03
-36
+b1
 24
 5a
 03
-76
+f9
 20
 20
 4a
@@ -3595,11 +4119,11 @@
 20
 40
 03
-36
+b1
 24
 5a
-03
-84
+04
+07
 20
 20
 4a
@@ -3626,12 +4150,12 @@
 17
 20
 3a
-03
-8c
+04
+0f
 20
 40
-03
-90
+04
+13
 20
 60
 00
@@ -3669,10 +4193,6 @@
 4a
 d9
 70
-53
-7a
-00
-70
 4f
 17
 00
@@ -3680,10 +4200,6 @@
 53
 23
 00
-70
-53
-ef
-00
 20
 60
 00
@@ -3730,12 +4246,12 @@
 00
 20
 40
-03
-a5
+04
+26
 20
 20
-03
-ab
+04
+2c
 6f
 e0
 d3
@@ -3782,8 +4298,8 @@
 b9
 20
 40
-03
-e3
+04
+64
 6f
 e0
 d3
@@ -3798,24 +4314,24 @@
 ad
 20
 40
-03
-c2
+04
+43
 6f
 e0
 c4
 a9
 c3
 00
-03
-bc
+04
+3d
 70
 53
 a5
 01
 20
 20
-03
-b9
+04
+3a
 70
 53
 a8
@@ -3851,7 +4367,7 @@
 20
 20
 01
-61
+cd
 ef
 e4
 00
@@ -3862,8 +4378,8 @@
 5c
 20
 20
-03
-c5
+04
+46
 20
 40
 60
@@ -3914,8 +4430,8 @@
 00
 20
 21
-03
-df
+04
+60
 68
 49
 09
@@ -3926,12 +4442,12 @@
 00
 24
 21
-03
-e1
+04
+62
 20
 3a
-03
-e1
+04
+62
 1f
 ef
 a2
@@ -4038,12 +4554,12 @@
 00
 20
 40
-03
-f6
+04
+77
 20
 40
 04
-13
+94
 67
 e1
 53
@@ -4086,8 +4602,8 @@
 12
 20
 20
-03
-fd
+04
+7e
 1f
 20
 f3
@@ -4131,7 +4647,7 @@
 20
 40
 04
-0d
+8e
 18
 c0
 8d
@@ -4143,11 +4659,11 @@
 20
 21
 04
-03
+84
 c2
 00
 04
-00
+81
 20
 60
 00
@@ -4155,7 +4671,7 @@
 20
 41
 04
-0f
+90
 20
 60
 00
@@ -4203,7 +4719,7 @@
 c2
 00
 04
-17
+98
 1f
 e6
 fc
@@ -4220,8 +4736,8 @@
 60
 00
 00
-96
-9d
+9a
+49
 aa
 55
 40
@@ -4312,7 +4828,7 @@
 00
 7d
 43
-4c
+13
 4f
 2a
 98
@@ -4544,24 +5060,18 @@
 00
 aa
 55
-04
+01
 00
 e3
 53
-0a
-4c
-4c
-0b
+00
 aa
 55
-04
+01
 00
 e9
 53
-0a
-4d
-4d
-0b
+00
 aa
 55
 01
@@ -4571,20 +5081,11 @@
 00
 aa
 55
-0a
+01
 00
 70
 4e
-01
-02
-03
-04
-05
-06
-07
-08
-09
-0a
+00
 aa
 55
 01
@@ -4686,20 +5187,11 @@
 00
 aa
 55
-0a
+01
 00
 bb
 4e
-0a
-09
-08
-07
-06
-05
-04
-03
-02
-01
+00
 aa
 55
 01
@@ -4720,9 +5212,9 @@
 00
 fa
 53
-0e
 0d
 0e
+00
 aa
 55
 01
@@ -4732,23 +5224,17 @@
 00
 aa
 55
-06
+01
 00
 ca
 4e
-0a
-20
-0b
-21
-0b
 00
 aa
 55
-02
+01
 00
 a3
 4d
-40
 00
 aa
 55
@@ -4759,28 +5245,17 @@
 00
 aa
 55
-0a
+01
 00
 49
 4d
-37
-38
-39
-3a
-3b
-3c
-3d
-3e
-3f
 00
 aa
 55
-03
+01
 00
 b2
 4d
-48
-09
 00
 aa
 55
@@ -4791,12 +5266,10 @@
 00
 aa
 55
-03
+01
 00
 58
 4d
-30
-40
 00
 aa
 55
@@ -4807,28 +5280,17 @@
 00
 aa
 55
-0a
+01
 00
 67
 4d
-34
-33
-32
-31
-30
-2f
-2e
-2d
-35
 00
 aa
 55
-03
+01
 00
 b8
 4d
-08
-09
 00
 aa
 55
@@ -4871,28 +5333,17 @@
 00
 aa
 55
-0a
+01
 00
 85
 4d
-2d
-2e
-2f
-30
-31
-32
-33
-34
-35
 00
 aa
 55
-03
+01
 00
 be
 4d
-07
-09
 00
 aa
 55
@@ -4910,43 +5361,34 @@
 00
 aa
 55
-0a
+01
 00
 94
 4d
-3d
-3c
-3b
-3a
-39
-38
-37
-36
-3f
 00
 aa
 55
-03
+01
 00
 c1
 4d
-46
-09
 00
 aa
 55
-05
+07
 00
-36
-53
-0c
+34
+54
+15
+16
 0b
 12
 0f
 0c
+00
 aa
 55
-14
+0a
 00
 40
 53
@@ -4960,6 +5402,12 @@
 08
 09
 0a
+aa
+55
+0a
+00
+4d
+53
 0a
 09
 08
@@ -4972,32 +5420,32 @@
 01
 aa
 55
-08
+01
 00
 04
 54
+19
+aa
+55
 01
-02
-03
-04
-05
-06
-07
-0a
+00
+2e
+54
+1a
 aa
 55
-08
+01
 00
 13
 54
-0a
-09
-08
-07
-06
-05
-04
+1b
+aa
+55
 01
+00
+31
+54
+1c
 aa
 55
 03
@@ -5016,141 +5464,141 @@
 01
 aa
 55
-04
+6c
 01
 1b
 4f
-10
+0a
 23
 00
 00
-f4
+00
+01
+00
 06
-20
-07
 04
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+00
 06
-60
-07
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
-06
-a0
-07
-87
-f4
+00
+01
+10
 06
-20
+87
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+20
 06
-f0
-07
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+30
 06
-20
-08
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+40
 06
-60
-08
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+50
 06
-a0
-08
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+60
 06
-f0
-08
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
-f4
+00
+01
+70
 06
-20
-09
 87
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 00
-f4
+00
+01
+70
 06
-60
-09
 04
-f4
-06
-20
+00
+01
+00
 03
-10
+0a
 23
 00
 83
@@ -5163,7 +5611,7 @@
 0d
 a1
 0d
-10
+0a
 23
 00
 00
@@ -5176,32 +5624,32 @@
 0d
 a1
 0d
-10
+0a
 23
 00
 83
-f4
-0d
-30
-0e
-92
-f4
-0d
-30
+00
 0e
 10
+0e
+87
+00
+0f
+50
+01
+0a
 23
 00
 00
-f4
-0d
-30
+00
 0e
-92
-f4
-0d
-30
+10
 0e
+04
+00
+0f
+50
+01
 02
 1b
 00
@@ -5254,7 +5702,7 @@
 00
 00
 00
-10
+0a
 23
 00
 83
@@ -5267,7 +5715,7 @@
 07
 30
 07
-10
+0a
 23
 00
 00
@@ -5280,6 +5728,110 @@
 07
 30
 07
+0a
+23
+00
+83
+00
+0f
+a0
+01
+87
+00
+0f
+a0
+01
+0a
+23
+00
+00
+00
+0f
+a0
+01
+04
+00
+0f
+a0
+01
+0a
+23
+00
+83
+d4
+0d
+a0
+0e
+87
+d4
+0d
+a0
+0e
+0a
+23
+00
+00
+d4
+0d
+a0
+0e
+04
+d4
+0d
+a0
+0e
+0a
+23
+00
+83
+00
+01
+50
+06
+87
+00
+01
+00
+03
+0a
+23
+00
+00
+00
+01
+50
+06
+00
+00
+01
+00
+03
+0a
+23
+00
+83
+00
+01
+00
+07
+87
+00
+01
+00
+03
+0a
+23
+00
+00
+00
+01
+00
+07
+00
+00
+01
+00
+03
 aa
 55
 03
@@ -6225,7 +6777,7 @@
 aa
 aa
 55
-90
-7e
-62
-4a
+52
+6b
+f6
+1c
Index: output/ramcode.rom
===================================================================
--- /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/output/ramcode.rom	(revision 1942)
+++ /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/output/ramcode.rom	(working copy)
@@ -2,12 +2,12 @@
 c001801f
 c045800b
 c056807f
-c0720089
+c072008a
 2020137c
 c17f8000
-c0170399
-c019026e
-c05d82f7
+c017041a
+c01902e9
+c05d8372
 2020137c
 708a8500
 708a7503
@@ -32,9 +32,9 @@
 20400021
 20200813
 c69a0000
-20400159
-2040015d
-20400161
+204001c5
+204001c9
+204001cd
 20400027
 20200045
 684a5390
@@ -78,7 +78,7 @@
 20201445
 793f8034
 70539a00
-20200085
+20200086
 6fe2d283
 67e2c7f1
 7047ee05
@@ -89,9 +89,9 @@
 67e3c9d1
 6fe3d300
 67e3c9dc
-2040015d
-20400159
-20400161
+204001c9
+204001c5
+204001cd
 20600000
 58001e1e
 67e147e8
@@ -127,6 +127,7 @@
 20600000
 2040000f
 20406d29
+70409900
 6fe14793
 c3848000
 c51a0074
@@ -144,37 +145,37 @@
 67e143d4
 6fe447d1
 67e447c9
-580000df
+580000e0
 67e14468
-58000189
+580001f5
 67e1446a
-580002df
+5800035a
 67e1446e
-580000fb
+58000173
 67e14472
-580001df
+5800024b
 67e147ef
-580000d0
-67e147ea
 580000d1
+67e147ea
+580000d2
 67e147ec
-580000ae
+580000af
 67e14460
 58004a83
 67e14462
 6fe0c7e5
-c00000ab
+c00000ac
 6fe0d38d
-c000819c
+c0008208
 6fe0c7e6
 67e0c797
-202000c4
+202000c5
 704797ff
 7047e701
-202000d3
+202000d4
 704797ff
 20405fc2
-204000b2
+204000b3
 20206d2d
 6fe0c9f8
 207a0000
@@ -184,13 +185,13 @@
 efe08011
 6848c9f9
 98467c00
-202280bf
+202280c0
 1fe67cff
-202280bf
+202280c0
 1fe20400
-204000c2
+204000c3
 1a20a201
-c20000b7
+c20000b8
 20600000
 79200407
 20205f74
@@ -200,13 +201,13 @@
 204076f1
 204076fb
 6fe0d325
-203a00cd
+203a00ce
 6fe08989
 c3014b25
 6fe14793
 c3860000
 2020325c
-202000d3
+202000d4
 70539c01
 20204b0a
 6fe147bf
@@ -221,10 +222,129 @@
 6fe14793
 c3858000
 2020324c
-204000e1
-20206096
+20400159
+20406096
+202000e3
+da200000
+684a5427
+1c422400
+1a427e00
+98467c00
+24417782
+1a427e00
+18408440
+98467c00
+242100f5
+1a20a201
+1a217e0f
+243a00e9
+da200000
+204000fa
+1c427e00
+67e25427
+20600000
+1a227e00
+207a0000
+184085c0
+793f841c
+604a5427
+67e0d426
+6fe0d426
+207a0000
+1fe0ffff
+67e0d426
+20400101
+202000fb
+da60542b
+da400104
+202031cf
+6fe0d42c
+c0008108
+c001012b
+20600000
+204003b1
+243a0117
+704cfe01
+70542b01
+6fe0d42d
+1fe0fe01
+67e0d42d
+1fe67c5a
+20428123
+da605404
+2040014e
+efe1003f
+1fe0fe0a
+e7e10011
+20204ad9
+20400156
+6fe0d42d
+1fe0fe01
+67e0d42d
+1fe67c5a
+20428123
+da605404
+2040014e
+efe1003f
+1fe0fe0a
+e7e10011
+20204ad9
+70542d00
+da60542e
+20404ad9
+da605404
+2040014e
+58000650
+e7e10011
+20600000
+204003b1
+243a013a
+704cfe01
+70542b01
+6fe0d42d
+1fe0fe01
+67e0d42d
+1fe67c3c
+20428146
+da605413
+2040014e
+efe1003f
+1fe0fff6
+e7e10011
+20204ad9
+20400156
+6fe0d42d
+1fe0fe01
+67e0d42d
+1fe67c3c
+20428146
+da605413
+2040014e
+efe1003f
+1fe0fff6
+e7e10011
+20204ad9
+70542d00
+da605431
+20404ad9
+da605413
+2040014e
+58000700
+e7e10011
+20600000
+d8404f1b
+efe08013
+1fe0ffff
+1feffe0d
+9840fe00
+1fe0fe06
+1fe22200
+20600000
+704cfe01
+70542b02
+20600000
 6fe14793
-c28480e6
+c284815e
 d8a04904
 df200023
 20207c68
@@ -236,7 +356,7 @@
 1c427e00
 98460400
 20628000
-242100f2
+2421016a
 6fe0ccfe
 98467c00
 20610000
@@ -249,34 +369,27 @@
 d8404f1b
 98408c00
 20204b37
-20400102
-20400365
-20400139
-20400163
+204001aa
+204001cf
 20404a7c
 20404a6a
 20204a71
-da605425
-da400105
-202031cf
-da605422
-20204ad9
 6fe0d3ac
 207a0000
 6fe0d3a8
 207a0000
 da6053aa
-da40010e
+da40017f
 202031cf
 7053aa0a
 6fe0d3ab
 79407e00
 67e0d3ab
-c0000161
-c000815f
+c00001cd
+c00081cb
 20600000
 da6047e3
-da400118
+da400189
 202031d6
 70539700
 70539e00
@@ -287,23 +400,23 @@
 70539f01
 7047e702
 70449100
-20400159
-2040015d
-20400161
+204001c5
+204001c9
+204001cd
 20404ab1
 20204b0e
 da6049f4
-da400129
+da40019a
 202031cf
 6fe14793
 c284cb0e
 6fe0c491
-203a0132
+203a01a3
 6fe0c9d1
 c000cb0e
 c0024b0e
 c002cb0e
-20200132
+202001a3
 6fe0d39c
 243a325c
 79200034
@@ -312,35 +425,30 @@
 793f8034
 2020325c
 da60537f
-da40013c
+da4001ad
 202031cf
 6fe0d37e
-c000824c
-c0010146
-c0018142
+c00082b8
+c00101b2
 70537e00
 20600000
 70537e00
-70542502
-da605422
-20204ad9
-70537e00
-20400336
-243a024a
-da605336
+204003b1
+243a02b6
+da605434
 20204ad9
 70537e00
 da60533b
 20204ad9
 da605378
-da400151
+da4001bd
 202031d6
 6fe0d377
-c0000155
-c0008156
+c00001c1
+c00081c2
 20600000
-20200159
-2020015d
+202001c5
+202001c9
 6848d37b
 20205f89
 6848d37b
@@ -354,29 +462,29 @@
 6848d37d
 20205f8d
 da60526e
-da400166
+da4001d2
 202031cf
 204078bb
 247a0000
 6fe14a09
 247a0000
-20400336
+204003b1
 207a0000
 6fe0d377
 207a0000
 18e27e00
 2fe10402
-2020817c
+202081e8
 18e27e00
 2fe10401
-2020817e
+202081ea
 18e27e00
 2fe10403
-20208180
+202081ec
 20600000
 18e27e00
 2fe10401
-20208182
+202081ee
 20600000
 da605272
 20204ad9
@@ -386,20 +494,20 @@
 20204ad9
 20600000
 da604f18
-da400186
+da4001f2
 202031cf
 df20000a
 d8a04d0d
 20207c68
 1a627e00
-c00a01c6
-c00a81c2
-c02001b6
-c0160193
-c0080198
-c01681b5
+c00a0232
+c00a822e
+c0200222
+c01601ff
+c0080204
+c0168221
 c1200000
-c01901d3
+c019023f
 20204a31
 6fe0c7e5
 c1000000
@@ -408,12 +516,12 @@
 20600000
 684944cf
 efe08002
-c00081a7
+c0008213
 70539a01
 70539801
 70539f00
 6fe0c7e7
-c00081a4
+c0008210
 6fe0d398
 793f8034
 70538d01
@@ -433,15 +541,15 @@
 20404b19
 18408c05
 efe10006
-203a0132
+203a01a3
 20207d47
 20204b1e
 6fe143de
 c1000000
 6fe447d1
 207a0000
-20400336
-243a01bf
+204003b1
+243a022b
 6fe45326
 67e44375
 20201ee5
@@ -459,13 +567,13 @@
 67e147bf
 7053ac01
 2020325a
-20400159
-2020015d
+204001c5
+202001c9
 6fe0d377
-c0000157
-c000815b
+c00001c3
+c00081c7
 20600000
-202002ea
+20200365
 78567c00
 6fe147e1
 67e147e3
@@ -477,60 +585,60 @@
 20600000
 70532400
 20600000
-204001d4
+20400240
 24760000
 1a227e00
-203a0220
+203a028c
 20403258
 6fe0d377
-245a015b
+245a01c7
 704f1901
 70538000
-20400215
-20400261
-202101dd
+20400281
+204002cd
+20210249
 18e27e00
 6848d324
 98467c00
-24428214
+24428280
 18e27e00
 67e0d324
 6fe0d377
-c00001f5
-c000820a
+c0000261
+c0008276
 20600000
 18e27e00
-c00081f8
+c0008264
 20600000
-20400336
+204003b1
 207a0000
 da6053f0
 20204ad9
 da605340
-20400336
-245a0200
+204003b1
+245a026c
 20204ad9
 704cfe14
 da605340
 20600000
-da60534a
-20400336
-245a0207
+da60534d
+204003b1
+245a0273
 20204ad9
 704cfe14
-da60534a
+da60534d
 20600000
 18e27e00
-c000820d
+c0008279
 20600000
 da604d58
-20400336
-245a0211
+204003b1
+245a027d
 20204ad9
 704cfe3c
 da604e3e
 20600000
-2020016a
+202001d6
 dfe0000a
 98effe00
 da604d03
@@ -555,29 +663,29 @@
 24417782
 1a608c09
 efe08006
-243a0266
+243a02d2
 1a60a605
 1c427e00
 e7e20013
 20600000
 1a608c04
 efe08006
-20200235
-2040026b
-20400261
-202101dd
+202002a1
+204002e6
+204002cd
+20210249
 6fe0d377
-c000023c
-c000824e
+c00002a8
+c00082ba
 20600000
 18e27e00
-c0020245
-c0010241
-c0018243
+c00202b1
+c00102ad
+c00182af
 20600000
-da604e70
+da605340
 20204ad9
-da604ebb
+da60534d
 20204ad9
 6fe0d37e
 1fe0fe01
@@ -587,22 +695,22 @@
 da6053fa
 20204ad9
 70537e00
-20200345
+202003c0
 18e27e00
-c0010253
-c001825a
-c002024c
+c00102bf
+c00182c6
+c00202b8
 20600000
 da604d85
-20400336
-245a0257
+204003b1
+245a02c3
 20204ad9
 704cfe3c
 da604eac
 20600000
 da604d67
-20400336
-245a025e
+204003b1
+245a02ca
 20204ad9
 704cfe3c
 da604e8e
@@ -613,16 +721,31 @@
 1fe67c0a
 20600000
 70526d01
-2040026b
+204002e6
 18e27e00
 c1020000
-20200394
+20400417
+18e27e00
+c00102db
+c00182df
+20600000
+204002e3
+20400123
+da60542e
+20204ad9
+204002e3
+20400146
+da605431
+20204ad9
+70542b00
+70542c00
+20600000
 df20000a
 1a620a00
 20207c68
 6fe14a09
 67e144cd
-204002ae
+20400329
 6fe144cd
 67e14a09
 d8e00000
@@ -635,19 +758,19 @@
 67e10978
 18e27e00
 67e10966
-204002a4
+2040031f
 6fe10978
 1fe22600
 6fe10966
 1fe20e00
-2040028b
+20400306
 6fe10966
 1fe08e01
 6fe10978
 1fe0a60a
 6fe10964
 1fe27200
-c2000277
+c20002f2
 20600000
 efe20013
 207a0000
@@ -666,12 +789,12 @@
 6fe0d26d
 207a0000
 70526d00
-20400359
+204003d4
 20600000
-20400157
+204001c3
 7053781e
 20600000
-2040015b
+204001c7
 7053781e
 20600000
 1a60a405
@@ -683,7 +806,7 @@
 24417782
 580003e8
 98467c00
-20200232
+2020029e
 6fe144cb
 efe0803f
 207a0000
@@ -709,16 +832,16 @@
 207a0000
 684909de
 9842fc00
-202282ca
+20228345
 18e08e01
-202002bf
+2020033a
 67e14de8
-202002d4
+2020034f
 6fe14de8
 207a0000
 684909de
 18467c00
-202282d7
+20228352
 98467c00
 20628000
 60494de8
@@ -728,19 +851,19 @@
 70526d01
 58000000
 67e14de8
-204002d4
+2040034f
 6fe0c7ee
 1feff20a
 d8a04d03
 20207c68
 6fe1443a
-c01202e2
+c012035d
 20600000
 20407870
 7047b801
-20400336
+204003b1
 20403268
-243a01bf
+243a022b
 6fe45326
 67e44375
 20201ee5
@@ -758,14 +881,14 @@
 d8c04ced
 20207c4c
 efe10006
-c00202fa
+c0020375
 20201971
 efe18006
 67e1c439
-c0038329
-c000832d
-c0050319
-c0060301
+c00383a4
+c00083a8
+c0050394
+c006037c
 20201c60
 efe10006
 67e109a2
@@ -779,10 +902,10 @@
 6fe143d4
 98467c00
 24229dac
-20400336
-243a0311
+204003b1
+243a038c
 6fe14ce9
-20200312
+2020038d
 6fe14ceb
 d8c04a0b
 9a267200
@@ -793,13 +916,13 @@
 20201db4
 6849443a
 6fe0c3c3
-c281831d
+c2818398
 20201d78
 6fe143d4
 98467c00
 24229d78
 20401e1a
-24340323
+2434039e
 20201d9d
 6fe143d4
 98467c00
@@ -813,7 +936,7 @@
 20600000
 18c08dfe
 efe08006
-c0030331
+c00303ac
 20600000
 70525901
 704cfd00
@@ -823,13 +946,13 @@
 6fe0ccfd
 20600000
 da6052b3
-20400336
+204003b1
 207a0000
 704cfe3c
 da604e34
 20600000
 da604d49
-20400336
+204003b1
 207a0000
 da604e70
 704cfe78
@@ -838,51 +961,59 @@
 6fe0cf17
 79407e00
 67e0cf17
-c000034d
-c000834b
+c00003c8
+c00083c6
 20600000
-20400354
+204003cf
 20204ad9
-2040034f
+204003ca
 20204ad9
 da604d76
-20400336
+204003b1
 207a0000
 da604e9d
 20600000
 da604f03
-20400336
+204003b1
 207a0000
 da604f0d
 20600000
 6fe0d377
-c000035d
-c0008361
+c00003d8
+c00083e4
 20600000
 18e27e00
-c001036f
-c001837d
+c00103dc
+c00183e0
 20600000
+70542b02
+70542c01
+da605340
+20204ad9
+70542b02
+70542c02
+da60534d
+20204ad9
 18e27e00
-c0010390
-c001838c
+c0010413
+c001840f
 20600000
 da605323
-da400368
+da4003eb
 202031cf
 70532304
 6fe0d377
-203a036c
-20200388
+203a03ef
+2020040b
 6fe0d37a
-243a037d
-2020036f
+243a0400
+202003f2
 70537a00
 70532301
 704cfe01
 da605404
-20400336
-245a0376
+204003b1
+245a03f9
 20204ad9
 704cfe3c
 70532302
@@ -895,16 +1026,16 @@
 70532301
 704cfe01
 da605413
-20400336
-245a0384
+204003b1
+245a0407
 20204ad9
 704cfe3c
 70532302
 da605413
 20600000
 6fe0cf17
-203a038c
-20400390
+203a040f
+20400413
 20600000
 704f1700
 70532304
@@ -914,10 +1045,8 @@
 70532304
 da604db8
 20204ad9
-70537a00
 704f1700
 70532300
-7053ef00
 20600000
 58001fe0
 58001fe2
@@ -929,8 +1058,8 @@
 20205fe8
 6fe0d3ac
 207a0000
-204003a5
-202003ab
+20400426
+2020042c
 6fe0d3a2
 1fe0fe01
 67e0d3a2
@@ -942,15 +1071,15 @@
 20405ff1
 20406024
 67e153b9
-204003e3
+20400464
 6fe0d3b7
 207a0000
 da2053ad
-204003c2
+20400443
 6fe0c4a9
-c30003bc
+c300043d
 7053a501
-202003b9
+2020043a
 7053a801
 7053aa0a
 20600000
@@ -959,10 +1088,10 @@
 6fe0d3a5
 207a0000
 7053a500
-20200161
+202001cd
 efe40011
 67e4095c
-202003c5
+20200446
 20406061
 20406059
 6fe10962
@@ -975,11 +1104,11 @@
 6fe10962
 6849095c
 98467c00
-202103df
+20210460
 6849095e
 98467e00
-242103e1
-203a03e1
+24210462
+203a0462
 1fefa264
 6fe1095c
 6849095e
@@ -1006,8 +1135,8 @@
 d840000a
 98467c00
 24610000
-204003f6
-20400413
+20400477
+20400494
 67e153b3
 7053b701
 7053b800
@@ -1018,7 +1147,7 @@
 20407ca1
 da4053cf
 df200012
-202003fd
+2020047e
 1f20f3ff
 1f227e00
 207a0000
@@ -1029,13 +1158,13 @@
 18c20a00
 e8410006
 98467c00
-2040040d
+2040048e
 18c08dfe
 1a20a3fe
-20210403
-c2000400
+20210484
+c2000481
 20600000
-2041040f
+20410490
 20600000
 18a08bfe
 e0410005
@@ -1047,7 +1176,7 @@
 dfe00000
 e8410006
 9840fe00
-c2000417
+c2000498
 1fe6fc08
 20407d31
 1807fe00
Index: output/sched.rom
===================================================================
--- /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/output/sched.rom	(revision 1942)
+++ /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/output/sched.rom	(working copy)
@@ -70,7 +70,7 @@
 #power on config
 mem_ui_button_gpio:ff
 
-mem_le_lap:4c 4f 2a 98 07 2a
+mem_le_lap:13 4f 2a 98 07 2a
 mem_le_name_len:
 'Selfie
 
@@ -138,7 +138,7 @@
 #hard_soft_switch config
 mem_shutter_hard_soft_switch_case_temp:01
 mem_shutter_soft_switch_button_gpio_temp:09
-# mem_shutter_soft_switch_button_gpio_temp:13
+# mem_shutter_soft_switch_button_gpio_temp:ff
 #100ms timer
 mem_shutter_ble_discovery_time_conf:
 70 17 #discovery_timeout
@@ -205,15 +205,15 @@
 12 12 14 0b 0b 00
 
 mem_ios_fouseup_loop_page:
-0a 4c 4c 0b
+00
 mem_ios_fousedown_loop_page:
-0a 4d 4d 0b
+00
 
 
 mem_key0_press_i:  #fouse up
 00
 mem_key0_release_new_i:
-01 02 03 04 05 06 07 08 09 0a
+00
 mem_key0_long_press_i:
 00
 
@@ -243,11 +243,10 @@
 0a 0f 0f 0f 0b 10 10 10
 
 
-
 mem_key5_press_i:#fouse down
 00
 mem_key5_release_new_i:
-0a 09 08 07 06 05 04 03 02 01
+00
 mem_key5_long_press_i:
 00
 
@@ -255,38 +254,37 @@
 mem_key_ios_abcam_press:
 00
 mem_key_ios_abcam_release:
-0e 0d 0e
+0d 0e 00
 
 
 mem_dy_key6_press:
 00
 mem_key6_release_new_i:#move
-0a 20 0b 21 0b 00
+00
 mem_key6_release_new:#move
-40 00
+00
 
 mem_dy_key0_press:  #right
 00
 mem_key0_release_new:
-37 38 39 3a 3b 3c 3d 3e 3f 00
+00
 mem_key0_long_press:
-48 09 00
+00
 
 mem_dy_key1_press:#like
 00
 mem_key1_release_new:
-30 40 00
+00
 
 mem_dy_key2_press: #down
 00
 mem_key2_release_new:
-34 33 32 31 30 2f 2e 2d 35 00
+00
 mem_key2_long_press:#volume decrement
-08 09 00
+00
 mem_key2_long_release:
 00
 
-
 #toggle between vol-inc and vol-dec
 mem_dy_key3_press:#photo
 00
@@ -295,39 +293,39 @@
 mem_key3_release_new_t:#volume decrement
 11 0f 00
 
-
 mem_dy_key4_press:#up
 00
 mem_key4_release_new:
-2d 2e 2f 30 31 32 33 34 35 00
+00
 mem_key4_long_press:#volume increment
-07 09 00
+00
 mem_key4_long_release:
 00
 
-
 mem_dy_key5_press:#left
 00
 mem_key5_release_new:
-3d 3c 3b 3a 39 38 37 36 3f 00
+00
 mem_key5_long_press: #lock
-46 09 00
-
-
+00
 
 #####################################################
-mem_shutter_aheadback_cam_key:
-0c 0b 12 0f 0c
+mem_shutter_aheadback_cam_key_new:
+15 16 0b 12 0f 0c 00
+
 mem_shutter_fouseon_key:
 01 02 03 04 05 06 07 08 09 0a
 mem_shutter_fousedown_key:
 0a 09 08 07 06 05 04 03 02 01
-# mem_shutter_vcr_modestep_key:
-# 46 09 00
+
 mem_shutter_fouseon_key_loop:
-01 02 03 04 05 06 07 0a
-mem_shutter_fouse_down_key_loop:
-0a 09 08 07 06 05 04 01
+19
+mem_shutter_fouseon_key_loop_release:
+1a
+mem_shutter_fousedown_key_loop:
+1b
+mem_shutter_fousedown_key_loop_release:
+1c
 
 mem_shutter_dy_mode_step:
 13 14 00
@@ -338,30 +336,42 @@
 ################ble kb val list#######################
 mem_shutter_mousekey_value_list:
 #fouse
-10 23 00 00 f4 06 20 07 04 f4 06 20 03 #1
-10 23 00 83 f4 06 60 07 87 f4 06 20 03 #2
-10 23 00 83 f4 06 a0 07 87 f4 06 20 03 #3
-10 23 00 83 f4 06 f0 07 87 f4 06 20 03 #4
-10 23 00 83 f4 06 20 08 87 f4 06 20 03 #5
-10 23 00 83 f4 06 60 08 87 f4 06 20 03 #6
-10 23 00 83 f4 06 a0 08 87 f4 06 20 03 #7
-10 23 00 83 f4 06 f0 08 87 f4 06 20 03 #8
-10 23 00 83 f4 06 20 09 87 f4 06 20 03 #9
-10 23 00 00 f4 06 60 09 04 f4 06 20 03 #a
+0a 23 00 00 00 01 00 06 04 00 01 00 03 #1
+0a 23 00 83 00 01 00 06 87 00 01 00 03 #2
+0a 23 00 83 00 01 10 06 87 00 01 00 03 #3
+0a 23 00 83 00 01 20 06 87 00 01 00 03 #4
+0a 23 00 83 00 01 30 06 87 00 01 00 03 #5
+0a 23 00 83 00 01 40 06 87 00 01 00 03 #6
+0a 23 00 83 00 01 50 06 87 00 01 00 03 #7
+0a 23 00 83 00 01 60 06 87 00 01 00 03 #8
+0a 23 00 83 00 01 70 06 87 00 01 00 03 #9
+0a 23 00 00 00 01 70 06 04 00 01 00 03 #a
 #android step
-10 23 00 83 a0 0d a1 0d 87 a0 0d a1 0d #b
-10 23 00 00 a0 0d a1 0d 04 a0 0d a1 0d #c
+0a 23 00 83 a0 0d a1 0d 87 a0 0d a1 0d #b
+0a 23 00 00 a0 0d a1 0d 04 a0 0d a1 0d #c
 #ios step
-10 23 00 83 f4 0d 30 0e 92 f4 0d 30 0e #d
-10 23 00 00 f4 0d 30 0e 92 f4 0d 30 0e #e
+0a 23 00 83 00 0e 10 0e 87 00 0f 50 01 #d
+0a 23 00 00 00 0e 10 0e 04 00 0f 50 01 #e
 #media
 02 1b 00 00 00 00 00 00 00 00 00 00 00 #f  release
 02 1b 00 02 00 00 00 00 00 00 00 00 00 #10  volume increase
 02 1b 00 04 00 00 00 00 00 00 00 00 00 #11  volume decrease
 02 1b 00 01 00 00 00 00 00 00 00 00 00 #12 android Mode Step
 
-10 23 00 83 f4 07 30 07 92 f4 07 30 07 #13
-10 23 00 00 f4 07 30 07 92 f4 07 30 07 #14
+0a 23 00 83 f4 07 30 07 92 f4 07 30 07 #13
+0a 23 00 00 f4 07 30 07 92 f4 07 30 07 #14
+
+0a 23 00 83 00 0f a0 01 87 00 0f a0 01 #15
+0a 23 00 00 00 0f a0 01 04 00 0f a0 01 #16
+
+0a 23 00 83 d4 0d a0 0e 87 d4 0d a0 0e #17
+0a 23 00 00 d4 0d a0 0e 04 d4 0d a0 0e #18
+#fouse long press
+0a 23 00 83 00 01 50 06 87 00 01 00 03 #19
+0a 23 00 00 00 01 50 06 00 00 01 00 03 #1a
+0a 23 00 83 00 01 00 07 87 00 01 00 03 #1b
+0a 23 00 00 00 01 00 07 00 00 01 00 03 #1c
+
 mem_shutter_move_data:
 00 00 00  #defualt
 
Index: program/patch.prog
===================================================================
--- /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/program/patch.prog	(revision 1942)
+++ /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/program/patch.prog	(working copy)
@@ -188,6 +188,7 @@
 	call enable_authrom
 
 p_shutter_init:
+	jam 0,mem_lpm_mode
 	fetch 2,mem_ui_state_map
 	rtnbit1 UI_STATE_BLE_CONNECTED
 	bmark1 mark_shutter_long_sleep,p_shutter_clean_long_wake
@@ -319,7 +320,153 @@
 
 p_shutter_process_idle:
 	call p_shutter_send_data_to_master
-	branch keyscan_key_process
+	call keyscan_key_process
+	branch p_key_evt_ui_timer_check
+
+p_key_evt_ui_timer_check:
+	arg 0,rega
+	fetcht 4,mem_shutter_key_evt_btclk
+	copy clkn_bt,regb
+	copy regb,pdata
+	isub temp,null
+	ncall ui_timer_timeout,positive
+p_key_evt_ui_timer_check_loop:
+	copy regb,pdata
+	increase 64,temp    //320btclk = 100ms
+	isub temp,null
+	nbranch p_key_evt_ui_timer_check_end,positive
+	increase 1,rega   //increase 1 every 100ms count
+	and rega,0x0f,pdata
+	nbranch p_key_evt_ui_timer_check_loop,blank
+	arg 0,rega  //reset timer if it's longer than 1.5s between 2 checks
+	call p_key_evt_ui_timer_check_send_evt
+p_key_evt_ui_timer_init:
+	copy clkn_bt,pdata
+	store 4,mem_shutter_key_evt_btclk
+	rtn
+p_key_evt_ui_timer_check_end:
+	copy rega,pdata
+	rtn blank
+	increase -64,temp    //160btclk = 50ms
+	set0 28,temp
+	storet 4,mem_shutter_key_evt_btclk
+p_key_evt_ui_timer_check_send_evt:
+	store 1,mem_shutter_key_evt_timer_count
+p_key_evt_50ms_loop:
+	fetch 1,mem_shutter_key_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_shutter_key_evt_timer_count
+	call p_shutter_long_fouse_timer
+	branch p_key_evt_50ms_loop
+
+p_shutter_long_fouse_timer:
+	arg mem_shutter_dy_fouse_time,regc
+	arg p_shutter_dy_fouse_timeout,regb
+	branch timer_single_step
+
+p_shutter_dy_fouse_timeout:
+	fetch 1,mem_shutter_fouse_select
+	beq FOUSEUP,p_shutter_dy_fouseup_event
+	beq FOUSEDOWN,p_shutter_dy_fousedown_event
+	rtn
+
+p_shutter_dy_fouseup_event:
+	call p_le_check_iphone
+	nbranch p_shutter_dy_fouseup_event_ios,blank
+	jam 1,mem_send_data_delay
+	jam 1,mem_shutter_dy_fouse_time
+	fetch 1,mem_shutter_dy_fouse_count
+	increase 1,pdata
+	store 1,mem_shutter_dy_fouse_count
+	sub pdata,90,null
+	call p_shutter_dy_fouseup_init,zero
+	arg mem_shutter_fouseon_key_loop,regc
+	call p_shutter_dy_find_value_list_position
+	ifetch 2,pdata
+	add pdata,10,pdata
+	istore 2,rega
+	branch push_buffer_in_queue
+
+p_shutter_dy_fouseup_event_ios:
+	call p_shutter_dy_fouse_time_ios
+	fetch 1,mem_shutter_dy_fouse_count
+	increase 1,pdata
+	store 1,mem_shutter_dy_fouse_count
+	sub pdata,90,null
+	call p_shutter_dy_fouseup_init,zero
+	arg mem_shutter_fouseon_key_loop,regc
+	call p_shutter_dy_find_value_list_position
+	ifetch 2,pdata
+	add pdata,10,pdata
+	istore 2,rega
+	branch push_buffer_in_queue
+
+p_shutter_dy_fouseup_init:
+	jam 0,mem_shutter_dy_fouse_count
+	arg mem_shutter_fouseon_key_loop_release,regc
+	call push_buffer_in_queue
+	arg mem_shutter_fouseon_key_loop,regc
+	call p_shutter_dy_find_value_list_position
+	setarg 0x0650
+	istore 2,rega
+	rtn
+
+p_shutter_dy_fousedown_event:
+	call p_le_check_iphone
+	nbranch p_shutter_dy_fousedown_event_ios,blank
+	jam 1,mem_send_data_delay
+	jam 1,mem_shutter_dy_fouse_time
+	fetch 1,mem_shutter_dy_fouse_count
+	increase 1,pdata
+	store 1,mem_shutter_dy_fouse_count
+	sub pdata,60,null
+	call p_shutter_dy_fousedown_init,zero
+	arg mem_shutter_fousedown_key_loop,regc
+	call p_shutter_dy_find_value_list_position
+	ifetch 2,pdata
+	increase -10,pdata
+	istore 2,rega
+	branch push_buffer_in_queue
+
+p_shutter_dy_fousedown_event_ios:
+	call p_shutter_dy_fouse_time_ios
+	fetch 1,mem_shutter_dy_fouse_count
+	increase 1,pdata
+	store 1,mem_shutter_dy_fouse_count
+	sub pdata,60,null
+	call p_shutter_dy_fousedown_init,zero
+	arg mem_shutter_fousedown_key_loop,regc
+	call p_shutter_dy_find_value_list_position
+	ifetch 2,pdata
+	increase -10,pdata
+	istore 2,rega
+	branch push_buffer_in_queue
+
+
+p_shutter_dy_fousedown_init:
+	jam 0,mem_shutter_dy_fouse_count
+	arg mem_shutter_fousedown_key_loop_release,regc
+	call push_buffer_in_queue
+	arg mem_shutter_fousedown_key_loop,regc
+	call p_shutter_dy_find_value_list_position
+	setarg 0x0700
+	istore 2,rega
+	rtn
+
+p_shutter_dy_find_value_list_position:
+	arg mem_shutter_mousekey_value_list,temp
+	ifetch 1,regc
+	increase -1,pdata
+	mul32 pdata,13,pdata
+	iadd temp,pdata
+	increase 6,pdata
+	copy pdata,rega
+	rtn
+p_shutter_dy_fouse_time_ios:
+	jam 1,mem_send_data_delay
+	jam 2,mem_shutter_dy_fouse_time
+	rtn
 
 p_shutter_send_data_to_master:
 	fetch 2,mem_ui_state_map
@@ -346,7 +493,6 @@
 	store 4,mem_key_send_clk
 	call queue_pop_one_byte
 	nrtn user
-
 	pincrease -1
 	mul32 pdata,13,pdata
 	arg mem_shutter_mousekey_value_list,temp
@@ -355,22 +501,22 @@
 
 p_shutter_le_bb_event_timer:
 //long loop function
-	call p_shutter_dy_mode_setp_timer
-	call p_shutter_long_key_volume_timer
+	// call p_shutter_dy_mode_setp_timer
+	// call p_shutter_long_key_volume_timer
 	call p_shutter_vcr_count_function_timer
 	call p_shutter_iphone_move_mid_timer
 	call ble_shutter_reconn_timer
 	call shutter_check_sleep_timer
 	branch shutter_check_power_off_timer
 
-p_shutter_dy_mode_setp_timer:
-	arg mem_shutter_dy_mode_step_time,regc
-	arg p_shutter_dy_mode_setp_timeout,regb
-	branch timer_single_step
-
-p_shutter_dy_mode_setp_timeout:
-	arg mem_shutter_dy_mode_step,regc
-	branch push_buffer_in_queue
+// p_shutter_dy_mode_setp_timer:
+// 	arg mem_shutter_dy_mode_step_time,regc
+// 	arg p_shutter_dy_mode_setp_timeout,regb
+// 	branch timer_single_step
+
+// p_shutter_dy_mode_setp_timeout:
+// 	arg mem_shutter_dy_mode_step,regc
+// 	branch push_buffer_in_queue
 
 p_shutter_low_power_led_timer:
 	fetch 1,mem_start_adc_read
@@ -429,7 +575,6 @@
 	branch p_shutter_shutter_power_off_signal
 
 p_shutter_shutter_power_off_signal:
-	//call ice_break
 
 	fetch 1,mem_shutter_power_off_flag
 	nbranch app_enter_hibernate,blank
@@ -450,21 +595,21 @@
 	fetch 1,mem_vcr_count_flag
 	beq 1,p_shutter_photo_ptr_volume_funtion
 	beq 2,p_shutter_abcam_function
-	beq 3,p_shutter_dy_mode_setp_function
+	// beq 3,p_shutter_dy_mode_setp_function
 	jam 0,mem_vcr_count_flag
 	rtn
 
-p_shutter_dy_mode_setp_function:
-	jam 0,mem_vcr_count_flag
-	jam 2,mem_shutter_dy_mode_step_time
-	arg mem_shutter_dy_mode_step,regc
-	branch push_buffer_in_queue
+// p_shutter_dy_mode_setp_function:
+// 	jam 0,mem_vcr_count_flag
+// 	jam 2,mem_shutter_dy_mode_step_time
+// 	arg mem_shutter_dy_mode_step,regc
+// 	branch push_buffer_in_queue
 
 p_shutter_abcam_function:
 	jam 0,mem_vcr_count_flag
 	call p_le_check_iphone
 	nbranch p_shutter_ios_cam_release_function,blank
-	arg mem_shutter_aheadback_cam_key,regc
+	arg mem_shutter_aheadback_cam_key_new,regc
 	branch push_buffer_in_queue
 
 p_shutter_vpcam_function:
@@ -847,13 +992,11 @@
 	rtn
 
 p_shutter_ios_fouseup_function:
-	arg mem_key0_release_new_i,regc
+	arg mem_shutter_fouseon_key,regc
 	branch push_buffer_in_queue
 
 p_shutter_ios_fousedown_function:
-	// call p_le_check_iphone
-	// rtn blank
-	arg mem_key5_release_new_i,regc
+	arg mem_shutter_fousedown_key,regc
 	branch push_buffer_in_queue
 
 p_shutter_cam_handoff_function:
@@ -913,7 +1056,28 @@
 	copy queue,pdata
 	rtneq SHUTTER_PHOTO_MODE_STEP_KEY_NUM
 	//jam 4,mem_delay_led_time
-	branch p_shutter_clear_volume_timer
+	call p_shutter_clear_volume_timer
+	copy queue,pdata
+	beq SHUTTER_UP_FOUSEUP_KEY_NUM,p_shutter_fouseup_release_event
+	beq SHUTTER_DOWN_FOUSEDOWN_KEY_NUM,p_shutter_fousedown_release_event
+	rtn
+
+p_shutter_fouseup_release_event:
+	call p_shutter_fouse_release_clear
+	call p_shutter_dy_fouseup_init
+	arg mem_shutter_fouseon_key_loop_release,regc
+	branch push_buffer_in_queue
+
+p_shutter_fousedown_release_event:
+	call p_shutter_fouse_release_clear
+	call p_shutter_dy_fousedown_init
+	arg mem_shutter_fousedown_key_loop_release,regc
+	branch push_buffer_in_queue
+
+p_shutter_fouse_release_clear:
+	jam 0,mem_shutter_dy_fouse_time
+	jam 0,mem_shutter_fouse_select
+	rtn
 
 p_clear_key_state:
 	arg SHUTTER_KEY_CONF_SATE_BYTES,loopcnt
@@ -1282,10 +1446,22 @@
 
 p_shutter_long_press_function:
 	copy queue,pdata
-	beq SHUTTER_UP_FOUSEUP_KEY_NUM,p_shutter_loop_send_fouseup_page
-	beq SHUTTER_DOWN_FOUSEDOWN_KEY_NUM,p_shutter_loop_send_fousedown_page
+	beq SHUTTER_UP_FOUSEUP_KEY_NUM,p_shutter_loop_send_fouseup_event
+	beq SHUTTER_DOWN_FOUSEDOWN_KEY_NUM,p_shutter_loop_send_fousedown_event
 	rtn
 
+p_shutter_loop_send_fouseup_event:
+	jam 2,mem_shutter_dy_fouse_time
+	jam FOUSEUP,mem_shutter_fouse_select
+	arg mem_shutter_fouseon_key,regc
+	branch push_buffer_in_queue
+
+p_shutter_loop_send_fousedown_event:
+	jam 2,mem_shutter_dy_fouse_time
+	jam FOUSEDOWN,mem_shutter_fouse_select
+	arg mem_shutter_fousedown_key,regc
+	branch push_buffer_in_queue
+
 p_dy_long_press_function:
 	copy queue,pdata
 	beq SHUTTER_UP_FOUSEUP_KEY_NUM,p_shutter_loop_send_volume_dec_page
@@ -1335,7 +1511,7 @@
 	jam 1,mem_fouse_up_or_down
 	jam 1,mem_shutter_volume_timer
 	jam 1,mem_send_data_delay
-	arg mem_shutter_fouse_down_key_loop,regc
+	arg mem_shutter_fousedown_key_loop,regc
 	call p_le_check_iphone
 	ncall p_ios_fousedown_page,blank
 	branch push_buffer_in_queue
@@ -1343,7 +1519,7 @@
 p_ios_fousedown_page:
 	jam 60,mem_send_data_delay
 	jam 2,mem_shutter_volume_timer
-	arg mem_shutter_fouse_down_key_loop,regc
+	arg mem_shutter_fousedown_key_loop,regc
 	rtn
 
 p_dy_volume_loop_mode:
@@ -1365,10 +1541,8 @@
 	branch push_buffer_in_queue
 
 p_shutter_clear_volume_timer:
-	jam 0,mem_fouse_up_or_down
 	jam 0,mem_key3_press_count
 	jam 0,mem_shutter_volume_timer
-	jam 0,mem_ios_fouse_loop_count
 	rtn
 
 //adc********************
Index: sched/shutter.dat
===================================================================
--- /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/sched/shutter.dat	(revision 1942)
+++ /branch/shutter/branch/jxy_project/yc1089m_jxy_JM104_fouse/sched/shutter.dat	(working copy)
@@ -3,7 +3,7 @@
 #power on config
 mem_ui_button_gpio:ff
 
-mem_le_lap:4c 4f 2a 98 07 2a
+mem_le_lap:13 4f 2a 98 07 2a
 mem_le_name_len:
 'Selfie
 
@@ -71,7 +71,7 @@
 #hard_soft_switch config
 mem_shutter_hard_soft_switch_case_temp:01
 mem_shutter_soft_switch_button_gpio_temp:09
-# mem_shutter_soft_switch_button_gpio_temp:13
+# mem_shutter_soft_switch_button_gpio_temp:ff
 #100ms timer
 mem_shutter_ble_discovery_time_conf:
 70 17 #discovery_timeout
@@ -138,15 +138,15 @@
 12 12 14 0b 0b 00
 
 mem_ios_fouseup_loop_page:
-0a 4c 4c 0b
+00
 mem_ios_fousedown_loop_page:
-0a 4d 4d 0b
+00
 
 
 mem_key0_press_i:  #fouse up
 00
 mem_key0_release_new_i:
-01 02 03 04 05 06 07 08 09 0a
+00
 mem_key0_long_press_i:
 00
 
@@ -176,11 +176,10 @@
 0a 0f 0f 0f 0b 10 10 10
 
 
-
 mem_key5_press_i:#fouse down
 00
 mem_key5_release_new_i:
-0a 09 08 07 06 05 04 03 02 01
+00
 mem_key5_long_press_i:
 00
 
@@ -188,38 +187,37 @@
 mem_key_ios_abcam_press:
 00
 mem_key_ios_abcam_release:
-0e 0d 0e
+0d 0e 00
 
 
 mem_dy_key6_press:
 00
 mem_key6_release_new_i:#move
-0a 20 0b 21 0b 00
+00
 mem_key6_release_new:#move
-40 00
+00
 
 mem_dy_key0_press:  #right
 00
 mem_key0_release_new:
-37 38 39 3a 3b 3c 3d 3e 3f 00
+00
 mem_key0_long_press:
-48 09 00
+00
 
 mem_dy_key1_press:#like
 00
 mem_key1_release_new:
-30 40 00
+00
 
 mem_dy_key2_press: #down
 00
 mem_key2_release_new:
-34 33 32 31 30 2f 2e 2d 35 00
+00
 mem_key2_long_press:#volume decrement
-08 09 00
+00
 mem_key2_long_release:
 00
 
-
 #toggle between vol-inc and vol-dec
 mem_dy_key3_press:#photo
 00
@@ -228,39 +226,39 @@
 mem_key3_release_new_t:#volume decrement
 11 0f 00
 
-
 mem_dy_key4_press:#up
 00
 mem_key4_release_new:
-2d 2e 2f 30 31 32 33 34 35 00
+00
 mem_key4_long_press:#volume increment
-07 09 00
+00
 mem_key4_long_release:
 00
 
-
 mem_dy_key5_press:#left
 00
 mem_key5_release_new:
-3d 3c 3b 3a 39 38 37 36 3f 00
+00
 mem_key5_long_press: #lock
-46 09 00
-
-
+00
 
 #####################################################
-mem_shutter_aheadback_cam_key:
-0c 0b 12 0f 0c
+mem_shutter_aheadback_cam_key_new:
+15 16 0b 12 0f 0c 00
+
 mem_shutter_fouseon_key:
 01 02 03 04 05 06 07 08 09 0a
 mem_shutter_fousedown_key:
 0a 09 08 07 06 05 04 03 02 01
-# mem_shutter_vcr_modestep_key:
-# 46 09 00
+
 mem_shutter_fouseon_key_loop:
-01 02 03 04 05 06 07 0a
-mem_shutter_fouse_down_key_loop:
-0a 09 08 07 06 05 04 01
+19
+mem_shutter_fouseon_key_loop_release:
+1a
+mem_shutter_fousedown_key_loop:
+1b
+mem_shutter_fousedown_key_loop_release:
+1c
 
 mem_shutter_dy_mode_step:
 13 14 00
@@ -271,30 +269,42 @@
 ################ble kb val list#######################
 mem_shutter_mousekey_value_list:
 #fouse
-10 23 00 00 f4 06 20 07 04 f4 06 20 03 #1
-10 23 00 83 f4 06 60 07 87 f4 06 20 03 #2
-10 23 00 83 f4 06 a0 07 87 f4 06 20 03 #3
-10 23 00 83 f4 06 f0 07 87 f4 06 20 03 #4
-10 23 00 83 f4 06 20 08 87 f4 06 20 03 #5
-10 23 00 83 f4 06 60 08 87 f4 06 20 03 #6
-10 23 00 83 f4 06 a0 08 87 f4 06 20 03 #7
-10 23 00 83 f4 06 f0 08 87 f4 06 20 03 #8
-10 23 00 83 f4 06 20 09 87 f4 06 20 03 #9
-10 23 00 00 f4 06 60 09 04 f4 06 20 03 #a
+0a 23 00 00 00 01 00 06 04 00 01 00 03 #1
+0a 23 00 83 00 01 00 06 87 00 01 00 03 #2
+0a 23 00 83 00 01 10 06 87 00 01 00 03 #3
+0a 23 00 83 00 01 20 06 87 00 01 00 03 #4
+0a 23 00 83 00 01 30 06 87 00 01 00 03 #5
+0a 23 00 83 00 01 40 06 87 00 01 00 03 #6
+0a 23 00 83 00 01 50 06 87 00 01 00 03 #7
+0a 23 00 83 00 01 60 06 87 00 01 00 03 #8
+0a 23 00 83 00 01 70 06 87 00 01 00 03 #9
+0a 23 00 00 00 01 70 06 04 00 01 00 03 #a
 #android step
-10 23 00 83 a0 0d a1 0d 87 a0 0d a1 0d #b
-10 23 00 00 a0 0d a1 0d 04 a0 0d a1 0d #c
+0a 23 00 83 a0 0d a1 0d 87 a0 0d a1 0d #b
+0a 23 00 00 a0 0d a1 0d 04 a0 0d a1 0d #c
 #ios step
-10 23 00 83 f4 0d 30 0e 92 f4 0d 30 0e #d
-10 23 00 00 f4 0d 30 0e 92 f4 0d 30 0e #e
+0a 23 00 83 00 0e 10 0e 87 00 0f 50 01 #d
+0a 23 00 00 00 0e 10 0e 04 00 0f 50 01 #e
 #media
 02 1b 00 00 00 00 00 00 00 00 00 00 00 #f  release
 02 1b 00 02 00 00 00 00 00 00 00 00 00 #10  volume increase
 02 1b 00 04 00 00 00 00 00 00 00 00 00 #11  volume decrease
 02 1b 00 01 00 00 00 00 00 00 00 00 00 #12 android Mode Step
 
-10 23 00 83 f4 07 30 07 92 f4 07 30 07 #13
-10 23 00 00 f4 07 30 07 92 f4 07 30 07 #14
+0a 23 00 83 f4 07 30 07 92 f4 07 30 07 #13
+0a 23 00 00 f4 07 30 07 92 f4 07 30 07 #14
+
+0a 23 00 83 00 0f a0 01 87 00 0f a0 01 #15
+0a 23 00 00 00 0f a0 01 04 00 0f a0 01 #16
+
+0a 23 00 83 d4 0d a0 0e 87 d4 0d a0 0e #17
+0a 23 00 00 d4 0d a0 0e 04 d4 0d a0 0e #18
+#fouse long press
+0a 23 00 83 00 01 50 06 87 00 01 00 03 #19
+0a 23 00 00 00 01 50 06 00 00 01 00 03 #1a
+0a 23 00 83 00 01 00 07 87 00 01 00 03 #1b
+0a 23 00 00 00 01 00 07 00 00 01 00 03 #1c
+
 mem_shutter_move_data:
 00 00 00  #defualt
 
