flex游戏引擎(PushButton)-控制输入(2)

InputMap Key 名

以下是使用在InputMap class中的键,每个键盘的标签做为InputKey class 的常量名,也在XML定义的InputMap使用。

Navigation Keys

  • PAGE_UP
    The page up key.
  • PAGE_DOWN
    The page down key.
  • END
    The end key.
  • HOME
    The home key.
  • LEFT (LEFT_ARROW)
    The left arrow key.
  • RIGHT (RIGHT_ARROW)
    The right arrow key.
  • UP (UP_ARROW)
    The up arrow key.
  • DOWN (DOWN_ARROW)
    The down arrow key.

Number Keys

  • ZERO (0, NUMBER_0)
    The '0' key at the top of the keyboard (not the number pad).
  • ONE (1, NUMBER_1)
    The '1' key at the top of the keyboard (not the number pad).
  • TWO (2, NUMBER_2)
    The '2' key at the top of the keyboard (not the number pad).
  • THREE (3, NUMBER_3)
    The '3' key at the top of the keyboard (not the number pad).
  • FOUR (4, NUMBER_4)
    The '4' key at the top of the keyboard (not the number pad).
  • FIVE (5, NUMBER_5)
    The '5' key at the top of the keyboard (not the number pad).
  • SIX (6, NUMBER_6)
    The '6' key at the top of the keyboard (not the number pad).
  • SEVEN (7, NUMBER_7)
    The '7' key at the top of the keyboard (not the number pad).
  • EIGHT (8, NUMBER_8)
    The '8' key at the top of the keyboard (not the number pad).
  • NINE (9, NUMBER_9)
    The '9' key at the top of the keyboard (not the number pad).

Letter Keys

  • A
    The A key.
  • B
    The B key.
  • C
    The C key.
  • D
    The D key.
  • E
    The E key.
  • F
    The F key.
  • G
    The G key.
  • H
    The H key.
  • I
    The I key.
  • J
    The J key.
  • K
    The K key.
  • L
    The L key.
  • M
    The M key.
  • N
    The N key.
  • O
    The O key.
  • P
    The P key.
  • Q
    The Q key.
  • R
    The R key.
  • S
    The S key.
  • T
    The T key.
  • U
    The U key.
  • V
    The V key.
  • W
    The W key.
  • X
    The X key.
  • Y
    The Y key.
  • Z
    The Z key.

Number Pad Keys

  • NUM0 (NUMPAD_0)
    Zero on the number pad.
  • NUM1 (NUMPAD_1)
    One on the number pad.
  • NUM2 (NUMPAD_2)
    Two on the number pad.
  • NUM3 (NUMPAD_3)
    Three on the number pad.
  • NUM4 (NUMPAD_4)
    Four on the number pad.
  • NUM5 (NUMPAD_5)
    Five on the number pad.
  • NUM6 (NUMPAD_6)
    Six on the number pad.
  • NUM7 (NUMPAD_7)
    Seven on the number pad.
  • NUM8 (NUMPAD_8)
    Eight on the number pad.
  • NUM9 (NUMPAD_9)
    Nine on the number pad.
  • MULTIPLY (ASTERISK, NUMMULTIPLY, NUMPAD_MULTIPLY)
    The asterisk key on the number pad (*).
  • ADD (NUMADD, NUMPAD_ADD)
    The add key on the number pad (+).
  • SUBTRACT (NUMSUBTRACT, NUMPAD_SUBTRACT)
    The subtract key on the number pad (-).
  • DECIMAL (NUMDECIMAL, NUMPERIOD, NUMPAD_DECIMAL, NUMPAD_PERIOD)
    The decimal key on the number pad (.).
  • DIVIDE (NUMDIVIDE, NUMPAD_DIVIDE)
    The divide key on the number pad (/).
  • NUMENTER (NUMPAD_ENTER)
    The enter key on the number pad.

Function Keys

  • F1
    The first function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F2
    The second function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F3
    The third function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F4
    The fourth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F5
    The fifth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F6
    The sixth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F7
    The seventh function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F8
    The eighth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F9
    The ninth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F11
    The eleventh function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F12
    The twelfth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F13
    The thirteenth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F14
    The fourteenth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.
  • F15
    The fifteenth function key. Some keyboards map the function keys to special commands, and thus can't be relied upon.

Punctuation Keys

  • PLUS (EQUAL)
    The equals key (=). This is not the add key on the number pad.
  • MINUS (UNDERSCORE)
    The minus key (-). This is not the subtract key on the number pad.
  • COLON (SEMICOLON)
    The semi-colon key (;).
  • COMMA (LESS_THAN)
    The comma key (,).
  • PERIOD (GREATER_THAN)
    The period key (.). This is not the decimal on the number pad.
  • BACKSLASH (QUESTION_MARK)
    The backslash key (/). This is not the divid key on the number pad.
  • SLASH (FORWARD_SLASH, PIPE)
    The forward slash key (\).
  • TILDE (BACKQUOTE)
    The tilde key (~).
  • LEFT_BRACKET (LEFT_BRACE)
    The left bracket key ([).
  • RIGHT_BRACKET (RIGHT_BRACE)
    The right bracket key (]).
  • QUOTE
    The quote key (').

Other Keys

  • BACKSPACE
    The backspace key. Labeled 'delete' on Apple keyboards.
  • TAB
    The tab key.
  • SPACE (SPACE_BAR)
    The space bar key.
  • ENTER (RETURN)
    The enter key. Labeled 'return' on Apple keyboards. This is not the enter key on the number pad.
  • SHIFT
    Either the left or right shift key.
  • CONTROL
    Either the left or right control key.
  • COMMAND
    The command key. Only available on OSX.
  • ALT (OPTION, ALTERNATE)
    The alt key. Labeled 'option' on Apple keyboards.
  • PAUSE
    The pause key. Sometimes this is labeled 'break'.
  • ESCAPE
    The escape key.
  • INSERT
    The insert key.
  • DELETE
    The delete key. This is the forward delete key on Apple keyboards.
  • CAPS_LOCK
    The caps lock key.
  • NUM_LOCK
    The num lock key.
  • SCROLL_LOCK
    The scroll lock key.

Mouse

  • MOUSE_BUTTON
    The left mouse button.
  • MOUSE_X
    Horizontal mouse movement.
  • MOUSE_Y
    Vertical mouse movement.
flex游戏引擎(pushbutton)-飞机发子弹 NULL 博文链接:https://deepfuture.iteye.com/blog/722156 立即下载

相关推荐

生物信息学名词解释 | K-mer (长度为k的短序列)

K-mer 何谓K-mer 所谓Kmer,即为一段长度为k的DNA片段,是由测序reads剪切一部分得到的。k为一个奇数,k=几,就为几mer。 比如:我的测序reads长度为100bp,我将这100bp打断成17bp的短片段,打断后的17bp段片段就叫17mer,可以获得(100-17+1)条k-mer序列。 Table1 k-mers for GTAGAGCTGT. k k-mers 1 G,T,A,G,A,G,C,T,G,T 3 GTA,TAG,AGA,GAG,AGC,GCT,CT

qq_50637636的博客 2万+

Python Keys常用键

【代码】Python Keys常用键。

weixin_42534205的博客 2882

学习 Bootstrap 5 之 Tables

学习 Bootstrap 5 之 表格表格 (Tables)1. 创建表格(1). 使用原生的表格标签(2). 使用Bootstrap 5 的提供的表格标签类(3). 原生与Bootstrap创建出来的表格的对比2. 表格样式(1). 表格样式的效果(2). 表格样式的使用1). 用于 <table> 标签2). 用于 <thead> <tbody> <tfoot> 标签 表格 (Tables) 1. 创建表格 (1). 使用原生的表格标签 <tabl

qq_37354060的博客 2130

近源渗透学习

一、近源渗透 近源渗透测试是网络空间安全领域逐渐兴起的一种新的安全评估手段。 它是一种集常规网络攻防、物理接近、社会工程学及无线电通信攻防等能力于一体的高规格网络安全评估行动。网络安全评估小组在签订渗透测试授权协议后,通过乔装、社工等方式实地物理侵入企业办公区域,通过其内部各种潜在攻击面(如Wi-Fi网络、RFID门禁、暴露的有线网口、USB接口等)获得“战果”,最后以隐秘的方式将评估结果带出上...

tomyyyyy 2136

RL调参侠之BipedalWalker BipedalWalkerHardcore SAC

前几天用PPO训练了个很一般的agent: RL调参侠之BipedalWalker PPO 我看SpinningUp上面说PPO和SAC是两个领域里各自的State_of_the_art的方法,所以就打算跑SAC试试看,之前因为Open AI Five的原因,一直感觉PPO很牛掰,实际上现在很多自动驾驶的算法也是用PPO在跑,毕竟有一个“必定能够提升期望”的理论保证在这里,我理解这对做项目很大的诱惑。 不过我跑出来的结果明显是SAC更好。 调参侠时间 策略熵的权重alpha用的0.2,我一开始没有看SAC的

weixin_48370148的博客 2101

CONN工具箱分析fmri数据笔记1

前言一、安装二、预处理三、去噪 前言 CONN:functional connectivity toolbox,是基于MATLAB和SPM的一个对功能磁共振数据进行分析的一个工具箱。可以进行以下分析: Seed-based correlations (SBC), ROI-to-ROI correlations, graph analyses, Independent component analyses(group-ICA), Masked (ICA) Amplitude of Low-Frequency.

weixin_52073820的博客 6587

Cocos2d-x键盘按键

在cocos2d-x的交互功能中,必不可免的会有键盘响应的事件(除了PC端游戏会用到键盘,现在有些手机或者平板也会插上键盘来进行辅助) 对于键盘事件的监听,许多教程或者书本上都有讲述。但是对于键盘具体按键的判断,许多教程书籍上并没有提到。笔者查阅了一下资料以及键盘事件的头文件,得到了一个相对简...

chipinyun3585的博客 666

【ARM Coresight | AMBA BUS | Cache 与 MMU/MPU | CoreLink | GCC | CSH 专栏导读】

1. ARM Coresight(SoC-400/SoC-600) 专栏 2. ARMv8/v9 CPU/Cache 专栏 3. Linux ARM AMBA 总线 专栏 4. Trace32/DS-5 专栏。。。

CodingCos的博客 8245

Flex通信篇——Flex键盘组合键

Flex中的键盘事件 要在Flex中响应键盘输入,只需注册keyDown事件即可。 xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" keyDown="OnKeyDown(event)">                  private function OnKeyDown(event:Keyboard

#六脉神剑的专栏 6109

【Claude Code】Extra inputs are not permitted 报错:代理网关剥离 Beta 标头的修复

通过代理或 LLM 网关连接 Anthropic API 时,Claude Code 报 "Extra inputs are not permitted"?根因是中间件删除了 anthropic-beta 请求标头,导致 Beta 字段被 API 拒绝。本文详解标头转发配置和 CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS 回退方案。

多媒体编程、网络编程、系统编程、网络安全编程、驱动编程 126

RTK_ROS_导航(1): GNSS里程计

1. RTK 配置 4G CORS + 4G 网络 + 户外有信号,不能实现RTK,就恢复出厂设置 输出信息包含(一般需要三个同时打开): GAPPA:包含位置信息 GPVTG:包含速度信息 GPHDT:包含定向的朝向信息 2. ROS驱动 驱动安装sudo apt install ros-noetic-nmea-navsat-driver 运行,需要修改该功能包的启动端口,会自动解析上面的3个RTK语句信息roslaunch nmea_navsat_driver nmea_serial_d

旋风小短腿 4266

【深入浅出 Nvidia FleX】(1) Position Based Dynamics

PBD 在youtube 上效果很赞 原文地址 https://zhuanlan.zhihu.com/p/48737753 【深入浅出 Nvidia FleX】(1) Position Based Dynamics Gfans Physics programmer at NVIDIA 129 人赞同了该文章 一、Nvidia FleX简介 FleX 是一款完全基于GPU...

啊哈的专栏 5182

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

关于游戏引擎PushButton的教程和演示(五)

首先,谈不上教程,我也只是把我喜欢的写给大家而已,我对Flex技术并没有什么深入的理解,只是喜欢。 我对Flash并没有比大家更多的认识(我的朋友都知道,我不过只是做些ASP.NET动态网站和进行些浏览器编程,如ExtJs,jQuery),一个偶然的想法,我打开了FlexBuilder,辗转多个网页,感谢chrome,让我找到了PushButton,以下教程的大部分内容都来自于Mat...

weixin_30920091的博客 196

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

关于游戏引擎PushButton的教程和演示(三)

首先,谈不上教程,我也只是把我喜欢的写给大家而已,我对Flex技术并没有什么深入的理解,只是喜欢。 我对Flash并没有比大家更多的认识(我的朋友都知道,我不过只是做些ASP.NET动态网站和进行些浏览器编程,如ExtJs,jQuery),一个偶然的想法,我打开了FlexBuilder,辗转多个网页,感谢chrome,让我找到了PushButton,以下教程的大部分内容都来自于Matth...

weixin_30532369的博客 147

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

flex游戏引擎(PushButton)-控制输入(1)

InputManager可以完成一些简单的控制,但是当你要完成较复杂的控制时应使用InputMap,虽然InputManager使用较简单如下: 1.if(InputManager.isKeyDown(InputKey.UP)) 2.   moveItemUp();   当你有第三方设备输入(比如手柄等),当你要控制键盘和鼠标,你可以采用一种一致的方式去...

深未来技术 132

flex游戏引擎(PushButton)--键盘控制组件-移动小球

Lesson4Base.as   /******************************************************************************* * PushButton Engine * Copyright (C) 2009 PushButton Labs, LLC * For more information see http://www....

深未来技术 162

flex游戏引擎(PushButton)--移动小球变成移动飞机

/******************************************************************************* * PushButton Engine * Copyright (C) 2009 PushButton Labs, LLC * For more information see http://www.pushbuttonengine.co...

深未来技术 267

flex游戏引擎(PushButton)--组件运动-自动走的小球

Lesson3Base.as /******************************************************************************* * PushButton Engine * Copyright (C) 2009 PushButton Labs, LLC * For more information see http://www.pus...

深未来技术 182

流批一体向量化计算引擎 Flex 在蚂蚁的探索和实践

Flex是蚂蚁数据部自研的一款流批一体的向量化引擎,Flex是Fink和Velox的全称,也是Flexible的前缀,被赋予了灵活可插拔的寓意。本文将重点从向量化技术背景、Flex架构方案和未来规划三个方面展开论述。

DB_GPT的博客 2228

flex游戏引擎(PushBotton)-执行流

PushButton Engine不会主动执行主循环从而控制你的游戏,你必须要亲自启动它 Engine Startup 如果你使用PushButton Engine MXML tags,在程序启动时尽可能早地处理,层相关的tags在应用程序事件结束后处理,资源 相关的tags在被flex加载时立刻被处理 - usually in the first few frames.     为了管理这些...

深未来技术 254

推荐项目:Flex Engine - 实时光线渲染与实时模拟的实验性游戏引擎

推荐项目:Flex Engine - 实时光线渲染与实时模拟的实验性游戏引擎 去发现同类优质开源项目:https://gitcode.com/ Flex Engine 是一个由个人开发者AJ Weeks于2017年初启动的游戏引擎项目,它被设计为学习实时光线渲染和实时模拟技术的理想平台。虽然这不是一款商业游戏引擎,也不面向公众开放,但其独特性和创新功能使其值得技术爱好者和开发者关注。 项目构建与...

gitblog_00064的博客 762

Flex引擎

Flex引擎 2010年06月04日   游戏引擎   1、FFilmation 是一个2.5D游戏引擎,类似暗黑破坏神那种45度的游戏引擎 http://www.ffilmation.org/website/   2、PushButton Engine 是开源的Flash游戏引擎,提供大量素材。 http://pushbuttonengine.com/   3、Yo...

mkxh71mkxh 267

几个flash游戏引擎

为什么80%的码农都做不了架构师?>>> ...

weixin_34309435的博客 255
上一篇: flex游戏引擎(PushButton)-控制输入(1)
下一篇: 12款个人防火墙软件横向评测
deepfuture
博客等级 码龄17年 211粉丝 1287原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值