Skip to content

Commit

Permalink
Some small corrections to appl_trecord() values
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Oct 22, 2024
1 parent 517b7c7 commit 9fb05db
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions gem/aes/structures/applrecord.ui
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
# For the components the following apply:
#
# type Meaning what
# 0 Timer event Number of 50-millisecond ticks
# 0 Timer event Number of 20-millisecond ticks
# 1 Button event (high-WORD) Status of mouse buttons
# (0 = not depressed, 1 = depressed):
# Left button: 0x0001
# Right button: 0x0002
# (low-WORD) Always 1
# (low-WORD) Number of clicks
# 2 Mouse event X-coordinate (high-WORD), Y-coordinate (low-WORD)
# of hotspot
# 3 Keyboard event (high-WORD) Scancode
Expand Down Expand Up @@ -73,19 +73,20 @@ typedef struct
!item [~]
~
!item [0~~ Timer event]
Number of 50-millisecond ticks
Number of 20-millisecond ticks
!item [1~~ Button event]
(high-WORD) Status of mouse buttons (0 = not depressed, 1 = depressed):
!begin_xlist [Right button:] !compressed
!item [Left button:] 0x0001
!item [Right button:] 0x0002
!end_xlist
(low-WORD) Always 1
(low-WORD) Number of clicks.
!item [2~~ Mouse event]
X-coordinate (high-WORD), Y-coordinate (low-WORD) of hotspot
!item [3~~ Keyboard event]
!begin_xlist [High-Word] !compressed
!item [High-Word] Scancode
!begin_xlist [Bits 24-31] !compressed
!item [Bits 24-31] Scancode
!item [Bits 16-23] ASCII code

!item [Low-Word] State of 'special' keys
(0 = not depressed, 1 = depressed):
Expand Down Expand Up @@ -131,20 +132,21 @@ typedef struct
!item [~]
~
!item [0~~ Timer-Event]
Anzahl von 50-Millisekunden Ticks
Anzahl von 20-Millisekunden Ticks
!item [1~~ Button-Event]
Status der Maustaste (High-Word), und zwar:
0 = nicht gedrckt, 1 = gedrckt:
!begin_xlist [High-Word:] !compressed
!item [Linke Maustaste:] 0x0001
!item [Rechte Maustaste:] 0x0002
!end_xlist
Das (low-WORD) ist immer auf 1 gesetzt
Das (low-WORD) enth(!aumlaut)lt die Anzahl der Clicks.
!item [2~~ Maus-Event]
X-Koordinate (High-Word), Y-Koordinate (Low-Word).
!item [3~~ Tastatur-Event]
!begin_xlist [High-Word] !compressed
!item [High-Word] Scan-Code
!begin_xlist [Bits 24-31] !compressed
!item [Bits 24-31] Scan-Code
!item [Bits 16-23] ASCII Code

!item [Low-Word] Zustand der Umschaltasten
(0 = nicht gedrckt, 1 = gedrckt):
Expand Down

0 comments on commit 9fb05db

Please sign in to comment.