forked from iCafeCodeProject/iCafeAutomationTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame_info_table.py
52 lines (48 loc) · 1.28 KB
/
game_info_table.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from class_define import GameInfo
# Genshin Impact game info
# Please update supported game table after add new game!
genshin_impact = GameInfo()
genshin_impact.game_name = genshin_impact
genshin_impact.game_op_dict = {
'idle': 0,
'forward': 'w',
'backward': 's',
'left': 'a',
'right': 'd',
'jump': 'space',
'dash': 'lshift', # please use 'lshift'(left shift) or rshift(right shift) instead of 'shift'
'left_click': 'mouse_left',
'mouse_move': 'mouse_move',
'elemental_skill': 'e',
'elemental_burst': 'q',
'aim_mode': 'r',
'pick_up': 'f',
'switch_member_1': '1',
'switch_member_2': '2',
'switch_member_3': '3',
'switch_member_4': '4',
}
genshin_impact.game_window_name = {
'0x804': "原神",
'0x409': "Genshin Impact"
}
# Crossfire game info
# Please update supported game table after add new game!
crossfire = GameInfo()
crossfire.game_name = crossfire
crossfire.game_op_dict = {
'idle': 0,
'forward': 'w',
'backward': 's',
'left': 'a',
'right': 'd',
'jump': 'space',
}
crossfire.game_window_name = {
'0x804': "穿越火线",
'0x409': "crossfire"
}
supported_game_list = {
'genshin_impact': genshin_impact,
'crossfire': crossfire,
}