Blender
V2.93
intern
ghost
intern
GHOST_NDOFManagerUnix.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*/
16
17
#pragma once
18
19
#include "
GHOST_NDOFManager.h
"
20
21
/* Event capture is handled within the NDOF manager on Linux,
22
* so there's no need for SystemX11 to look for them. */
23
24
class
GHOST_NDOFManagerUnix
:
public
GHOST_NDOFManager
{
25
public
:
26
GHOST_NDOFManagerUnix
(
GHOST_System
&);
27
~GHOST_NDOFManagerUnix
();
28
bool
available
();
29
bool
processEvents
();
30
31
private
:
32
bool
m_available;
33
};
GHOST_NDOFManager.h
GHOST_NDOFManagerUnix
Definition:
GHOST_NDOFManagerUnix.h:24
GHOST_NDOFManagerUnix::available
bool available()
Definition:
GHOST_NDOFManagerUnix.cpp:65
GHOST_NDOFManagerUnix::processEvents
bool processEvents()
Definition:
GHOST_NDOFManagerUnix.cpp:85
GHOST_NDOFManagerUnix::~GHOST_NDOFManagerUnix
~GHOST_NDOFManagerUnix()
Definition:
GHOST_NDOFManagerUnix.cpp:59
GHOST_NDOFManagerUnix::GHOST_NDOFManagerUnix
GHOST_NDOFManagerUnix(GHOST_System &)
Definition:
GHOST_NDOFManagerUnix.cpp:26
GHOST_NDOFManager
Definition:
GHOST_NDOFManager.h:103
GHOST_System
Definition:
GHOST_System.h:53
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1