Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 5 and Version 6 of code/doc/Input


Ignore:
Timestamp:
Sep 15, 2008, 7:42:21 PM (16 years ago)
Author:
rgrieder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/Input

    v5 v6  
    22
    33[[TracNav(TracNav/TOC_Coding)]]
    4 
    5 [[TOC]]
    64
    75This page describes how various user input (keyboard, mouse or joy stick) is being processed. Our goal was to develop a generic implementation that allows to use the input in many different and independent ways. As an example it should not matter to a program whether a mouse button or a key has been pressed. [[br]]
     
    1210The general idea behind this concept is the fact that input distribution is heavily dependent on what is currently running. Simple examples are the console (only captures text), a GUI menu or the orxonox level itself.[[br]]
    1311These InputStates can then hold [wiki:InputHandler Handlers] that are thought to be fixed when everything is set up. These Handlers do the actual job. For instance the [wiki:KeyBinder] gets an input event and then maps it to an executable command in the form of a string. That command is then passed to the [wiki:CommandExecutor].[[br]]
    14 So much about the overall concept. Read more in the corresponding sections, mostly classes though.
     12So much about the overall concept. Read more in the corresponding sections, mostly classes though.[[br]][[br]]
     13
     14[[Image(Input:Distribution.png)]]