KiCad PCB EDA Suite
Loading...
Searching...
No Matches
spacemouse.h
Go to the documentation of this file.
1/*
2 *
3 * This file is part of KiCad, a free EDA CAD application.
4 *
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef KICAD_SPACEMOUSE_H
22#define KICAD_SPACEMOUSE_H
23#include <wx/event.h>
24
25// Define new events for SpaceMouse motion and button
26wxDECLARE_EVENT(EVT_SPACEMOUSE_MOTION, wxCommandEvent);
27wxDECLARE_EVENT(EVT_SPACEMOUSE_BUTTON, wxCommandEvent);
28
30
32{
33public:
36
37private:
39 void OnSpaceMouseMotion();
40 void OnSpaceMouseButton();
41};
42
43#endif // KICAD_SPACEMOUSE_H
void OnSpaceMouseMotion()
LINUX_SPACEMOUSE(EDA_DRAW_PANEL_GAL *parent)
EDA_DRAW_PANEL_GAL * m_parent
Definition spacemouse.h:38
void OnSpaceMouseButton()
wxDECLARE_EVENT(EVT_SPACEMOUSE_MOTION, wxCommandEvent)