| Message ID | 20251003165525.440173-5-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510572; bh=HAVRWpSN1duZIIKtJML5g30oLDzLuqgyvOo6cUit5Bs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=w9dP2MWPEmkzZa7zc4SW8X6vN58lVinMrt49c2BfD9bVlM5aBWIolmpQRJIv9wp+v x9swolMG8OzMTUHobBEqofjVfOPRirf52Z9exyembVMlE0b9T50Z7f1LsJiYwiTWUF 2AfWeGncisHW+cZNlMRGih/1ImYYEsA4gpjFfHVPOdsTZH+YET9mqm4crZFLoV3h2b tBl4zlSwex7yvDBpmtgWMos7W9PD92sHAPliK43nHMW+0rMXgv2KAa4rqGxhqEo9qy umoBxPLmwxwMCO5gcEgMsdMsTLF1TlctR5dYJziohuumuDqz3lDM6mTHttGeErRyX1 KMVJ/acC0m0Gw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A356867EBF for <u-boot-concept@u-boot.org>; Fri, 3 Oct 2025 10:56:12 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id g0aQ6Xd-d_kM for <u-boot-concept@u-boot.org>; Fri, 3 Oct 2025 10:56:12 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510572; bh=HAVRWpSN1duZIIKtJML5g30oLDzLuqgyvOo6cUit5Bs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=w9dP2MWPEmkzZa7zc4SW8X6vN58lVinMrt49c2BfD9bVlM5aBWIolmpQRJIv9wp+v x9swolMG8OzMTUHobBEqofjVfOPRirf52Z9exyembVMlE0b9T50Z7f1LsJiYwiTWUF 2AfWeGncisHW+cZNlMRGih/1ImYYEsA4gpjFfHVPOdsTZH+YET9mqm4crZFLoV3h2b tBl4zlSwex7yvDBpmtgWMos7W9PD92sHAPliK43nHMW+0rMXgv2KAa4rqGxhqEo9qy umoBxPLmwxwMCO5gcEgMsdMsTLF1TlctR5dYJziohuumuDqz3lDM6mTHttGeErRyX1 KMVJ/acC0m0Gw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8CAE967E95 for <u-boot-concept@u-boot.org>; Fri, 3 Oct 2025 10:56:12 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510570; bh=HSsbpHMEZ3bn7VuoKtc0adY1Kj3gkCydBZOKKZYy0is=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B4aSfl1lDQdcbUkDHXoWjh5RI0FKxhYqwnUKvcZjj+SbuNYW/t20fxTJmbcn1oAkF vb0HlUsQ7nUcD4LIVx6wMVgliI3qecnl+mKFB6NJoyBI+BHQmnPxqsuGk+UgqAfaIB ZboSyfP2/2yrgE4Tug9NDDYY65UbSZyOZ/Kf73bFwwyhdlXQFgcKVdKYULW47c41yM ncav5rMO9wb9K477wChITgt2cIuTHJkdXZ5fsBdBEM0c6L6ndwPBE8CqFpfBlHkcjU fbDssv6h4l8bkjAgjGlDd+/ggaEMPvBgUNtTt4WWuuWqT4spnE09OQHXtD85UxeBjn Gzg2lXjYfuyxQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3D5E967E7C; Fri, 3 Oct 2025 10:56:10 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 1yU-d-K1Yc70; Fri, 3 Oct 2025 10:56:10 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759510562; bh=JrI/iND68VI59qDbKZ1XGRY9tQhhFauDLs6fdHn4ukI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XgNJky26hkyn6hvVoKLh4MhucJnv3Z8bog1iyw22ydQ4CR/DxPYM5e9XEVOc+Y+2s L59Ps3wJ9GjS/6QI9zjAGVvx25AKr18U1RAFNiZBYiAWwyE1RMDxZ65P7mL2espSHf gerVdBIGz6w5HD+sOps8S/7JuI777N9/oN7B0amNEAe6W/qX5YowH4yYLeEHlMbB3v GlgHPgahIeHmKrT10yc4qxUhhVgomOT8rO3VkF3mP2DL4UayB4P5kwF+LF+2iCG0nm Y8EY8xkLMY1clvk5glPU3eNto8jzRnfN6KmH3fIhHAik3eit9/o87CLeN9CdlU227K jIEo0r3NP5yuA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 7DA5267E12; Fri, 3 Oct 2025 10:56:02 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 3 Oct 2025 10:54:57 -0600 Message-ID: <20251003165525.440173-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251003165525.440173-1-sjg@u-boot.org> References: <20251003165525.440173-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: FKSABE4GLJEH5JPETLQ5WEEZRYHKTRAO X-Message-ID-Hash: FKSABE4GLJEH5JPETLQ5WEEZRYHKTRAO X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 04/22] sandbox: Add a comment for sandbox_sdl_get_mouse_event() List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/FKSABE4GLJEH5JPETLQ5WEEZRYHKTRAO/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
video: Enhancements to support a pointer
|
|
Commit Message
Simon Glass
Oct. 3, 2025, 4:54 p.m. UTC
From: Simon Glass <sjg@chromium.org> This function was added without a comment. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/sandbox/include/asm/sdl.h | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/arch/sandbox/include/asm/sdl.h b/arch/sandbox/include/asm/sdl.h index 86368c8a0a6..735652de6bd 100644 --- a/arch/sandbox/include/asm/sdl.h +++ b/arch/sandbox/include/asm/sdl.h @@ -106,6 +106,15 @@ int sandbox_sdl_sound_init(int rate, int channels); */ int sandbox_sdl_set_bpp(struct udevice *dev, enum video_log2_bpp l2bpp); +/** + * sandbox_sdl_get_mouse_event() - Read a mouse event from SDL + * + * If a mouse event has been recorded since the last call, this marked the event + * as used and then returns its. + * + * @evt: Mouse event + * ReturnL 0 if OK, -EAGAIN if there is no event available + */ int sandbox_sdl_get_mouse_event(struct mouse_event *evt); #else