Skip to content
J. Schneider edited this page Mar 10, 2023 · 2 revisions

Macros

Config file

  • All valid macros are listed in an config file macro.ini.
  • The description (optional) of the macro is stored in the config file macro.ini.
[<macro-name-1>]
DESCRIPTION=<description-1>

[<macro-name-2>]
DESCRIPTION=<description-2>

...

Macro File

  • There is a file for each macro *.mac.

Record

Offset Data Type Size Name Content
0 Byte 1 bKeyCode Key Code
1 unkown 3 - = 00 (Padding?)
4 Byte 1 bPressed Press = 01 / Release = 00
5 unkown 3 - = 00 (Padding?)
8 DWord 4 dwTimer Elapsed seconds since last on

Key-Codes

White Keys:

Key Code (hex)
< 00
> 01
02
03
R/S 04
GTO 05
XEQ 06
MODE 07
RCL 08
R↓ 09
x<>y 0a
𝒾 0b
SIN 0c
COS 0d
TAN 0e
√x 0f
10
1/x 11
ENTER 12
+/- 13
E 14
() 15
16
EQN 17
7 18
8 19
9 1a
÷ 1b
1c
4 1d
5 1e
6 1f
× 20
21
1 22
2 23
3 24
- 25
🄲 26
0 27
. 28
∑+ 29
+ 2a

Timer Format

  • 4 Bytes
  • Little Endian
  • pressed/unpressed min. delta > 10h
  • btwn. two char's min. delta > 100h

Example:

22 91 3E 1B
 \/    \/
 /\    /\
91 22 1B 3E
----- -----
   \   /
     X
   /   \
----- -----
1B 3E 91 22

t1 = 457085218

90 91 3E 1B
 \/    \/
 /\    /\
91 90 1B 3E
----- -----
   \   /
     X
   /   \
----- -----
1B 3E 91 90

t2 = 457085328

td = 110