📄 app_usb.h
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -