Skip to content

Commit

Permalink
keysyms: Update using latest xorgproto
Browse files Browse the repository at this point in the history
xorgproto commit: d7ea44d5f04cc476dee83ef439a847172f7a6bd1
Relevant MR: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/91
  • Loading branch information
wismill committed Oct 4, 2024
1 parent bf1ea08 commit 1d89750
Show file tree
Hide file tree
Showing 4 changed files with 1,073 additions and 1,040 deletions.
11 changes: 11 additions & 0 deletions changes/api/+new-keysyms.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- Updated keysyms using latest [xorgproto] (commit: `d7ea44d5f04cc476dee83ef439a847172f7a6bd1`):

Additions:

- `XKB_KEY_XF86RefreshRateToggle`
- `XKB_KEY_XF86Accessibility`
- `XKB_KEY_XF86DoNotDisturb`

Relevant upstream merge request: [xorgproto-91].

[xorgproto-91]: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/91
3 changes: 3 additions & 0 deletions include/xkbcommon/xkbcommon-keysyms.h
Original file line number Diff line number Diff line change
Expand Up @@ -2924,6 +2924,7 @@ SOFTWARE.
#define XKB_KEY_XF86LightsToggle 0x1008121e /* v3.10 KEY_LIGHTS_TOGGLE */
#define XKB_KEY_XF86ALSToggle 0x10081230 /* v3.13 KEY_ALS_TOGGLE */
/* Use: XKB_KEY_XF86RotationLockToggle _EVDEVK(0x231) v4.16 KEY_ROTATE_LOCK_TOGGLE */
#define XKB_KEY_XF86RefreshRateToggle 0x10081232 /* v6.9 KEY_REFRESH_RATE_TOGGLE */
#define XKB_KEY_XF86Buttonconfig 0x10081240 /* v3.16 KEY_BUTTONCONFIG */
#define XKB_KEY_XF86Taskmanager 0x10081241 /* v3.16 KEY_TASKMANAGER */
#define XKB_KEY_XF86Journal 0x10081242 /* v3.16 KEY_JOURNAL */
Expand All @@ -2938,6 +2939,8 @@ SOFTWARE.
#define XKB_KEY_XF86CameraAccessEnable 0x1008124b /* v6.2 KEY_CAMERA_ACCESS_ENABLE */
#define XKB_KEY_XF86CameraAccessDisable 0x1008124c /* v6.2 KEY_CAMERA_ACCESS_DISABLE */
#define XKB_KEY_XF86CameraAccessToggle 0x1008124d /* v6.2 KEY_CAMERA_ACCESS_TOGGLE */
#define XKB_KEY_XF86Accessibility 0x1008124e /* v6.10 KEY_ACCESSIBILITY */
#define XKB_KEY_XF86DoNotDisturb 0x1008124f /* v6.10 KEY_DO_NOT_DISTURB */
#define XKB_KEY_XF86BrightnessMin 0x10081250 /* v3.16 KEY_BRIGHTNESS_MIN */
#define XKB_KEY_XF86BrightnessMax 0x10081251 /* v3.16 KEY_BRIGHTNESS_MAX */
#define XKB_KEY_XF86KbdInputAssistPrev 0x10081260 /* v3.18 KEY_KBDINPUTASSIST_PREV */
Expand Down
2 changes: 1 addition & 1 deletion src/keysym.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
/** Maximum keysym value with explicit name */
#define XKB_KEYSYM_MAX_EXPLICIT 0x1008ffb8
/** Count of keysym value with explicit name */
#define XKB_KEYSYM_COUNT_EXPLICIT 2446
#define XKB_KEYSYM_COUNT_EXPLICIT 2449
/** Offset to use when converting a Unicode code point to a keysym */
#define XKB_KEYSYM_UNICODE_OFFSET 0x01000000
/** Minimum Unicode keysym. NOTE: code points in 0..0xff cannot be converted. */
Expand Down
Loading

0 comments on commit 1d89750

Please sign in to comment.