forked from ihhub/fheroes2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fheroes2.key
106 lines (106 loc) · 4.06 KB
/
fheroes2.key
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# fheroes2 hot keys
#
# 1. syntax:
# <events name> = <keycode> (do not forget to remove comments '#')
#
#
# 2.1 default events:
# default ready - (default keycode: 13 = 'return')
# default exit - (default keycode: 27 = 'esc')
# default left - (default keycode: no set)
# default right - (default keycode: no set)
#
# 2.2 system hotkeys:
# system fullscreen - (default keycode: 285 = F4)
# system screenshot - (default keycode: 316 = PRINT)
#
# 2.2 buttons:
# button newgame - (default keycode: 110 = 'n')
# button loadgame - (default keycode: 108 = 'l')
# button highscores - (default keycode: 104 = 'h')
# button credits - (default keycode: 99 = 'c')
# button standard - (default keycode: 115 = 's')
# button campain - (default keycode: 99 = 'c')
# button multigame - (default keycode: 109 = 'm')
# button settings - (default keycode: 116 = 't')
# button select - (default keycode: 115 = 's')
# button hotseat - (default keycode: 104 = 'h')
# button network - (default keycode: 110 = 'n')
# button host - (default keycode: 104 = 'h')
# button guest - (default keycode: 103 = 'g')
# button battleonly - (default keycode: 98 = 'b')
#
# 2.3 game events:
# end turn - (default keycode: 101 = 'e')
# next hero - (default keycode: 104 = 'h')
# next town - (default keycode: 116 = 't')
# continue move - (default keycode: 109 = 'm')
# sleep hero - (default keycode: 122 = 'z')
# save game - (default keycode: 115 = 's')
# load game - (default keycode: 108 = 'l')
# show file dialog - (default keycode: 102 = 'f')
# show system options - (default keycode: 111 = 'o')
# show puzzle maps - (default keycode: 112 = 'p')
# show game info - (default keycode: 105 = 'i')
# dig artifact - (default keycode: 100 = 'd')
# cast spell - (default keycode: 99 = 'c')
# default action - (default keycode: 32 = 'space')
# move left - (default keycode: 276 = 'left')
# move right - (default keycode: 275 = 'right')
# move top - (default keycode: 273 = 'up')
# move bottom - (default keycode: 274 = 'down')
# move top left - (default keycode: no set)
# move top right - (default keycode: no set)
# move bottom left - (default keycode: no set)
# move bottom right - (default keycode: no set)
# open focus - (default keycode: 13 = 'return')
# scroll left - (default keycode: no set)
# scroll right - (default keycode: no set)
# scroll up - (default keycode: no set)
# scroll down - (default keycode: no set)
# control panel - (default keycode: 49 = '1')
# show radar - (default keycode: 50 = '2')
# show buttons - (default keycode: 51 = '3')
# show status - (default keycode: 52 = '4')
# show icons - (default keycode: 53 = '5')
#
# 2.4 system events:
# emulate mouse toggle - (default keycode: no set)
# emulate mouse left - (default keycode: 276 = 'left')
# emulate mouse right - (default keycode: 275 = 'right')
# emulate mouse up - (default keycode: 273 = 'up')
# emulate mouse down - (default keycode: 274 = 'down')
# emulate press left - (default keycode: no set)
# emulate press right - (default keycode: no set)
# switch group - (default keycode: no set)
#
# 2.5 battle events:
# battle cast spell - (default keycode: 99 = 'c')
# battle retreat - (default keycode: 27 = 'esc')
# battle surrender - (default keycode: 115 = 's')
# battle auto switch - (default keycode: 97 = 'a')
# battle options - (default keycode: 111 = 'o')
# battle hard skip - (default keycode: 104 = 'h')
# battle soft skip - (default keycode: 32 = 'space')
#
# 3. events descriptions:
# default ready - ok/yes buttons
# default exit - no/cancel buttons, exit from game
# default left - left button
# default right - right button
# default action - focus on hero: object action, or if path set - continue move else open dialog
# focus on town: open dialog
# open focus - open dialog for hero/town
# emulate mouse toggle - toggle switch for "emulate mouse keys" as (mouse move/or keys)
# switch group - not used, reserved
#
#
# 4. how to retrieve keycode:
# - set "debug = 0x12" (fheroes2.cfg)
# - start game
# - go to "high scores"
# - press key (should be show dialog with keycode)
#
#
# 5. how to use this (example):
default exit = 27