Skip to content

Commit 470776c

Browse files
Shelby Heffrondtor
authored andcommitted
Input: add Marine Navigation Keycodes
Add keycodes that are used by marine navigation devices. Signed-off-by: Shelby Heffron <Shelby.Heffron@garmin.com> Link: https://lore.kernel.org/r/20220414015356.1619310-1-Shelby.Heffron@garmin.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 81022a1 commit 470776c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

include/uapi/linux/input-event-codes.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,27 @@
662662
/* Select an area of screen to be copied */
663663
#define KEY_SELECTIVE_SCREENSHOT 0x27a
664664

665+
/* Move the focus to the next or previous user controllable element within a UI container */
666+
#define KEY_NEXT_ELEMENT 0x27b
667+
#define KEY_PREVIOUS_ELEMENT 0x27c
668+
669+
/* Toggle Autopilot engagement */
670+
#define KEY_AUTOPILOT_ENGAGE_TOGGLE 0x27d
671+
672+
/* Shortcut Keys */
673+
#define KEY_MARK_WAYPOINT 0x27e
674+
#define KEY_SOS 0x27f
675+
#define KEY_NAV_CHART 0x280
676+
#define KEY_FISHING_CHART 0x281
677+
#define KEY_SINGLE_RANGE_RADAR 0x282
678+
#define KEY_DUAL_RANGE_RADAR 0x283
679+
#define KEY_RADAR_OVERLAY 0x284
680+
#define KEY_TRADITIONAL_SONAR 0x285
681+
#define KEY_CLEARVU_SONAR 0x286
682+
#define KEY_SIDEVU_SONAR 0x287
683+
#define KEY_NAV_INFO 0x288
684+
#define KEY_BRIGHTNESS_MENU 0x289
685+
665686
/*
666687
* Some keyboards have keys which do not have a defined meaning, these keys
667688
* are intended to be programmed / bound to macros by the user. For most

0 commit comments

Comments
 (0)