Documentation updates for 1.2.
[enjoyable.git] / Resources / Help / Contents / Resources / English.lproj / pgs / keyboard.html
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title>Keyboard Events</title>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
8 <link href="../sty/default.css"
9 rel="stylesheet"
10 type="text/css"
11 media="all"/>
12 </head>
13
14 <body>
15 <a name="keyboard"></a>
16
17 <div id="navbox">
18 <div id="navleftbox">
19 <a class="navlink_left"
20 href="help:anchor='home' bookID='com.yukkurigames.Enjoyable.help'">
21 Home
22 </a>
23 </div>
24 </div>
25
26 <div id="headerbox">
27 <div id="iconbox">
28 <img id="iconimg"
29 src="../gfx/Icon.png"
30 alt="Enjoyable Icon"
31 height="32" width="32"/>
32 </div>
33 <h1>Keyboard Events</h1>
34 </div>
35
36 <p>
37 To use buttons, hat switches, and axis thresholds to simulate
38 keyboard keys, first disable mapping by turning off the <b>></b>
39 button in the top left. Then press the button on the input
40 device you want to map. This will select it on the left-hand
41 side of the screen.
42 </p>
43
44 <p>
45 If the button wasn't mapped or was mapped to a key press
46 already, the key input field activates and you can press the key
47 you want to use. Otherwise, click on the <b>Press a key</b> item
48 or input field, then press the key.
49 </p>
50
51 <p>
52 To change a key without disabling mapping you can choose its
53 entry in the sidebar directly.
54 </p>
55
56 <h3><a name="cancel_key"></a>Cancelling</h3>
57 <p>
58 If you select the input field by mistake you can press ⌘⎋ or
59 click on the key field to cancel without changing the current
60 setting.
61 </p>
62
63 <h3><a name="clear_key"></a>Clearing the Key</h3>
64 <p>
65 To clear a mapped key select <b>Do nothing</b> or press ⌘⌫ when
66 the input field is selected.
67 </p>
68
69 <h3><a name="raw_key"></a>Entering Raw Key Codes</h3>
70 <p>
71 Hold ⌘ and click on the field to enter a raw hexadecimal key
72 code. Key codes are numbers associated with each key on a
73 keyboard. For example, if you need to map something to the
74 Windows Menu key and your keyboard doesn't have one,
75 enter <kbd>0x6E</kbd> here.
76 </p>
77 </body>
78 </html>