⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 btcustomevent.h

📁 1、手持设备的机器人--服务器端; 2、通过蓝牙通讯;
💻 H
字号:
#ifndef BTCUSTOMEVENT_
#define BTCUSTOMEVENT_

/*
 * Copyright (c) 2004-2005 Mobile Robotics
 * http://mobilerobotics.sf.net
 *
 * File: BtCustomEvent.h
 * Author: Johan Johanson
 * Date: February 26, 2005
 * Updated: February 26, 2005
 *
 * Description: A custom event struct used to notify application of a certain
 * 				event that requires application flow to halt
 *
*/

#include <PalmOS.h>

const UInt16 btCustomRadioStateEvent = 0;

struct BtCustomEvent
{
	// required event attributes
	eventsEnum eType;
	Boolean penDown;
	UInt8 tapCount;
	Int16 screenX;
	Int16 screenY;
	
	// event-specific data
	union
	{
		struct _GenericEventType generic;
		
		struct
		{
			UInt16 type;	// our event type
			UInt16 status;	// our event status code
		} eventData;
	
	} data;
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -