Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
811ce490
Commit
811ce490
authored
Mar 23, 2017
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keystroke.h: auto-enum keystrokes
there's no need to define the values ourselves
parent
4adb1911
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
26 deletions
+25
-26
Keystroke.h
nx-X11/programs/Xserver/hw/nxagent/Keystroke.h
+25
-26
No files found.
nx-X11/programs/Xserver/hw/nxagent/Keystroke.h
View file @
811ce490
...
...
@@ -37,39 +37,38 @@ extern Bool nxagentCheckSpecialKeystroke(XKeyEvent*, enum HandleEventResult*);
* Keystroke.c nxagentSpecialKeystrokeNames */
enum
nxagentSpecialKeystroke
{
/* 0 is used as end marker */
KEYSTROKE_END_MARKER
=
0
,
KEYSTROKE_CLOSE_SESSION
=
1
,
KEYSTROKE_SWITCH_ALL_SCREENS
=
2
,
KEYSTROKE_FULLSCREEN
=
3
,
KEYSTROKE_MINIMIZE
=
4
,
KEYSTROKE_LEFT
=
5
,
KEYSTROKE_UP
=
6
,
KEYSTROKE_RIGHT
=
7
,
KEYSTROKE_DOWN
=
8
,
KEYSTROKE_RESIZE
=
9
,
KEYSTROKE_DEFER
=
10
,
KEYSTROKE_IGNORE
=
11
,
KEYSTROKE_FORCE_SYNCHRONIZATION
=
12
,
KEYSTROKE_END_MARKER
,
KEYSTROKE_CLOSE_SESSION
,
KEYSTROKE_SWITCH_ALL_SCREENS
,
KEYSTROKE_FULLSCREEN
,
KEYSTROKE_MINIMIZE
,
KEYSTROKE_LEFT
,
KEYSTROKE_UP
,
KEYSTROKE_RIGHT
,
KEYSTROKE_DOWN
,
KEYSTROKE_RESIZE
,
KEYSTROKE_DEFER
,
KEYSTROKE_IGNORE
,
KEYSTROKE_FORCE_SYNCHRONIZATION
,
/* stuff used for debugging, probably not useful for most people */
KEYSTROKE_DEBUG_TREE
=
13
,
KEYSTROKE_REGIONS_ON_SCREEN
=
14
,
KEYSTROKE_TEST_INPUT
=
15
,
KEYSTROKE_DEACTIVATE_INPUT_DEVICES_GRAB
=
16
,
KEYSTROKE_DEBUG_TREE
,
KEYSTROKE_REGIONS_ON_SCREEN
,
KEYSTROKE_TEST_INPUT
,
KEYSTROKE_DEACTIVATE_INPUT_DEVICES_GRAB
,
KEYSTROKE_VIEWPORT_MOVE_LEFT
=
17
,
KEYSTROKE_VIEWPORT_MOVE_UP
=
18
,
KEYSTROKE_VIEWPORT_MOVE_RIGHT
=
19
,
KEYSTROKE_VIEWPORT_MOVE_DOWN
=
20
,
KEYSTROKE_VIEWPORT_MOVE_LEFT
,
KEYSTROKE_VIEWPORT_MOVE_UP
,
KEYSTROKE_VIEWPORT_MOVE_RIGHT
,
KEYSTROKE_VIEWPORT_MOVE_DOWN
,
KEYSTROKE_REREAD_KEYSTROKES
=
21
,
KEYSTROKE_REREAD_KEYSTROKES
,
KEYSTROKE_NOTHING
=
22
,
KEYSTROKE_NOTHING
,
/* insert more here, increment KEYSTROKE_MAX accordingly.
* then update string translation below */
/* insert more here and in the string translation */
KEYSTROKE_MAX
=
23
,
KEYSTROKE_MAX
,
};
struct
nxagentSpecialKeystrokeMap
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment