Skip to content

Commit a2fdb5a

Browse files
committed
整理配置文件格式
1 parent ee42a24 commit a2fdb5a

File tree

12 files changed

+60
-65
lines changed

12 files changed

+60
-65
lines changed

config/1280x720/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"press_coefficient": 2.099,
44
"piece_base_height_1_2": 13,
55
"piece_body_width": 47,
6-
"swipe" : {
7-
"x1": 374,
8-
"y1": 1060,
9-
"x2": 374,
10-
"y2": 1060
6+
"swipe": {
7+
"x1": 374,
8+
"y1": 1060,
9+
"x2": 374,
10+
"y2": 1060
1111
}
1212
}

config/1920x1080/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"press_coefficient": 1.392,
44
"piece_base_height_1_2": 20,
55
"piece_body_width": 70,
6-
"swipe" : {
7-
"x1": 500,
8-
"y1": 1600,
9-
"x2": 500,
10-
"y2": 1602
6+
"swipe": {
7+
"x1": 500,
8+
"y1": 1600,
9+
"x2": 500,
10+
"y2": 1602
1111
}
1212
}

config/2560x1440/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"press_coefficient": 1.035,
44
"piece_base_height_1_2": 28,
55
"piece_body_width": 110,
6-
"swipe" : {
7-
"x1": 320,
8-
"y1": 410,
9-
"x2": 320,
10-
"y2": 410
6+
"swipe": {
7+
"x1": 320,
8+
"y1": 410,
9+
"x2": 320,
10+
"y2": 410
1111
}
1212
}

config/huawei/honor_note8_config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"press_coefficient": 1.04,
44
"piece_base_height_1_2": 90,
55
"piece_body_width": 120,
6-
"swipe" : {
7-
"x1": 730,
8-
"y1": 2100,
9-
"x2": 720,
10-
"y2": 2100
6+
"swipe": {
7+
"x1": 730,
8+
"y1": 2100,
9+
"x2": 720,
10+
"y2": 2100
1111
}
1212
}

config/iPhone/6_config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"press_coefficient": 2.0,
44
"piece_base_height_1_2": 13,
55
"piece_body_width": 49,
6-
7-
"swipe" : {
6+
"swipe": {
87
"x1": 375,
98
"y1": 1055,
109
"x2": 375,

config/iPhone/8P_7P_6sP_6P_config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"press_coefficient": 1.2,
44
"piece_base_height_1_2": 20,
55
"piece_body_width": 70,
6-
"swipe" : {
7-
"x1": 320,
8-
"y1": 410,
9-
"x2": 320,
10-
"y2": 410
6+
"swipe": {
7+
"x1": 320,
8+
"y1": 410,
9+
"x2": 320,
10+
"y2": 410
1111
}
1212
}

config/iPhone/X_config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"press_coefficient": 1.31,
44
"piece_base_height_1_2": 23,
55
"piece_body_width": 70,
6-
"swipe" : {
7-
"x1": 320,
8-
"y1": 410,
9-
"x2": 320,
10-
"y2": 410
6+
"swipe": {
7+
"x1": 320,
8+
"y1": 410,
9+
"x2": 320,
10+
"y2": 410
1111
}
1212
}

config/mi/max2_config.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
"press_coefficient": 1.5,
44
"piece_base_height_1_2": 20,
55
"piece_body_width": 70,
6-
7-
"swipe" : {
8-
"x1": 500,
9-
"y1": 1600,
10-
"x2": 500,
11-
"y2": 1600
6+
"swipe": {
7+
"x1": 500,
8+
"y1": 1600,
9+
"x2": 500,
10+
"y2": 1600
1211
}
1312
}

config/mi/mi5_config.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
"press_coefficient": 1.475,
44
"piece_base_height_1_2": 20,
55
"piece_body_width": 70,
6-
7-
"swipe" : {
8-
"x1": 540,
9-
"y1": 1514,
10-
"x2": 540,
11-
"y2": 1514
6+
"swipe": {
7+
"x1": 540,
8+
"y1": 1514,
9+
"x2": 540,
10+
"y2": 1514
1211
}
1312
}

config/mi/mi5s_config.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
"press_coefficient": 1.475,
44
"piece_base_height_1_2": 20,
55
"piece_body_width": 70,
6-
7-
"swipe" : {
8-
"x1": 540,
9-
"y1": 1514,
10-
"x2": 540,
11-
"y2": 1514
6+
"swipe": {
7+
"x1": 540,
8+
"y1": 1514,
9+
"x2": 540,
10+
"y2": 1514
1211
}
1312
}

0 commit comments

Comments
 (0)