Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 13, 2009, 8:54:43 PM (15 years ago)
Author:
rgrieder
Message:

Added and adjusted documentation for the devices.
Also removed one last ugliness where the InputManager was called from within a device (which should not even know about the InputManager).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/InputHandler.h

    r3285 r3286  
    2626 *
    2727 */
    28 
    29 /**
    30 @file
    31 @brief
    32     Declarations of various interface classes for the input management.
    33 */
    3428
    3529#ifndef _InputHandler_H__
     
    10094    /**
    10195    @brief
     96        Base class for all input handlers like KeyBinder, InputBuffer, etc.
     97
     98        Derive from this class if you wish to receive input events.
     99        But keep in mind that this is pointless wihtout first having an InputState.
     100    @note
     101        The definitions for the button events with the weird arguments are simply
     102        to avoid redunant code in the input devices.
    102103    */
    103104    class _CoreExport InputHandler
     
    140141        virtual void allDevicesUpdated(float dt) { }
    141142
     143        //! Use this input handler if you want to occupy a device in an input state.
    142144        static InputHandler EMPTY;
    143145    };
Note: See TracChangeset for help on using the changeset viewer.