#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <str_error.h>
#include <bool.h>
#include <getopt.h>
#include <devman.h>
#include <devmap.h>
#include <usb/dev/hub.h>
#include <usb/hid/iface.h>
#include <usb/dev/pipes.h>
#include <async.h>
#include <usb/hid/usages/core.h>
#include <usb/hid/hidparser.h>
#include <usb/hid/hiddescriptor.h>
#include <usb/hid/usages/consumer.h>
#include <assert.h>
Go to the source code of this file.
Defines | |
#define | MAX_PATH_LENGTH 1024 |
#define | NAME "mkbd" |
Functions | |
static int | initialize_report_parser (int dev_phone, usb_hid_report_t **report) |
int | main (int argc, char *argv[]) |
static void | print_key (uint8_t *buffer, size_t size, usb_hid_report_t *report) |
static void | print_usage (char *app_name) |
Variables | |
static int | dev_phone = -1 |
Definition in file main.c.