Project
Loading...
Searching...
No Matches
GPUDisplayFrontendKeys.h
Go to the documentation of this file.
1
// Copyright 2019-2026 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
14
15
// Key codes for special keys (to unify different treatment in X11 / Windows / GLUT / etc.), as GPUDisplayFrontendAddKey(code, name) X-macros.
16
// No include guard: included multiple times with different definitions of GPUDisplayFrontendAddKey.
17
18
GPUDisplayFrontendAddKey
(1, UP);
19
GPUDisplayFrontendAddKey
(2, DOWN);
20
GPUDisplayFrontendAddKey
(3, LEFT);
21
GPUDisplayFrontendAddKey
(4, RIGHT);
22
GPUDisplayFrontendAddKey
(5, PAGEUP);
23
GPUDisplayFrontendAddKey
(6, PAGEDOWN);
24
GPUDisplayFrontendAddKey
(8, SHIFT);
25
GPUDisplayFrontendAddKey
(9, ALT);
26
GPUDisplayFrontendAddKey
(10, RALT);
27
GPUDisplayFrontendAddKey
(11, CTRL);
28
GPUDisplayFrontendAddKey
(12, RCTRL);
29
GPUDisplayFrontendAddKey
(13, ENTER);
// fixed at 13
30
GPUDisplayFrontendAddKey
(14, F1);
31
GPUDisplayFrontendAddKey
(15, F2);
32
GPUDisplayFrontendAddKey
(16, F3);
33
GPUDisplayFrontendAddKey
(17, F4);
34
GPUDisplayFrontendAddKey
(18, F5);
35
GPUDisplayFrontendAddKey
(19, F6);
36
GPUDisplayFrontendAddKey
(20, F7);
37
GPUDisplayFrontendAddKey
(21, F8);
38
GPUDisplayFrontendAddKey
(22, F9);
39
GPUDisplayFrontendAddKey
(23, F10);
40
GPUDisplayFrontendAddKey
(24, F11);
41
GPUDisplayFrontendAddKey
(25, F12);
42
GPUDisplayFrontendAddKey
(26, INSERT);
43
GPUDisplayFrontendAddKey
(27, ESCAPE);
// fixed at 27
44
GPUDisplayFrontendAddKey
(28, HOME);
45
GPUDisplayFrontendAddKey
(29, END);
46
GPUDisplayFrontendAddKey
(30, BACKSPACE);
47
GPUDisplayFrontendAddKey
(31, DELETE);
48
GPUDisplayFrontendAddKey
(32, SPACE);
// fixed at 32
49
50
#ifndef GPUDisplayFrontendKeyDownMap
51
#define GPUDisplayFrontendKeyDownMap(...)
52
#endif
53
54
GPUDisplayFrontendKeyDownMap
(0, FORWARD);
55
GPUDisplayFrontendKeyDownMap
(1, BACKWARD);
56
GPUDisplayFrontendKeyDownMap
(2, STRAFE_LEFT);
57
GPUDisplayFrontendKeyDownMap
(3, STRAFE_RIGHT);
58
GPUDisplayFrontendKeyDownMap
(4, STRAFE_UP);
59
GPUDisplayFrontendKeyDownMap
(5, STRAFE_DOWN);
60
GPUDisplayFrontendKeyDownMap
(6, ROTATE_LEFT);
61
GPUDisplayFrontendKeyDownMap
(7, ROTATE_RIGHT);
62
GPUDisplayFrontendKeyDownMap
(8, INCREASE_WIDTH);
63
GPUDisplayFrontendKeyDownMap
(9, DECREASE_WIDTH);
64
GPUDisplayFrontendKeyDownMap
(10, FOCUS_ORIGIN);
65
GPUDisplayFrontendKeyDownMap
(11, FOCUS_ORIENT_UP);
66
GPUDisplayFrontendKeyDownMap
(12, ROTATE_MODEL);
67
GPUDisplayFrontendKeyDownMap
(13, ROTATE_AROUND_Z);
68
GPUDisplayFrontendKeyDownMap
(14, CHANGE_ANIMATION_INTERVAL);
69
GPUDisplayFrontendKeyDownMap
(15, ROTATE_YAW_LEFT);
70
GPUDisplayFrontendKeyDownMap
(16, ROTATE_YAW_RIGHT);
71
GPUDisplayFrontendKeyDownMap
(17, ROTATE_PITCH_UP);
72
GPUDisplayFrontendKeyDownMap
(18, ROTATE_PITCH_DOWN);
73
GPUDisplayFrontendKeyDownMap
(19, MAX);
// Must be the maximum value!
74
75
#undef GPUDisplayFrontendAddKey
76
#undef GPUDisplayFrontendKeyDownMap
GPUDisplayFrontendAddKey
#define GPUDisplayFrontendAddKey(code, key)
GPUDisplayFrontendKeyDownMap
#define GPUDisplayFrontendKeyDownMap(...)
Definition
GPUDisplayFrontendKeys.h:51
GPU
GPUTracking
display
frontend
GPUDisplayFrontendKeys.h
Generated on Sun Nov 15 2026 17:10:24 for Project by
1.9.8