diff --git a/src/input/src/input.c b/src/input/src/input.c index bb94424..26116c8 100644 --- a/src/input/src/input.c +++ b/src/input/src/input.c @@ -100,7 +100,7 @@ int input_render(const struct input *const in, const union peripheral *const p) switch (p->common.type) { case PERIPHERAL_TYPE_KEYBOARD_MOUSE: - return 0; + break; case PERIPHERAL_TYPE_TOUCH: /* Fall through. */ @@ -108,7 +108,7 @@ int input_render(const struct input *const in, const union peripheral *const p) break; } - return -1; + return 0; } bool input_keyboard_justpressed(const struct input *const in,