Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to "Logitech G Hub" #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions logipy/logi_arx.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class SDKNotFoundException:
def load_dll(path_dll = None):
if not path_dll:
bitness = 'x86' if platform.architecture()[0] == '32bit' else 'x64'
subpath_dll = r'/Logitech Gaming Software/SDK/Arx Control/{}/LogitechGArxControl.dll'.format(bitness)
subpath_dll = r'/LGHUB/legacy_arx_control_sdk_{}.dll'.format(bitness)
try:
subpath_lgs = os.environ['ProgramW6432']
except KeyError:
Expand Down Expand Up @@ -198,4 +198,4 @@ def logi_arx_shutdown():
arx_dll.LogiArxShutdown()
return True
else:
return False
return False
2 changes: 1 addition & 1 deletion logipy/logi_led.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class SDKNotFoundException:
def load_dll(path_dll = None):
if not path_dll:
bitness = 'x86' if platform.architecture()[0] == '32bit' else 'x64'
subpath_dll = r'/Logitech Gaming Software/SDK/LED/{}/LogitechLed.dll'.format(bitness)
subpath_dll = r'/LGHUB/sdk_legacy_led_{}.dll'.format(bitness)
try:
subpath_lgs = os.environ['ProgramW6432']
except KeyError:
Expand Down