blob: 4cfbe6cfc43a9ed1d73a6f5817b4ae8e9d9ff524 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <stdint.h>
#include <zircon/types.h>
#include <zircon/compiler.h>
__BEGIN_CDECLS
typedef struct hid_boot_kbd_report {
uint8_t modifier;
uint8_t reserved;
uint8_t usage[6];
} __attribute__((packed)) hid_boot_kbd_report_t;
const uint8_t* get_boot_kbd_report_desc(size_t* size);
typedef struct hid_boot_mouse_report {
uint8_t buttons;
int8_t rel_x;
int8_t rel_y;
} __attribute__((packed)) hid_boot_mouse_report_t;
const uint8_t* get_boot_mouse_report_desc(size_t* size);
__END_CDECLS