Skip to content

Commit

Permalink
整理配置文件格式
Browse files Browse the repository at this point in the history
  • Loading branch information
binderclip committed Jan 2, 2018
1 parent ee42a24 commit a2fdb5a
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 65 deletions.
10 changes: 5 additions & 5 deletions config/1280x720/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"press_coefficient": 2.099,
"piece_base_height_1_2": 13,
"piece_body_width": 47,
"swipe" : {
"x1": 374,
"y1": 1060,
"x2": 374,
"y2": 1060
"swipe": {
"x1": 374,
"y1": 1060,
"x2": 374,
"y2": 1060
}
}
10 changes: 5 additions & 5 deletions config/1920x1080/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"press_coefficient": 1.392,
"piece_base_height_1_2": 20,
"piece_body_width": 70,
"swipe" : {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1602
"swipe": {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1602
}
}
10 changes: 5 additions & 5 deletions config/2560x1440/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"press_coefficient": 1.035,
"piece_base_height_1_2": 28,
"piece_body_width": 110,
"swipe" : {
"x1": 320,
"y1": 410,
"x2": 320,
"y2": 410
"swipe": {
"x1": 320,
"y1": 410,
"x2": 320,
"y2": 410
}
}
10 changes: 5 additions & 5 deletions config/huawei/honor_note8_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"press_coefficient": 1.04,
"piece_base_height_1_2": 90,
"piece_body_width": 120,
"swipe" : {
"x1": 730,
"y1": 2100,
"x2": 720,
"y2": 2100
"swipe": {
"x1": 730,
"y1": 2100,
"x2": 720,
"y2": 2100
}
}
3 changes: 1 addition & 2 deletions config/iPhone/6_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"press_coefficient": 2.0,
"piece_base_height_1_2": 13,
"piece_body_width": 49,

"swipe" : {
"swipe": {
"x1": 375,
"y1": 1055,
"x2": 375,
Expand Down
10 changes: 5 additions & 5 deletions config/iPhone/8P_7P_6sP_6P_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"press_coefficient": 1.2,
"piece_base_height_1_2": 20,
"piece_body_width": 70,
"swipe" : {
"x1": 320,
"y1": 410,
"x2": 320,
"y2": 410
"swipe": {
"x1": 320,
"y1": 410,
"x2": 320,
"y2": 410
}
}
10 changes: 5 additions & 5 deletions config/iPhone/X_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"press_coefficient": 1.31,
"piece_base_height_1_2": 23,
"piece_body_width": 70,
"swipe" : {
"x1": 320,
"y1": 410,
"x2": 320,
"y2": 410
"swipe": {
"x1": 320,
"y1": 410,
"x2": 320,
"y2": 410
}
}
11 changes: 5 additions & 6 deletions config/mi/max2_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"press_coefficient": 1.5,
"piece_base_height_1_2": 20,
"piece_body_width": 70,

"swipe" : {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1600
"swipe": {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1600
}
}
11 changes: 5 additions & 6 deletions config/mi/mi5_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"press_coefficient": 1.475,
"piece_base_height_1_2": 20,
"piece_body_width": 70,

"swipe" : {
"x1": 540,
"y1": 1514,
"x2": 540,
"y2": 1514
"swipe": {
"x1": 540,
"y1": 1514,
"x2": 540,
"y2": 1514
}
}
11 changes: 5 additions & 6 deletions config/mi/mi5s_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"press_coefficient": 1.475,
"piece_base_height_1_2": 20,
"piece_body_width": 70,

"swipe" : {
"x1": 540,
"y1": 1514,
"x2": 540,
"y2": 1514
"swipe": {
"x1": 540,
"y1": 1514,
"x2": 540,
"y2": 1514
}
}
11 changes: 5 additions & 6 deletions config/mi/mi6_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"press_coefficient": 1.44,
"piece_base_height_1_2": 20,
"piece_body_width": 70,

"swipe" : {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1600
"swipe": {
"x1": 500,
"y1": 1600,
"x2": 500,
"y2": 1600
}
}
18 changes: 9 additions & 9 deletions config/mi/note2_config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"under_game_score_y": 300,
"press_coefficient": 1.47,
"piece_base_height_1_2": 25,
"under_game_score_y": 300,
"press_coefficient": 1.47,
"piece_base_height_1_2": 25,
"piece_body_width": 80,
"swipe" : {
"x1": 540,
"y1": 1600,
"x2": 540,
"y2": 1600
"swipe": {
"x1": 540,
"y1": 1600,
"x2": 540,
"y2": 1600
}
}
}

0 comments on commit a2fdb5a

Please sign in to comment.