Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

Is it possible to know whether input is captured?

Open
#598 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

I am trying to use Nuklear as a top level UI of my game. However, I can't find a way to know whether an input is being used by the UI. For instance:

* Does mouse click hit an element of a window? I want to pass the input down a layer if not.
* Is key press or text input performed on a focused element? Similarly, I want to pass down input if not.

Does nuklear provide a way to extract this information?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Nuklear's public input-handling API and the issue's two cases: mouse clicks on window elements and key or text input on focused elements. Determine whether the existing API exposes capture information; done should be a documented answer or a clearly scoped change request.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.