mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
Updated Snippet: Hardware Constants (markdown)
parent
3241f1ae53
commit
33ec059fbc
@ -1,5 +1,3 @@
|
|||||||
Insert this code before the new code you write for MuchAssemblyRequired, and use a text editor like VSCode, Notepad++, Sublime, etc. for auto-complete.
|
|
||||||
|
|
||||||
```assembly
|
```assembly
|
||||||
;*************************** Hardware IDs
|
;*************************** Hardware IDs
|
||||||
HWID_LEGS equ 0x1
|
HWID_LEGS equ 0x1
|
||||||
@ -30,8 +28,6 @@ INV_EMPTY equ 0
|
|||||||
;*************************** Laser actions IDs
|
;*************************** Laser actions IDs
|
||||||
LASER_WITHDRAW equ 1
|
LASER_WITHDRAW equ 1
|
||||||
LASER_DEPOSIT equ 2
|
LASER_DEPOSIT equ 2
|
||||||
; Items that can be used with the Laser
|
|
||||||
ITEM_BIOMASS equ 0x1
|
|
||||||
|
|
||||||
;*************************** Legs actions IDs
|
;*************************** Legs actions IDs
|
||||||
LEGS_SET_DIRECTION equ 1
|
LEGS_SET_DIRECTION equ 1
|
||||||
@ -51,13 +47,6 @@ LIDAR_GET_WORLD_POS equ 4
|
|||||||
;*************************** Keyboard actions IDs
|
;*************************** Keyboard actions IDs
|
||||||
KEYBOARD_CLEAR equ 0
|
KEYBOARD_CLEAR equ 0
|
||||||
KEYBOARD_FETCH_KEY equ 1
|
KEYBOARD_FETCH_KEY equ 1
|
||||||
; Keys to use with Keyboard Hardware
|
|
||||||
KEY_A equ 0x41
|
|
||||||
KEY_D equ 0x44
|
|
||||||
KEY_E equ 0x45
|
|
||||||
KEY_F equ 0x46
|
|
||||||
KEY_S equ 0x53
|
|
||||||
KEY_W equ 0x57
|
|
||||||
|
|
||||||
;*************************** Hologram Projector actions IDs
|
;*************************** Hologram Projector actions IDs
|
||||||
HOLO_CLEAR equ 0
|
HOLO_CLEAR equ 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user