hal_joystick.h
来自「CC2500 2.4G无线收发模块的演示程序」· C头文件 代码 · 共 37 行
H
37 行
/***********************************************************************************
Filename: hal_joystick.h
Copyright 2007 Texas Instruments, Inc.
***********************************************************************************/
#ifndef HAL_JOYSTICK_H
#define HAL_JOYSTICK_H
#ifdef __cplusplus
extern "C" {
#endif
enum {
HAL_JOYSTICK_CENTER,
HAL_JOYSTICK_LEFT,
HAL_JOYSTICK_RIGHT,
HAL_JOYSTICK_UP,
HAL_JOYSTICK_DOWN
};
//----------------------------------------------------------------------------------
// Function declarations
//----------------------------------------------------------------------------------
void halJoystickInit(void);
uint8 halJoystickGetPosition(void);
bool halJoystickPushed(void);
#ifdef __cplusplus
}
#endif
/**********************************************************************************/
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?