@ -1,5 +1,5 @@
/* Kaleidoscope - Firmware for computer input devices
/* Kaleidoscope - Firmware for computer input devices
* Copyright ( C ) 2013 - 20 18 Keyboard . io , Inc .
* Copyright ( C ) 2013 - 20 22 Keyboard . io , Inc .
*
*
* This program is free software : you can redistribute it and / or modify it under
* This program is free software : you can redistribute it and / or modify it under
* the terms of the GNU General Public License as published by the Free Software
* the terms of the GNU General Public License as published by the Free Software
@ -16,6 +16,8 @@
# pragma once
# pragma once
# include <stdint.h>
namespace kaleidoscope {
namespace kaleidoscope {
// This is the set of return values for event handlers. Event handlers for
// This is the set of return values for event handlers. Event handlers for
@ -41,7 +43,7 @@ namespace kaleidoscope {
// further handlers. There is currently no specification for what should
// further handlers. There is currently no specification for what should
// happen if this is returned.
// happen if this is returned.
enum class EventHandlerResul t {
enum class EventHandlerResult : uint8_ t {
OK ,
OK ,
EVENT_CONSUMED ,
EVENT_CONSUMED ,
ABORT ,
ABORT ,