`
deepfuture
  • 浏览: 4413635 次
  • 性别: Icon_minigender_1
  • 来自: 湛江
博客专栏
073ec2a9-85b7-3ebf-a3bb-c6361e6c6f64
SQLite源码剖析
浏览量:80139
1591c4b8-62f1-3d3e-9551-25c77465da96
WIN32汇编语言学习应用...
浏览量:70400
F5390db6-59dd-338f-ba18-4e93943ff06a
神奇的perl
浏览量:103613
Dac44363-8a80-3836-99aa-f7b7780fa6e2
lucene等搜索引擎解析...
浏览量:286629
Ec49a563-4109-3c69-9c83-8f6d068ba113
深入lucene3.5源码...
浏览量:15056
9b99bfc2-19c2-3346-9100-7f8879c731ce
VB.NET并行与分布式编...
浏览量:67841
B1db2af3-06b3-35bb-ac08-59ff2d1324b4
silverlight 5...
浏览量:32297
4a56b548-ab3d-35af-a984-e0781d142c23
算法下午茶系列
浏览量:46079
社区版块
存档分类
最新评论

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)--键盘控制组件-移动小球

    在本文中,我们将深入探讨如何使用Flex游戏引擎PushButton来创建一个简单的键盘控制组件,以实现小球的移动。Flex是一种强大的开源框架,用于构建富互联网应用程序(RIA),而PushButton是其内置的交互式组件之一。...

    flex游戏引擎(PushButton)-简单移动飞机在背景上

    Flex引擎基于ActionScript 3,这是一种面向对象的编程语言,它是Flash Player和Adobe AIR平台的一部分。通过ActionScript,开发者可以创建丰富的互联网应用和游戏,具有高性能和强大的图形处理能力。 在“简单移动...

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

    《Flex游戏引擎与PushButton组件:实现自动行走的小球》 Flex游戏引擎,作为一个强大的开发工具,为创建互动式、富媒体的应用程序提供了便利。在本文中,我们将专注于使用Flex中的PushButton组件来实现一个自动行走...

    pushbutton游戏引擎文档

    3. **Flex游戏引擎(PushButton)--键盘控制组件-移动小球**:讲解了如何响应用户的键盘输入,控制游戏对象如小球的移动,实现了基本的交互功能。 4. **Flex游戏引擎(PushButton)--移动小球变成移动飞机**:展示了...

    flex游戏引擎(pushbutton)-飞机发子弹

    《Flex游戏引擎——PushButton实现飞机发射子弹》 在游戏开发领域,Flex作为一种基于ActionScript 3.0的开源框架,常被用于构建富互联网应用(RIA),包括各种类型的游戏。本篇将深入探讨如何利用Flex游戏引擎中的...

    游戏引擎PushButton的教程和演示

    【PushButton游戏引擎教程与演示详解】 PushButton是一款专为游戏开发设计的游戏引擎,它提供了一种模块化、组件化的编程方式,让开发者可以更灵活地构建游戏。本教程旨在帮助你快速掌握PushButton的基本结构和用法...

    flash游戏开发引擎——pushbutton engine

    而Pushbutton Engine,作为一款强大的Flash游戏开发引擎,为设计师们提供了丰富的游戏组件,让开发者可以更加专注于游戏本身的创新与设计,而非底层技术的实现。 Pushbutton Engine的核心优势在于其对游戏开发流程...

    pushbuttonengine flex游戏引擎

    PushButton Engine is a free framework for building Flash games. There are lots of great libraries for Flash game development. PushButton Engine makes it easy to bring those libraries together to build...

    pushbutton-speak-stop-skill

    一键式语音/停止技能 关于 假设有一个连接到Raspberry Pi的按钮,则会编写此Mycroft技能。 短按该按钮与说出唤醒词相同,然后允许用户说出命令。 长按与发出“停止”命令相同,因此将停止播放任何音频。...

    原创pushbutton应用显示多行文字及数学公式-003v2.rar

    原创pushbutton应用显示多行文字及数学公式-003v2.rar 因為修改太多~重新發帖~ 舊帖請至 https://www.ilovematlab.cn/thread-86806-1-4.html 查看 該函數應該已經很完善 如果有出現問題可至下方網址的日誌回報 ...

    Flash2D+3D游戏引擎

    ### Flash2D+3D游戏引擎详解 #### 一、引言 随着技术的发展与进步,游戏行业也在不断地寻求创新与发展。Flash作为一种重要的游戏开发工具,不仅支持2D游戏的制作,同时也能够实现3D效果。本文将详细介绍几种基于...

    AS3游戏引擎框架大全.pdf

    AS3游戏引擎框架是开发基于ActionScript 3的交互式内容,尤其是游戏的重要工具。...Ffilmation更适合需要精细控制光影和场景布局的游戏,而PushButton Engine则更适合希望快速开发并拥有丰富内置组件的游戏项目。

    qt串口通信

    ui->pushButton->setEnabled(false); myCom->setBaudRate(BAUD9600); myCom->setDataBits(DATA_8); myCom->setParity(PAR_NONE); myCom->setStopBits(STOP_1); myCom->setTimeout(500); connect(myCom,...

    Qt pushbutton按钮弹出菜单

    在Qt编程环境中,Pushbutton(按钮)是一种常用的控件,用于触发用户操作。当你点击一个按钮时,通常会执行预定义的动作。然而,有时我们希望按钮不仅触发单一操作,而是弹出一个菜单供用户选择多种操作。这可以通过...

    智能家居自动化:GIRA PUSHBUTTON SENSOR 4,GIRA TASTSENSOR 4.pdf

    2. GIRA PUSHBUTTON SENSOR 4和GIRA TASTSENSOR 4产品特性 GIRA PUSHBUTTON SENSOR 4和GIRA TASTSENSOR 4作为Gira公司第4代的产品,其设计特点体现在以下几个方面: - 简洁明了的线条和优雅的外观设计,满足用户...

    matlab开发-5编辑文本中的指南材料输入值控制

    在MATLAB开发过程中,对文本中的输入值进行控制是一项关键任务,这有助于确保程序的稳定性和数据的准确性。本教程“matlab开发-5编辑文本中的指南材料输入值控制”聚焦于如何在GUI(图形用户界面)中有效地管理用户...

    用Qt控制开发板led和蜂鸣器

    在本文中,我们将深入探讨如何在Linux系统下利用Qt框架来控制ARM开发板上的LED灯和蜂鸣器。Qt是一个跨平台的应用程序开发框架,广泛应用于GUI编程,同时也能用于非图形化的系统交互,比如设备控制。对于硬件控制,Qt...

    带Icon的自绘PushButton示例

    总之,带Icon的自绘PushButton示例展示了MFC中控件自定义的强大能力,它涉及了图形绘制、资源管理、消息处理和事件响应等多个方面,是学习MFC高级特性和Windows API的好材料。通过深入学习和实践,开发者可以提升其...

    STM32F103ZET6+sram+3.2TFT-lcd屏开发板硬件设计原理图+PCB源文件.zip

    STM32F103ZET6+sram+3.2TFT-lcd屏开发板硬件设计原理图+PCB源文件,Altium Designer 设计的工程文件,包括原理图及PCB文件,2层板设计,板子大小为116x90mm,双面布局布线,可以用Altium(AD)软件打开或修改,可作为...

Global site tag (gtag.js) - Google Analytics