This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 47e3f5013f4 drivers/video: add HWCURSOR related config
47e3f5013f4 is described below

commit 47e3f5013f48cd793e2c08869e93038d12e4e554
Author: rongyichang <[email protected]>
AuthorDate: Thu Jun 4 16:16:51 2026 +0800

    drivers/video: add HWCURSOR related config
    
    There is no HWCURSOR config in Kconfig, but a lot of code
    use it, we need to add it back.
    
    Signed-off-by: rongyichang <[email protected]>
---
 drivers/video/Kconfig | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index fd7ab00701a..daced586c79 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -38,6 +38,32 @@ config FB_OVERLAY_BLIT
        depends on FB_OVERLAY
        default n
 
+config FB_HWCURSOR
+       bool "Hardware cursor support"
+       default n
+       ---help---
+               Enable hardware cursor support for framebuffer devices.
+               Set this if the video controller hardware supports a
+               hardware cursor.
+
+config FB_HWCURSORIMAGE
+       bool "Hardware cursor image support"
+       default n
+       depends on FB_HWCURSOR
+       ---help---
+               Enable support for user-provided hardware cursor images.
+               If set, the cursor image can be set via FBIOPUT_CURSOR
+               ioctl command.
+
+config FB_HWCURSORSIZE
+       bool "Hardware cursor size support"
+       default n
+       depends on FB_HWCURSOR
+       ---help---
+               Enable support for changing hardware cursor size.
+               If set, the cursor size can be changed via FBIOPUT_CURSOR
+               ioctl command.
+
 menuconfig DRIVERS_VIDEO
        bool "Video Device Support"
        default n

Reply via email to