From 472c408288ba721d36e478a750d6c1b5e56e19d3 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Mon, 20 Nov 2017 02:27:21 -0700 Subject: [PATCH] Add HIDMousebutton --- nx/include/switch/services/hid.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index 9515c54c..d40c89f4 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -3,6 +3,15 @@ // Begin enums +typedef enum +{ + MOUSE_LEFT = BIT(0), + MOUSE_RIGHT = BIT(1), + MOUSE_MIDDLE = BIT(2), + MOUSE_FORWARD = BIT(3), + MOUSE_BACK = BIT(4), +} HIDMouseButton; + typedef enum { KBD_MOD_LCTRL = BIT(0),