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

📄 hid_keyboard_button.button

📁 根據bluelab3.5.2實例hid-keyboard做出應用
💻 BUTTON
字号:
// Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006
// Part of BlueLab 3.5.2-release

#ifdef HW_CASIRA_UART

pio 0 CONNECT			/* Use PIO 0 */
pio 1 NO_1_SHORT
pio 2 NO_2_SHORT
pio 3 NO_3_SHORT
pio 4 NO_4_SHORT
pio 5 NO_5_SHORT

pio 9 FIX_PIN_CODE_PIO

message APP_INTERNAL_UNPLUG_IND
	CONNECT held	2000
message APP_FIX_PIN_CODE_IND
	FIX_PIN_CODE_PIO held	2000
	
message APP_NO_1_SHORT
	NO_1_SHORT enter
	//NO_1_SHORT repeat 200
message APP_NO_1_RELEASE
	NO_1_SHORT release


message APP_NO_2_SHORT
	NO_2_SHORT enter
	//NO_2_SHORT repeat 200
	
message APP_NO_3_SHORT
	NO_3_SHORT enter
	//NO_3_SHORT repeat 200
	
message APP_NO_4_SHORT
	NO_4_SHORT enter
	//NO_4_SHORT repeat 200
	
message APP_NO_5_SHORT
	NO_5_SHORT enter
	//NO_7_SHORT repeat 200
	

message APP_NO_2_RELEASE
	NO_2_SHORT release
message APP_NO_3_RELEASE
	NO_3_SHORT release
message APP_NO_4_RELEASE
	NO_4_SHORT release
//message APP_NO_5_RELEASE
//	NO_5_SHORT release
message APP_DFU_BUTTON
	NO_5_SHORT held 2000

#endif

#ifdef HW_DEV_1163A

external 0 CONNECT		/* Use external event */
message APP_INTERNAL_UNPLUG_IND
	CONNECT held	5000

#endif

⌨️ 快捷键说明

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