Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

TableToolAxes should be defined explicitly #227

Open
Timidger opened this issue Dec 5, 2018 · 0 comments
Open

TableToolAxes should be defined explicitly #227

Timidger opened this issue Dec 5, 2018 · 0 comments
Labels

Comments

@Timidger
Copy link
Member

Timidger commented Dec 5, 2018

Otherwise we these ugly variants:

WLR_TABLET_TOOL_AXIS_X
WLR_TABLET_TOOL_AXIS_Y
WLR_TABLET_TOOL_AXIS_DISTANCE
WLR_TABLET_TOOL_AXIS_PRESSURE
WLR_TABLET_TOOL_AXIS_TILT_X
WLR_TABLET_TOOL_AXIS_TILT_Y
WLR_TABLET_TOOL_AXIS_ROTATION
WLR_TABLET_TOOL_AXIS_SLIDER
WLR_TABLET_TOOL_AXIS_WHEEL

To ensure we never get out of sync, we should define an Into method that matches and ensure we cover each generated ugly enum case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant