From 32128cb9574a663d753c2626ed644f588ae7b6a0 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sun, 21 May 2017 07:34:18 -0700 Subject: [PATCH] swap 1 down / 1 up (#404) * moving devices implementations to js to get simulator support * swap 1down/up --- libs/devices/devices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/devices/devices.cpp b/libs/devices/devices.cpp index fe75a7e8..bff9d3aa 100644 --- a/libs/devices/devices.cpp +++ b/libs/devices/devices.cpp @@ -103,9 +103,9 @@ enum class MesDpadButtonInfo { //% block="D up" DUp = MES_DPAD_BUTTON_D_UP, //% block="1 down" - _1Down = MES_DPAD_BUTTON_1_UP, + _1Down = MES_DPAD_BUTTON_1_DOWN, //% block="1 up" - _1Up = MES_DPAD_BUTTON_1_DOWN, + _1Up = MES_DPAD_BUTTON_1_UP, //% block="2 down" _2Down = MES_DPAD_BUTTON_2_DOWN, //% block="2 up"