From ee7b30a7b46837cf66c5fccf6e54dbd3a4edbd1b Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 1 Jul 2019 20:08:10 -0400 Subject: [PATCH] Added KEY_HOME and KEY_CAPTURE for use with HiddbgHdlsState::buttons. --- nx/include/switch/services/hid.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index 69bbdc32..1ecad286 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -271,6 +271,9 @@ typedef enum KEY_SL_RIGHT = BIT(26), ///< SL on Right Joy-Con KEY_SR_RIGHT = BIT(27), ///< SR on Right Joy-Con + KEY_HOME = BIT(18), ///< HOME button, only available for use with HiddbgHdlsState::buttons. + KEY_CAPTURE = BIT(19), ///< Capture button, only available for use with HiddbgHdlsState::buttons. + // Pseudo-key for at least one finger on the touch screen KEY_TOUCH = BIT(28),