progress adding ability to change colour of triangle
This commit is contained in:
@@ -37,10 +37,22 @@ struct
|
||||
andalso mods = 0x0002
|
||||
then
|
||||
Mailbox.send (mailbox, REDO_ACTION)
|
||||
else if
|
||||
key = Input.KEY_R () andalso action <> Input.RELEASE () andalso mods = 0x0
|
||||
then
|
||||
Mailbox.send (mailbox, KEY_R)
|
||||
else if
|
||||
key = Input.KEY_G () andalso action <> Input.RELEASE () andalso mods = 0x0
|
||||
then
|
||||
Mailbox.send (mailbox, KEY_G)
|
||||
else if
|
||||
key = Input.KEY_B () andalso action <> Input.RELEASE () andalso mods = 0x0
|
||||
then
|
||||
Mailbox.send (mailbox, KEY_B)
|
||||
else if
|
||||
key = Input.KEY_T () andalso action <> Input.RELEASE () andalso mods = 0x0
|
||||
then
|
||||
Mailbox.send (mailbox, KEY_T)
|
||||
else if
|
||||
(* ctrl-s *)
|
||||
key = Input.KEY_S () andalso action = Input.PRESS () andalso mods = 0x002
|
||||
|
||||
Reference in New Issue
Block a user