update input blocks in docs and tests
This commit is contained in:
1 parent
38cf0ec0c6
commit
c2cdcaa40f
62 files changed
+109
-115
No files matched your search
+2
-2
@@ -332,12 +332,12 @@ function checkBufferEqual(a: Buffer, b: Buffer) {
|
||||
return true;
|
||||
}
|
||||
|
||||
input.onButtonPressed(Button.A, function () {
|
||||
input.input.onButtonEvent(Button.A, ButtonEvent.Click, function () {
|
||||
basic.showString("S");
|
||||
initSender();
|
||||
})
|
||||
|
||||
input.onButtonPressed(Button.B, function () {
|
||||
input.input.onButtonEvent(Button.B, ButtonEvent.Click, function () {
|
||||
basic.showString("R");
|
||||
initReceiver();
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user