summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar shinyquagsire232018-01-16 19:22:58 -0700
committerGravatar shinyquagsire232018-01-16 19:22:58 -0700
commiteff90550a12f0edc696aedd055eea063634c24a1 (patch)
tree608ae6eaf17a75bec1f21b500d53f4e1a0babe8d
parenthid: Adjust for style guide (diff)
downloadyuzu-eff90550a12f0edc696aedd055eea063634c24a1.tar.gz
yuzu-eff90550a12f0edc696aedd055eea063634c24a1.tar.xz
yuzu-eff90550a12f0edc696aedd055eea063634c24a1.zip
hid: clang-format
-rw-r--r--src/core/hle/service/hid/hid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 42e0f1e12..6254237fa 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -74,8 +74,7 @@ private:
74 controller_header.left_color_body = JOYCON_BODY_NEON_BLUE; 74 controller_header.left_color_body = JOYCON_BODY_NEON_BLUE;
75 controller_header.left_color_buttons = JOYCON_BUTTONS_NEON_BLUE; 75 controller_header.left_color_buttons = JOYCON_BUTTONS_NEON_BLUE;
76 76
77 for (int layoutIdx = 0; layoutIdx < HID_NUM_LAYOUTS; layoutIdx++) 77 for (int layoutIdx = 0; layoutIdx < HID_NUM_LAYOUTS; layoutIdx++) {
78 {
79 ControllerLayout& layout = mem->controllers[Controller_Handheld].layouts[layoutIdx]; 78 ControllerLayout& layout = mem->controllers[Controller_Handheld].layouts[layoutIdx];
80 layout.header.num_entries = HID_NUM_ENTRIES; 79 layout.header.num_entries = HID_NUM_ENTRIES;
81 layout.header.max_entry_index = HID_NUM_ENTRIES - 1; 80 layout.header.max_entry_index = HID_NUM_ENTRIES - 1;
@@ -128,7 +127,8 @@ private:
128 127
129 // TODO(shinyquagsire23): Analog stick vals 128 // TODO(shinyquagsire23): Analog stick vals
130 129
131 // TODO(shinyquagsire23): Update pad info proper, (circular buffers, timestamps, layouts) 130 // TODO(shinyquagsire23): Update pad info proper, (circular buffers, timestamps,
131 // layouts)
132 } 132 }
133 133
134 // TODO(shinyquagsire23): Update touch info 134 // TODO(shinyquagsire23): Update touch info