Skip to content

Commit d335b79

Browse files
committed
Fix description of values written to the buffer of appl_trecord()
1 parent 3ed36ab commit d335b79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mt_gem.h.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ __BEGIN_DECLS
175175
* as follows:
176176
* <table>
177177
* <tr><td>\a ap_event <td> \a ap_value
178-
* <tr><td> #APPEVNT_TIMER (0) <td> Elapsed Time (in milliseconds)
179-
* <tr><td> #APPEVNT_BUTTON (1) <td> low word = state (1 = down), high word = # of clicks
180-
* <tr><td> #APPEVNT_MOUSE (2) <td> low word = X pos, high word = Y pos
181-
* <tr><td> #APPEVNT_KEYBOARD (3) <td> bits 0-7 = ASCII code, bits 8-15 = scan code, bits 16-31 = shift key
178+
* <tr><td> #APPEVNT_TIMER (0) <td> Elapsed Time (in 20ms ticks)
179+
* <tr><td> #APPEVNT_BUTTON (1) <td> high word = state (1 = down), low word = # of clicks
180+
* <tr><td> #APPEVNT_MOUSE (2) <td> high word = X pos, low word = Y pos
181+
* <tr><td> #APPEVNT_KEYBOARD (3) <td> bits 24-31 = scan code, bits 16-23 = ASCII code, bits 0-7 = shift state
182182
*
183183
* Please read documentation of mt_appl_trecord() and mt_appl_tplay() for more details and
184184
* known bugs related to this structure.

0 commit comments

Comments
 (0)