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 ed0b0d9 commit 56a6d85
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 @@
d35df04272e659d8244c776e9c4f558452888501
7bbf083ce32d92ba240dbf08b852d2702fac18ca
2 changes: 1 addition & 1 deletion wasm/submodules/rive-cpp

0 comments on commit 56a6d85

Please sign in to comment.