From 84a3441118b87e4f1474ce017a1fee95aed2760b Mon Sep 17 00:00:00 2001 From: strawmanbobi Date: Fri, 24 Apr 2020 19:16:32 +0800 Subject: [PATCH] corrected key mapping for android example --- .../java/net/irext/decode/sdk/utils/Constants.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/android-example/decodesdk/src/main/java/net/irext/decode/sdk/utils/Constants.java b/android-example/decodesdk/src/main/java/net/irext/decode/sdk/utils/Constants.java index a0ec40b..06d3f61 100644 --- a/android-example/decodesdk/src/main/java/net/irext/decode/sdk/utils/Constants.java +++ b/android-example/decodesdk/src/main/java/net/irext/decode/sdk/utils/Constants.java @@ -168,13 +168,13 @@ public class Constants { } public enum ACFunction { - FUNCTION_SWITCH_POWER(1), - FUNCTION_CHANGE_MODE(2), - FUNCTION_TEMPERATURE_UP(3), - FUNCTION_TEMPERATURE_DOWN(4), - FUNCTION_SWITCH_WIND_SPEED(5), - FUNCTION_SWITCH_WIND_DIR(6), - FUNCTION_SWITCH_SWING(7); + FUNCTION_SWITCH_POWER(0), + FUNCTION_CHANGE_MODE(1), + FUNCTION_TEMPERATURE_UP(2), + FUNCTION_TEMPERATURE_DOWN(3), + FUNCTION_SWITCH_WIND_SPEED(9), + FUNCTION_SWITCH_SWING(10), + FUNCTION_SWITCH_WIND_DIR(11); private final int function;