Panda3D
Macros
gamepadButton.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "gamepadButton.h"
#include "buttonRegistry.h"

Go to the source code of this file.

Macros

#define DEFINE_GAMEPAD_BUTTON_HANDLE(KeyName)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
rdb
Date
2015-08-21

Definition in file gamepadButton.cxx.

Macro Definition Documentation

◆ DEFINE_GAMEPAD_BUTTON_HANDLE

#define DEFINE_GAMEPAD_BUTTON_HANDLE (   KeyName)
Value:
static ButtonHandle _##KeyName; \
ButtonHandle GamepadButton::KeyName() { return _##KeyName; }
A ButtonHandle represents a single button from any device, including keyboard buttons and mouse butto...
Definition: buttonHandle.h:26

Definition at line 17 of file gamepadButton.cxx.