PixelLightAPI  .
Public Member Functions
PLInput::Mouse Class Reference

Mouse input device. More...

#include <Mouse.h>

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

List of all members.

Public Member Functions

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

Detailed Description

Mouse input device.

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

Constructor & Destructor Documentation

PLINPUT_API PLInput::Mouse::Mouse ( 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::Mouse::~Mouse ( ) [virtual]

Destructor.


Member Function Documentation

virtual PLINPUT_API void PLInput::Mouse::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