PixelLightAPI  .
Public Member Functions
PLInput::VirtualStandardController Class Reference

Standard virtual input controller. More...

#include <VirtualStandardController.h>

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

List of all members.

Public Member Functions

PLINPUT_API VirtualStandardController ()
 Constructor.
virtual PLINPUT_API ~VirtualStandardController ()
 Destructor.
virtual PLINPUT_API void ConnectToDevices () override
 Connect virtual controller to physical devices.

Detailed Description

Standard virtual input controller.

Remarks:
3D coordinate system:
      y = > Translation: Move up/down (+/-) => Rotation: Yaw (also called 'heading') change is turning to the left or right
      |
      |
      *---x => Translation: Strafe left/right (+/-) => Rotation: Pitch (also called 'bank') change is moving the nose down and the tail up (or vice-versa)
     /
    z => Translation: Move forwards/backwards (+/-) => Rotation: Roll (also called 'attitude') change is moving one wingtip up and the other down

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual PLINPUT_API void PLInput::VirtualStandardController::ConnectToDevices ( ) [override, 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 from PLInput::VirtualController.


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