summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-02-22 00:50:16 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-02-22 21:09:08 +0100
commitaa64f69af019d6a30e812593eaa70ba9c90dd865 (patch)
treef6de223fb79ddf3563d4c7f5a5e126f59f61835c /src/core/hle
parentMerge pull request #590 from linkmauve/rename-dolphin (diff)
downloadyuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.tar
yuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.tar.gz
yuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.tar.bz2
yuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.tar.lz
yuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.tar.xz
yuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.tar.zst
yuzu-aa64f69af019d6a30e812593eaa70ba9c90dd865.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/hid/hid.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index 2116d2ca3..fc628f36a 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -47,6 +47,15 @@ struct PadState {
BitField<10, 1, u32> x;
BitField<11, 1, u32> y;
+ BitField<14, 1, u32> zl;
+ BitField<15, 1, u32> zr;
+
+ BitField<20, 1, u32> touch;
+
+ BitField<24, 1, u32> c_right;
+ BitField<25, 1, u32> c_left;
+ BitField<26, 1, u32> c_up;
+ BitField<27, 1, u32> c_down;
BitField<28, 1, u32> circle_right;
BitField<29, 1, u32> circle_left;
BitField<30, 1, u32> circle_up;
@@ -99,6 +108,16 @@ const PadState PAD_R = {{1u << 8}};
const PadState PAD_L = {{1u << 9}};
const PadState PAD_X = {{1u << 10}};
const PadState PAD_Y = {{1u << 11}};
+
+const PadState PAD_ZL = {{1u << 14}};
+const PadState PAD_ZR = {{1u << 15}};
+
+const PadState PAD_TOUCH = {{1u << 20}};
+
+const PadState PAD_C_RIGHT = {{1u << 24}};
+const PadState PAD_C_LEFT = {{1u << 25}};
+const PadState PAD_C_UP = {{1u << 26}};
+const PadState PAD_C_DOWN = {{1u << 27}};
const PadState PAD_CIRCLE_RIGHT = {{1u << 28}};
const PadState PAD_CIRCLE_LEFT = {{1u << 29}};
const PadState PAD_CIRCLE_UP = {{1u << 30}};