From 0806282bbf164d02cb65f330ea87017d10359116 Mon Sep 17 00:00:00 2001 From: Tau Date: Sun, 3 Mar 2019 20:02:13 -0500 Subject: [PATCH] board/guid.c: Add HID class GUID --- board/guid.c | 3 +++ board/guid.h | 10 ++++++++++ board/meson.build | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 board/guid.c create mode 100644 board/guid.h diff --git a/board/guid.c b/board/guid.c new file mode 100644 index 0000000..e987000 --- /dev/null +++ b/board/guid.c @@ -0,0 +1,3 @@ +#include + +#include "board/guid.h" diff --git a/board/guid.h b/board/guid.h new file mode 100644 index 0000000..707e85a --- /dev/null +++ b/board/guid.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +DEFINE_GUID( + hid_guid, + 0x4D1E55B2L, + 0xF16F, + 0x11CF, + 0x88, 0xCB, 0x00, 0x11, 0x11, 0x00, 0x00, 0x30); diff --git a/board/meson.build b/board/meson.build index 79dea26..34c1b25 100644 --- a/board/meson.build +++ b/board/meson.build @@ -10,6 +10,8 @@ board_lib = static_library( capnhook.get_variable('hook_dep'), ], sources : [ + 'guid.c', + 'guid.h', 'io3.c', 'io3.h', 'sg-cmd.c',