PixelLightAPI  .
Public Member Functions
PLInput::VirtualController Class Reference

Virtual input controller. More...

#include <VirtualController.h>

Inheritance diagram for PLInput::VirtualController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PLINPUT_API void ConnectToDevices ()
 Connect virtual controller to physical devices.

Detailed Description

Virtual input controller.

Remarks:
A virtual input controller is a controller that is used to map real input devices to virtual controls. Usually, you have one virtual input controller for your application, or in rare occasions more than one, e.g. one for every window or player. The virtual controller connects itself to the physical input devices, a virtual function can be used to alter this behavior in derived classes. The virtual controller should then be connected to the controllers of input-enabled objects, such as scene nodes or modifiers.

Member Function Documentation

virtual PLINPUT_API void PLInput::VirtualController::ConnectToDevices ( ) [virtual]

Connect virtual controller to physical devices.

Remarks:
This function shall enumerate the available devices and connect itself to the proper controls of those input devices. Override this function in derived classes to alter it's behavior or to support your own type of virtual controllers

Reimplemented in PLInput::VirtualStandardController.


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:34
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported