1
1
Fork 0
forked from suyu/suyu

hid: clang-format

This commit is contained in:
shinyquagsire23 2018-01-16 19:22:58 -07:00
parent 36b89787ce
commit eff90550a1

View file

@ -74,8 +74,7 @@ private:
controller_header.left_color_body = JOYCON_BODY_NEON_BLUE; controller_header.left_color_body = JOYCON_BODY_NEON_BLUE;
controller_header.left_color_buttons = JOYCON_BUTTONS_NEON_BLUE; controller_header.left_color_buttons = JOYCON_BUTTONS_NEON_BLUE;
for (int layoutIdx = 0; layoutIdx < HID_NUM_LAYOUTS; layoutIdx++) for (int layoutIdx = 0; layoutIdx < HID_NUM_LAYOUTS; layoutIdx++) {
{
ControllerLayout& layout = mem->controllers[Controller_Handheld].layouts[layoutIdx]; ControllerLayout& layout = mem->controllers[Controller_Handheld].layouts[layoutIdx];
layout.header.num_entries = HID_NUM_ENTRIES; layout.header.num_entries = HID_NUM_ENTRIES;
layout.header.max_entry_index = HID_NUM_ENTRIES - 1; layout.header.max_entry_index = HID_NUM_ENTRIES - 1;
@ -128,7 +127,8 @@ private:
// TODO(shinyquagsire23): Analog stick vals // TODO(shinyquagsire23): Analog stick vals
// TODO(shinyquagsire23): Update pad info proper, (circular buffers, timestamps, layouts) // TODO(shinyquagsire23): Update pad info proper, (circular buffers, timestamps,
// layouts)
} }
// TODO(shinyquagsire23): Update touch info // TODO(shinyquagsire23): Update touch info