Panda3D
Macros
keyboardButton.cxx File Reference

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

#include "keyboardButton.h"
#include "buttonRegistry.h"
#include <ctype.h>

Go to the source code of this file.

Macros

#define DEFINE_KEYBD_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
drose
Date
2000-03-01

Definition in file keyboardButton.cxx.

Macro Definition Documentation

◆ DEFINE_KEYBD_BUTTON_HANDLE

#define DEFINE_KEYBD_BUTTON_HANDLE (   KeyName)
Value:
static ButtonHandle _##KeyName; \
ButtonHandle KeyboardButton::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 28 of file keyboardButton.cxx.