PixelLightAPI  .
Public Member Functions
PLInput::SplitTouchPad Class Reference

Gamepad device emulation by using a touch screen making it possible to e.g. move & look at the same time. More...

#include <SplitTouchPad.h>

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

List of all members.

Public Member Functions

PLINPUT_API SplitTouchPad (const PLCore::String &sName, DeviceImpl *pImpl)
 Constructor.
virtual PLINPUT_API ~SplitTouchPad ()
 Destructor.
virtual PLINPUT_API void Update () override
 Update device once per frame.

Detailed Description

Gamepad device emulation by using a touch screen making it possible to e.g. move & look at the same time.

Remarks:
This class supports the following device backend types:
  • UpdateDevice

Constructor & Destructor Documentation

PLINPUT_API PLInput::SplitTouchPad::SplitTouchPad ( const PLCore::String sName,
DeviceImpl *  pImpl 
)

Constructor.

Parameters:
[in]sNameDevice name
[in]pImplSystem specific device implementation, can, but shouldn't be a null pointer
virtual PLINPUT_API PLInput::SplitTouchPad::~SplitTouchPad ( ) [virtual]

Destructor.


Member Function Documentation

virtual PLINPUT_API void PLInput::SplitTouchPad::Update ( ) [override, virtual]

Update device once per frame.

Remarks:
This function can be used e.g. to reset any data of a device once per frame. Usually this is not needed, but some devices (e.g. RawInput mice etc.) need to reset their data once per frame.
Note:
  • The default implementation is empty

Reimplemented from PLInput::Controller.


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