app_usb.h
来自「Bluetooth HID emulation」· C头文件 代码 · 共 29 行
H
29 行
/* Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006 */
/* Part of BlueLab 3.6.2-release */
#ifndef __app_usb_h
#define __app_usb_h
#include "app_private.h"
extern void UsbHandleClassRequest(appDeviceTaskData *theKeyboard);
extern void UsbInitInterfaceTimeCritical(void);
extern void UsbInitRightMouseDevice(appDeviceTaskData *theDevice);
extern void UsbInitMouseDevice(appDeviceTaskData *theDevice);
/*
Enable/disable mouse and keyboard functionality.
*/
#define USB_MOUSE
/* #define USB_KEYBOARD */
#define HID_MOUSE_SEND_WHEEL /* 荣捞 沥狼登绢 乐澜 */
#define KEYBOARD_ENDPOINT_ADDRESS (end_point_int_out)
/* Although most chips only have one interrupt endpoint, the USB hardware
can multiplex two endpoints by using the bulk end-point to NAK polls.
We enable this mode by declaring an interrupt endpoint with the bulk endpoint
address. */
#define MOUSE_ENDPOINT_ADDRESS (end_point_bulk_out)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?