ScummVM API documentation
DSEventSource Class Reference

#include <ds-events.h>

Inheritance diagram for DSEventSource:
Common::EventSource

Public Member Functions

virtual bool pollEvent (Common::Event &event)
 
virtual void handleTouch (bool enabled)
 
- Public Member Functions inherited from Common::EventSource
virtual bool allowMapping () const
 

Protected Member Functions

void addEventsToQueue ()
 
void addJoyButtonEvent (u32 keysPressed, u32 keysReleased, u32 ndsKey, uint8 svmButton)
 

Protected Attributes

Common::Queue< Common::Event_eventQueue
 
Common::Point _lastTouch
 
bool _firstPoll
 
bool _handleTouch
 

Detailed Description

The Nintendo DS event source.

Member Function Documentation

◆ pollEvent()

virtual bool DSEventSource::pollEvent ( Common::Event event)
virtual

Gets and processes events.

Implements Common::EventSource.


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