Skip to content

Commit

Permalink
do a more rounded init to avoid issues with improper initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Jul 25, 2024
1 parent 73ff862 commit 934e1d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hhd"
version = "3.3.1"
version = "3.3.2"
authors = [
{ name="Kapenekakis Antheas", email="pypi@antheas.dev" },
]
Expand Down
4 changes: 3 additions & 1 deletion src/hhd/device/rog_ally/hid.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ def process_events(
RGB_APPLY,
]

if global_init:
# For now, use init since with global init, the gamepad might
# not initialize properly
if global_init or init:
cmds = [
*RGB_INIT,
config_rgb(rgb_boot, rgb_charging),
Expand Down

0 comments on commit 934e1d1

Please sign in to comment.