From c3a6d29cf4a630ee0ec2b715df4f04875d4b41a7 Mon Sep 17 00:00:00 2001
From: yellows8 <yellows8@users.noreply.github.com>
Date: Sat, 14 Nov 2020 13:33:42 -0500
Subject: [PATCH] hid: Added KEY_NES_HANDHELD_LEFT_B.

---
 nx/include/switch/services/hid.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h
index b7f7e6e2..7828d330 100644
--- a/nx/include/switch/services/hid.h
+++ b/nx/include/switch/services/hid.h
@@ -284,6 +284,8 @@ typedef enum {
     // Pseudo-key for at least one finger on the touch screen
     KEY_TOUCH       = BIT(28),
 
+    KEY_NES_HANDHELD_LEFT_B = BIT(30),   ///< Left B button on NES controllers in Handheld mode.
+
     // Buttons by orientation (for single Joy-Con), also works with Joy-Con pairs, Pro Controller
     KEY_JOYCON_RIGHT = BIT(0),
     KEY_JOYCON_DOWN  = BIT(1),