circle_test.h
来自「这是nrf24lu1的无线鼠标源代码,应用平台是keil c」· C头文件 代码 · 共 39 行
H
39 行
/* Copyright (c) 2007 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is confidential property of
* Nordic Semiconductor. The use, copying, transfer or disclosure
* of such information is prohibited except by express written
* agreement with Nordic Semiconductor.
*/
/** @file
* Header file for mouse circle data generator used in the
* Wireless Desktop Protocol demo.
*
* @author Lasse Olsen
*
*/
#ifndef _CIRLE_TEST_H
#define _CIRLE_TEST_H
#include "wdp_device.h"
#define CORD_SIZE 25
typedef enum
{
X_POS,
Y_POS
} circle_test_pos;
/**
Function for generating relative mouse positions drawing a circle.
@param ret_data returns the relative movements. X movement is returned in *(ret_data)
and Y movement is returned in *(ret_data+1). The drawn cicle will consist of 100
points.
*/
void circle_test_get(int8_t *ret_data);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?