From patchwork Mon Sep 15 12:28:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 335 Return-Path: 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=1757939430; bh=mdXf7fA4D3ZDPSjXLueW3OUP+29sRof+8hQMN5HugMw=; 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=rqiNUzDuqyR7dhjaaD00Ij1vxdnUmCNxRwkYK+QLUqmbzSfHfjBkrtQKFTKBES9tm tFEAovtRNpCLkDCeNO3mg8Z2DMhNA2Bfj8K+lfWkVHbtBwsnaFHMeKMfBdaw30vgTm YY23dPIpUbVoTqwgitLdtWKXkFHDSvrYcZ4SHOWEBf7FyGsJkxSf5soTa2UhdDyizW x3Ay688g/LNxvnoOxPQ77mJlCmWlzAHN1ceDeccQJgdV4u2fO1xSONjLosXeW3m9Sj TLPLnmQ/bXLRYX91OskLHwWayPuDTF8hMPBMPBg9myMB3vFlD8gyuXJI9lMlxRHyuK DaZfajqeI8aCA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id EBAFD67B3C for ; Mon, 15 Sep 2025 06:30:30 -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 CJdgRSsK1dUT for ; Mon, 15 Sep 2025 06:30:30 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939430; bh=mdXf7fA4D3ZDPSjXLueW3OUP+29sRof+8hQMN5HugMw=; 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=rqiNUzDuqyR7dhjaaD00Ij1vxdnUmCNxRwkYK+QLUqmbzSfHfjBkrtQKFTKBES9tm tFEAovtRNpCLkDCeNO3mg8Z2DMhNA2Bfj8K+lfWkVHbtBwsnaFHMeKMfBdaw30vgTm YY23dPIpUbVoTqwgitLdtWKXkFHDSvrYcZ4SHOWEBf7FyGsJkxSf5soTa2UhdDyizW x3Ay688g/LNxvnoOxPQ77mJlCmWlzAHN1ceDeccQJgdV4u2fO1xSONjLosXeW3m9Sj TLPLnmQ/bXLRYX91OskLHwWayPuDTF8hMPBMPBg9myMB3vFlD8gyuXJI9lMlxRHyuK DaZfajqeI8aCA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D881F67B44 for ; Mon, 15 Sep 2025 06:30:30 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939430; bh=lVpuhtXdjySD42y5MyaPQjF7sxi1MtLP5X2Geo/usBo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CGeibeypGCFYvQKj738HhNJjGq0G0zlLCZUuzUfuOFrBdHmsInDmxlgd4D4l4QAnH zXZUFWtS3idjcP+b0G8Q+9SZ5ZfoiZyxEH/2mYIWjCPXlp+N4Iv58Wh8hz28ZEOt3U tdcsQXiRJqzNlB9V/0rTxWUbjXO0fw8kKxLWzYJeLVIdA3y7MxxJNQYIpsDDz2dsfo hLz4XVLWX7HrQ7Q/D0owjseA9zwFgrsS8Ozopz3sDoDM7csa45EN4OzhYpcg7vVtXQ JHjcsSK34dLsN/Uyv89nJ2CapZu5irNlWlRxPIT/UKReRqf2gIBYG8n5f68Yon/+tb PzQx0VCUX/b+A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 20BCB67A04; Mon, 15 Sep 2025 06:30:30 -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 pnMcOf-3Ovzu; Mon, 15 Sep 2025 06:30:30 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757939426; bh=af9Q9t/vLQ1LNtE6Fms0/8Lyjg/NByrfEBxgw0C9tm4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CCB8NAOZ/IFqnkZn6shu8v9g6x+smCTMdkRENnlQe5VjOAtj5sH8HzsY34A0HY/DH P4Zk7wKYGF1aVV/NMO/FYpZxPr0YCiEE/OxhiYfKjklaI/NQAcGPmoMBrfKXsiavXx 9vr8LVR9vRwSQw48L26oLS2UOKAchQmiWVVwtJO31jKVOmqJrVp8NsaNQS+SENAWkw QhJZ6qo/Xcwe50emZYK/zqE6gBDDnTrSp8GOtvL4f95dE2lr61euwVBOzvx96Cty/a 8cq2cQRn1E3Dopy40MPP1CxKeUDO9nEKgu+zdCb7eG6BiT6rBmY7ojTemq6HBkI25h NepOWHUwarHlA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id CC9B667B34; Mon, 15 Sep 2025 06:30:25 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Mon, 15 Sep 2025 06:28:53 -0600 Message-ID: <20250915122905.1217249-21-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250915122905.1217249-1-sjg@u-boot.org> References: <20250915122905.1217249-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: WDIMHKNWKADLRY2VDF2ZIBS5PLJFTMUP X-Message-ID-Hash: WDIMHKNWKADLRY2VDF2ZIBS5PLJFTMUP 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 , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 20/23] expo: Enable the mouse when available List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass When creating a new bootflow menu or cedit, enable the mouse, so the user can interact with the expo more easily. Signed-off-by: Simon Glass --- boot/bootflow_menu.c | 2 ++ boot/cedit.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index dc075a8f4b2..602a2e33c88 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -51,6 +51,8 @@ int bootflow_menu_new(struct expo **expp) return log_msg_ret("exp", ret); expo_req_size(exp, 1366, 768); + expo_set_mouse_enable(exp, true); + ret = scene_new(exp, "main", MAIN, &scn); if (ret < 0) return log_msg_ret("scn", ret); diff --git a/boot/cedit.c b/boot/cedit.c index ab1a79c1412..ad2c98aa7a5 100644 --- a/boot/cedit.c +++ b/boot/cedit.c @@ -243,6 +243,8 @@ int cedit_run(struct expo *exp) return log_msg_ret("prep", ret); scene_id = ret; + expo_set_mouse_enable(exp, true); + exp->done = false; exp->save = false; do {