From nobody Mon Nov 27 15:23:03 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sf8VH5VjKz52pQD; Mon, 27 Nov 2023 15:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sf8VH52xzz4MBP; Mon, 27 Nov 2023 15:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701098583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RdTby4Hsggf/czKE1IEmPYdgU+HNoWvIgcwZ2sA15EA=; b=euGa35JnXcY6o4JxBTUxk00KULqhsH+CCitXNoTzVbpLOnMSqEvt3+rK4MsjvfFs17qnm8 zkhVHjfdYqIiZ73+lul87wC5j6irw3k8MGGedlArIWJxHH42WFo7wLGBBe7AVfFw9Sx39+ j219tdSAIGc21G/k1Esr9v4DJz237x5N0Yg4w5TBjXDHFLcSwNB3wnRtAkbuLd0SMeLcn5 WUFw6kZODRNT9+m0z6lNCDrADZDG3JGinzH4DMscrXMh4g+OoTtOK3Zulkf/PfBvIRRD7G mnsgQpkyVuTTLIkv04pkB5vHTVC2qIfogYhF4fCYBUG19Vs05/EPJWGA6baD0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701098583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RdTby4Hsggf/czKE1IEmPYdgU+HNoWvIgcwZ2sA15EA=; b=jjDfE70P2Q66YR8Fzab829OS7oUwmkcdjsEUH0dNfoYLIii4qNrxU4yI57M3QKyGfdPfWQ icFRvt5lNGD1RkLhMoYx0TOeYv0fAvhCohUWCqrO8+GBxw0cnb3PfgyDRuVaaaADkn0naE P0HqnPiQRdzd/Z8pSYqrCrDnq0svL9Ct79vBRP2l3pFDFq+Va7apSAIVblkCnBvh8M5+NR ixTH+Ob7ppIJ68DDdXBbTN29pYb8WFV0HpqZ3XCWP7hwJg0csJm2pPmxS0oZrzlpwVRXQZ ZuBNs03MeQnD/tFLsFrv/t2qeHRMtWKAS9zRtUTJSTmBLtM0k2nb+HHTIEDfPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701098583; a=rsa-sha256; cv=none; b=rpAHU5Bc5e1u/hKpUKIdEwg5BZLTOnRgBVqM8xFKciWZrP5Dn+ga00qcHaF26h2Cruulhw //ARGV5X+00GdvW4vUTBGCrbWsJDmmIGNqvJBeAudYYK5vBUSbef8LZ1hn/V234b6YNym1 meG4PevbkpettLc86IVSj+XVsne6KzT2H2GY4f0JxXnXqWmhWBJMhT1Tr6bKPAXZiRrleV WRz3enIhAcqzLbLHYxDXm8OktuSqafMTIvmOSceGCbMXEj8RuLddTmHYKAHFDzkh9g3tdn 2GgokvnkmzDT/QEWuwiLPANPCBXpGamzJywT2zDSDWVTkNtFqwxQHsqghCMRrg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sf8VH48rfzkQy; Mon, 27 Nov 2023 15:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ARFN3Tn096496; Mon, 27 Nov 2023 15:23:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ARFN365096493; Mon, 27 Nov 2023 15:23:03 GMT (envelope-from git) Date: Mon, 27 Nov 2023 15:23:03 GMT Message-Id: <202311271523.3ARFN365096493@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Vladimir Kondratyev Subject: git: 71f65e2ac3e5 - stable/13 - evdev: Sync event codes with Linux kernel 6.5 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 71f65e2ac3e5660ce1228aaab91778f701a65f4c Auto-Submitted: auto-generated The branch stable/13 has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=71f65e2ac3e5660ce1228aaab91778f701a65f4c commit 71f65e2ac3e5660ce1228aaab91778f701a65f4c Author: Vladimir Kondratyev AuthorDate: 2023-11-02 06:20:20 +0000 Commit: Vladimir Kondratyev CommitDate: 2023-11-27 15:20:37 +0000 evdev: Sync event codes with Linux kernel 6.5 (cherry picked from commit 87a53bef41fe769920f925e74fedddafd5187b93) --- sys/dev/evdev/input-event-codes.h | 43 ++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/sys/dev/evdev/input-event-codes.h b/sys/dev/evdev/input-event-codes.h index 4c4365d36611..59eb8e104c87 100644 --- a/sys/dev/evdev/input-event-codes.h +++ b/sys/dev/evdev/input-event-codes.h @@ -75,9 +75,9 @@ /* * Keys and buttons - */ - -/* + * + * Most of the keys/buttons are modeled after USB HUT 1.12 + * (see http://www.usb.org/developers/hidpage). * Abbreviations in the comments: * AC - Application Control * AL - Application Launch Button @@ -290,7 +290,8 @@ #define KEY_PAUSECD 201 #define KEY_PROG3 202 #define KEY_PROG4 203 -#define KEY_DASHBOARD 204 /* AL Dashboard */ +#define KEY_ALL_APPLICATIONS 204 /* AC Desktop Show All Applications */ +#define KEY_DASHBOARD KEY_ALL_APPLICATIONS #define KEY_SUSPEND 205 #define KEY_CLOSE 206 /* AC Close */ #define KEY_PLAY 207 @@ -527,6 +528,9 @@ #define KEY_10CHANNELSUP 0x1b8 /* 10 channels up (10+) */ #define KEY_10CHANNELSDOWN 0x1b9 /* 10 channels down (10-) */ #define KEY_IMAGES 0x1ba /* AL Image Browser */ +#define KEY_NOTIFICATION_CENTER 0x1bc /* Show/hide the notification center */ +#define KEY_PICKUP_PHONE 0x1bd /* Answer incoming call */ +#define KEY_HANGUP_PHONE 0x1be /* Decline incoming call */ #define KEY_DEL_EOL 0x1c0 #define KEY_DEL_EOS 0x1c1 @@ -554,6 +558,7 @@ #define KEY_FN_F 0x1e2 #define KEY_FN_S 0x1e3 #define KEY_FN_B 0x1e4 +#define KEY_FN_RIGHT_SHIFT 0x1e5 #define KEY_BRL_DOT1 0x1f1 #define KEY_BRL_DOT2 0x1f2 @@ -619,6 +624,11 @@ #define KEY_VOICECOMMAND 0x246 /* Listening Voice Command */ #define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */ #define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */ +#define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */ +#define KEY_DICTATE 0x24a /* Start or Stop Voice Dictation Session (HUTRR99) */ +#define KEY_CAMERA_ACCESS_ENABLE 0x24b /* Enables programmatic access to camera devices. (HUTRR72) */ +#define KEY_CAMERA_ACCESS_DISABLE 0x24c /* Disables programmatic access to camera devices. (HUTRR72) */ +#define KEY_CAMERA_ACCESS_TOGGLE 0x24d /* Toggles the current state of the camera access control. (HUTRR72) */ #define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */ #define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */ @@ -667,6 +677,27 @@ /* Select an area of screen to be copied */ #define KEY_SELECTIVE_SCREENSHOT 0x27a +/* Move the focus to the next or previous user controllable element within a UI container */ +#define KEY_NEXT_ELEMENT 0x27b +#define KEY_PREVIOUS_ELEMENT 0x27c + +/* Toggle Autopilot engagement */ +#define KEY_AUTOPILOT_ENGAGE_TOGGLE 0x27d + +/* Shortcut Keys */ +#define KEY_MARK_WAYPOINT 0x27e +#define KEY_SOS 0x27f +#define KEY_NAV_CHART 0x280 +#define KEY_FISHING_CHART 0x281 +#define KEY_SINGLE_RANGE_RADAR 0x282 +#define KEY_DUAL_RANGE_RADAR 0x283 +#define KEY_RADAR_OVERLAY 0x284 +#define KEY_TRADITIONAL_SONAR 0x285 +#define KEY_CLEARVU_SONAR 0x286 +#define KEY_SIDEVU_SONAR 0x287 +#define KEY_NAV_INFO 0x288 +#define KEY_BRIGHTNESS_MENU 0x289 + /* * Some keyboards have keys which do not have a defined meaning, these keys * are intended to be programmed / bound to macros by the user. For most @@ -846,6 +877,7 @@ #define ABS_TOOL_WIDTH 0x1c #define ABS_VOLUME 0x20 +#define ABS_PROFILE 0x21 #define ABS_MISC 0x28 @@ -899,7 +931,8 @@ #define SW_LINEIN_INSERT 0x0d /* set = inserted */ #define SW_MUTE_DEVICE 0x0e /* set = device disabled */ #define SW_PEN_INSERTED 0x0f /* set = pen inserted */ -#define SW_MAX 0x0f +#define SW_MACHINE_COVER 0x10 /* set = cover closed */ +#define SW_MAX 0x10 #define SW_CNT (SW_MAX+1) /*