bevyengine / bevyengine/bevy

Handle tablet input (stylus)

Open
#21,460 2 comments 4 reactions 0 assignees View on GitHub
A-Input A-Picking A-Pointers C-Feature S-Blocked
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

Handling drawing tablet input would improve bevy usage in drawing applications.

## What solution would you like?

Handle winit's tablet input events (introduced in [PR-4318](https://github.com/rust-windowing/winit/pull/4318)) and make them available to developers just like mouse input but with tablet input parameters like pressure and tilt direction.

## What alternative(s) have you considered?

Currently pen tablet input is picked up as mouse input if I remember correctly.

## Additional context

The required winit changes are not released in 0.30.12 (which is the current latest version). Implementation should wait until they are released.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Bevy’s existing mouse-input handling and winit’s tablet input events after the required winit release is available. Done means tablet input is exposed to Bevy developers with parameters such as pressure and tilt direction, rather than being handled only as mouse input.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.