"No one can be told what GeeXLab is, you have to see it for yourself!"

"Stop Playing Games and Start Making Them! With GeeXLab, your are on your way!"


Quick Links
What is GeeXLab
Download GeeXLab
GeeXLab Requirements
Online Help
Articles and Tutorials
Samples Screenshots
Videos

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab
GeeXLab SDK

Shader Library

Follow GeeXLab's News
GeeXLab news, articles, tutorials and demos @ Geeks3D.com
GeeXLab @ Twitter GeeXLab RSS Feed

Subscribe to GeeXLab news by email

[ Back to Geeks3D.com ]

GeeXLab

GeeXLab

Laboratory for Real Time 3D Programming (prototyping and demos)
OpenGL, Lua, Python, GLSL,
PhysX and more...

Reference Guide
XML Nodes



Back to homepage
Back to Developer's Guide Index

<hotkey> XML Node


XML Node Summary
<hotkey
  name=""
  key="KEY_SPACE"
  script=""
  >
</hotkey>


<hotkey>

Description
The hotkey node makes it possible to execute scripts (LUA, Python) with certain keys of the keyboard or mouse.

hotkey element has 3 attributes and 0 sub-element(s)

Attributes
  • name [STRING]: name of this XML node.
  • key [ENUM]: Keyboard key that will launch the script - Default value = KEY_SPACE - Values = KEY_F1 to KEY_F12, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_SPACE, KEY_DELETE, KEY_INSERT, KEY_END, KEY_HOME, KEY_A to KEY_Z, KEY_0 to KEY_9, KEY_NUMPAD_0 to KEY_NUMPAD_9, KEY_ADD, KEY_SUBTRACT, KEY_MULTIPLY, KEY_DIVIDE, MOUSE_LBUTTON, MOUSE_RBUTTON
  • script [STRING]: script to be executed. This name can whether refer to a script node or to an access path to a script file (in relative path).

Code sample :

<script name="hello_LUA" run_mode="ASYNCHRONOUS" filename="hello.lua" />
<hotkey name="hello" key="KEY_SPACE" script="hello_LUA" />
Random Projects

Chromatic Aberration
Chromatic Aberration

Bump Mapping Multiple Lights
Bump Mapping Multiple Lights

PyOpenGL_LAB
PyOpenGL_LAB


Random Code Samples

Bloom PostFX
Bloom PostFX

Mesh Instancing - Spirale
Mesh Instancing - Spirale

3D Curve
3D Curve



(C)2009-2010 Geeks3D.com