Skip to content

Commit

Permalink
Add some joystick flag tests.
Browse files Browse the repository at this point in the history
The important checks are the ones done with the invertX&Y apply. The isJoystickFlagged checks are sanity checks, you could replace those with whatever you use for flag testing next @csmartdalton.

Note that the flag value is loaded via core (auto-generated) as a raw uint32_t:
https://github.com/rive-app/rive/blob/eef7de3b1a5b34a3deb3591781ab9ca2d6e15f0d/packages/runtime/include/rive/generated/joystick_base.hpp#L170

Diffs=
7bbf083ce Add some joystick flag tests. (#5921)
  • Loading branch information
luigi-rosso committed Aug 30, 2023
1 parent 24022f5 commit aea5f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12f35ace266235d75b1a4e476c630814cdc77e35
7bbf083ce32d92ba240dbf08b852d2702fac18ca
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit aea5f87

Please sign in to comment.