mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-30 16:54:17 +01:00
hid: clang-format
This commit is contained in:
parent
36b89787ce
commit
eff90550a1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user