Skip to content

Cursor Control #60

Open
Open
@3tcubed

Description

Is there a way to turn the cursor on and off programmatically in pi3d?

I've reviewed source, and can't find an obvious method, here's what I've tried/investigated

I know you can turn it off when creating the display with DISPLAY_CONFIG_HIDE_CURSOR
but I want to turn it on again if a user hits a key sequence.

I tried setting DISPLAY.opengl.display_config = pi3d.DISPLAY_CONFIG_DEFAULT no luck
and tried defining and starting pi3d.Mouse still can't turn cursor back on

This is the last set of changes I had wanted to make before adding "PictureCalendar" (PictureFrame with Calendar functionality - Discussed with Wolfgang).

if I have to destroy the DISPLAY definition and start over it's not worth it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions