Panda3D
panda
src
osxdisplay
osxGraphicsWindow.I
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file osxGraphicsWindow.I
10
* @author drose
11
* @date 2009-02-13
12
*/
13
14
/**
15
*
16
*/
17
inline
void
osxGraphicsWindow::
18
send_key_event(
ButtonHandle
key,
bool
down) {
19
if
(down) {
20
_input_devices[0].button_down(key);
21
}
else
{
22
_input_devices[0].button_up(key);
23
}
24
}
ButtonHandle
A ButtonHandle represents a single button from any device, including keyboard buttons and mouse butto...
Definition:
buttonHandle.h:26
Generated on Wed Jan 23 2019 21:40:07 for Panda3D by
1.8.15