ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

sdl-events.cpp File Reference

#include "common/scummsys.h"
#include "backends/events/sdl/sdl-events.h"
#include "backends/platform/sdl/sdl.h"
#include "backends/graphics/graphics.h"
#include "common/config-manager.h"
#include "common/textconsole.h"
#include "common/fs.h"
#include "engines/engine.h"
#include "gui/gui-manager.h"
Include dependency graph for sdl-events.cpp:

Go to the source code of this file.

Defines

#define HANDLE_HAT_UP(new, old, mask, joybutton)
#define HANDLE_HAT_DOWN(new, old, mask, joybutton)

Define Documentation

#define HANDLE_HAT_DOWN (   new,
  old,
  mask,
  joybutton 
)
Value:
if ((new & mask) && !(old & mask)) { \
        event.joystick.button = joybutton; \
        g_system->getEventManager()->pushEvent(event); \
    }

Definition at line 824 of file sdl-events.cpp.

#define HANDLE_HAT_UP (   new,
  old,
  mask,
  joybutton 
)
Value:
if ((old & mask) && !(new & mask)) { \
        event.joystick.button = joybutton; \
        g_system->getEventManager()->pushEvent(event); \
    }

Definition at line 818 of file sdl-events.cpp.



Generated on Sat Sep 12 2020 05:01:58 for ResidualVM by doxygen 1.7.1
curved edge   curved edge