diff options
author | tomaszduda23 <[email protected]> | 2022-07-10 02:57:03 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2022-07-09 20:57:03 +0300 |
commit | 793edf8203ec7ea5aba934558ea26054628a5618 (patch) | |
tree | c9238136a8fa52d75d52c20bbb3860188729e9aa /hid/lib/drivers/keyboard.h | |
parent | c840ea73068f855e1ebbf738f8ae9e62dde05286 (diff) |
add structures for drivers (#94)
Diffstat (limited to 'hid/lib/drivers/keyboard.h')
-rw-r--r-- | hid/lib/drivers/keyboard.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/hid/lib/drivers/keyboard.h b/hid/lib/drivers/keyboard.h index fe724247..44ffe61a 100644 --- a/hid/lib/drivers/keyboard.h +++ b/hid/lib/drivers/keyboard.h @@ -21,9 +21,14 @@ #pragma once +#include <stdint.h> +#include "driver.h" -typedef struct { - bool caps; - bool scroll; - bool num; -} KeyboardLedsState; +namespace DRIVERS { + + typedef struct { + bool caps; + bool scroll; + bool num; + } KeyboardLedsState; +} |