forked from AbleOS/ableos
21 lines
551 B
Plaintext
21 lines
551 B
Plaintext
|
Button := struct {id: u8}
|
||
|
$LEFT_BUTTON := Button.(1)
|
||
|
$RIGHT_BUTTON := Button.(2)
|
||
|
$MIDDLE_BUTTON := Button.(4)
|
||
|
$BUTTON4 := Button.(8)
|
||
|
$BUTTON5 := Button.(16)
|
||
|
|
||
|
SampleRate := struct {value: u8}
|
||
|
$SR10 := SampleRate.(10)
|
||
|
$SR20 := SampleRate.(20)
|
||
|
$SR40 := SampleRate.(40)
|
||
|
$SR60 := SampleRate.(60)
|
||
|
$SR80 := SampleRate.(80)
|
||
|
$SR100 := SampleRate.(100)
|
||
|
$SR200 := SampleRate.(200)
|
||
|
|
||
|
Resolution := struct {value: u8}
|
||
|
$RES_1COUNT_PER_MM := Resolution.(0)
|
||
|
$RES_2COUNT_PER_MM := Resolution.(1)
|
||
|
$RES_4COUNT_PER_MM := Resolution.(2)
|
||
|
$RES_8COUNT_PER_MM := Resolution.(3)
|