Skip to content

fix(grpc): use float for mouse coordinates in proto#580

Merged
chombourger merged 1 commit intosiemens:nextfrom
chombourger:ch/fix/mouse-event
Apr 13, 2026
Merged

fix(grpc): use float for mouse coordinates in proto#580
chombourger merged 1 commit intosiemens:nextfrom
chombourger:ch/fix/mouse-event

Conversation

@chombourger
Copy link
Copy Markdown
Collaborator

The browser sends normalized float coordinates (0.0-1.0) but the MouseMoveRequest proto fields were declared as int32, causing a TypeError when passing floats via gRPC. Change x and y fields to float so normalized coordinates flow through to the HID backend which handles scaling to absolute values internally.

The browser sends normalized float coordinates (0.0-1.0) but the
MouseMoveRequest proto fields were declared as int32, causing a
TypeError when passing floats via gRPC. Change x and y fields to
float so normalized coordinates flow through to the HID backend
which handles scaling to absolute values internally.

Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
@chombourger chombourger merged commit 31c9a70 into siemens:next Apr 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants