Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1519 commits
Select commit Hold shift + click to select a range
bd4bb83
bump version
antheas Nov 18, 2024
67a4c5c
switch to standby active state if overlay crashes
antheas Nov 18, 2024
3d5dd52
add xpad rule for the TECNO Pocket Go
antheas Nov 18, 2024
929cb7d
fix oxp crash
antheas Nov 25, 2024
654d052
add onexfly pro
antheas Nov 25, 2024
6514253
bump version
antheas Nov 25, 2024
6268683
add more oxp to the list
antheas Nov 25, 2024
8f913ed
readd oxp logging
antheas Nov 25, 2024
dcb3006
update nixos install instructions on readme (#117)
toast003 Nov 26, 2024
2e08e30
add hhdctl CLI tool
antheas Nov 28, 2024
aa97452
skip notifications in case DN_NOTIFY is not enabled
antheas Nov 28, 2024
c15d5e1
do not crash if fd does not open either
antheas Nov 28, 2024
a1a0976
add progress bar support
antheas Nov 28, 2024
94ab678
fix win600 volume buttons
antheas Nov 30, 2024
2a03911
bump version
antheas Nov 30, 2024
d8c64b8
add non-essential to xbox menu
antheas Dec 3, 2024
9f950ba
add windows reboot option
antheas Dec 3, 2024
12d9fc7
add plugin whitelist for faster iteration
antheas Dec 3, 2024
1d59b27
add bootc plugin
antheas Dec 4, 2024
4b4430d
fix update screen
antheas Dec 4, 2024
8892fd5
wire reboot button
antheas Dec 4, 2024
eaba4e3
preselect correct tag for rebase
antheas Dec 4, 2024
8b1a39e
add smooth close to the overlay when hhd restarts
antheas Dec 4, 2024
8bf36cd
cleanup revert and rebase logic
antheas Dec 4, 2024
238861c
fix cancel button
antheas Dec 4, 2024
f9ad8d1
add rollback support
antheas Dec 4, 2024
9561b14
add pin symbol
antheas Dec 4, 2024
4f1cdc6
fix crash on layered packages
antheas Dec 4, 2024
c664e15
bump version
antheas Dec 4, 2024
49f268f
readd swap option
antheas Dec 5, 2024
6a77fd4
fix onexfly remap bug
antheas Dec 5, 2024
de34916
add progress bar support to bootc
antheas Dec 7, 2024
b562139
fix update text
antheas Dec 7, 2024
c3a0422
fix rebase symbol missing in stable
antheas Dec 7, 2024
9c9b2a7
fix counters
antheas Dec 7, 2024
5622bc0
switch to btn y and x for external controlelrs
antheas Dec 8, 2024
9746b73
add bug report tool
antheas Dec 9, 2024
5bf71bf
bump version
antheas Dec 9, 2024
d7ed6e8
add steamos update hook
antheas Dec 9, 2024
50e9383
fix update bugs
antheas Dec 9, 2024
9a7b834
fix progress bar
antheas Dec 9, 2024
bb5d939
add command alias
antheas Dec 9, 2024
a51c9b5
add check for bootc executable
antheas Dec 12, 2024
1836321
add check for new themes
antheas Dec 12, 2024
f27a798
add red theme to onexplayer too
antheas Dec 12, 2024
edab32d
bump version
antheas Dec 12, 2024
da7d76d
add eva f1pro config
antheas Dec 16, 2024
45874dc
make blood orange an optional theme
antheas Dec 16, 2024
73072ec
add gpd wincontrols function
antheas Dec 21, 2024
bf0f016
add optimized config for hhd back buttons
antheas Dec 21, 2024
fd2de61
make back buttons more responsive
antheas Dec 21, 2024
a04b9d1
remove spurious print
antheas Dec 21, 2024
5b13a32
allow using menu as QAM
antheas Dec 21, 2024
c19b722
allow chording with start/select
antheas Dec 22, 2024
44187e4
fix invalid boot into windows option
antheas Dec 22, 2024
cfe8fa6
fix onexplayer check when ms device is connected
antheas Dec 22, 2024
c51b85a
add wincontrols to UI
antheas Dec 22, 2024
359e107
add pywincontrols to credits
antheas Dec 22, 2024
2880a6a
fix bootc update check
antheas Dec 22, 2024
1208000
skip write if config did not change
antheas Dec 22, 2024
b3a5011
add different trigger styles
antheas Dec 22, 2024
ad36b8a
fix equals check to check the whole config
antheas Dec 22, 2024
e53dd96
rename option
antheas Dec 22, 2024
1bd1b4d
change GPD , rewrite hints
antheas Dec 22, 2024
b0ce3f7
limit RGB changes to Win 4 firmware
antheas Dec 22, 2024
250b281
add other fw versions
antheas Dec 24, 2024
acd2567
add ayaneo kun
antheas Dec 24, 2024
c7ea7be
add select only chording
antheas Dec 24, 2024
14a22be
add deadzone support
antheas Dec 24, 2024
942123d
change beta message
antheas Dec 25, 2024
889d146
reorder settings
antheas Dec 25, 2024
c757878
remove overlay option
antheas Dec 25, 2024
3fb68a9
switch to default names for deadzones
antheas Dec 25, 2024
d910865
tweak gpd defaults to only change win 4
antheas Dec 25, 2024
6dbd9d9
set gpd default to completely default
antheas Dec 25, 2024
fcffcfc
bump version
antheas Dec 25, 2024
7338453
remove wasd from name as default is also wasd
antheas Dec 25, 2024
b386dc7
fix gpd crash on disabling l4r4
antheas Dec 28, 2024
5f7b6df
bump version
antheas Dec 28, 2024
450b37a
add gpd fan to readme
antheas Dec 28, 2024
42a199d
update supported devices
antheas Dec 28, 2024
1e41843
update readme
antheas Dec 28, 2024
d4f5e68
more readme changes
antheas Dec 28, 2024
63b3d3f
add power plugin for hibernation
antheas Dec 29, 2024
72fbd3b
add tt_led support and resume takeover after hibernation
antheas Dec 29, 2024
ff3def1
fix crash on different batteries
antheas Dec 29, 2024
268a601
add bailing mechanic that shutdowns instead
antheas Dec 29, 2024
78a6fdb
force hibernate if device does not support S0 or S3
antheas Dec 29, 2024
b16a033
fix anbernic spelling
antheas Dec 30, 2024
ee9690b
add early check to avoid shutting down
antheas Dec 30, 2024
e865bca
fix buffer cleanup logic
antheas Jan 2, 2025
a3d6b5a
cleanup for release
antheas Jan 2, 2025
1d4749b
fix update tag on bootc updater
antheas Jan 2, 2025
e79fc6b
bump version
antheas Jan 2, 2025
f8b4198
check not plugged in for battery level hibernation
antheas Jan 2, 2025
3dfcc6e
bump version
antheas Jan 2, 2025
a699d5b
bump max builds to 7
antheas Jan 4, 2025
db61e6f
fix updates triggering unintentionally automatically after second check
antheas Jan 5, 2025
b5b47ff
bump version
antheas Jan 5, 2025
076be7e
only apply check on deck images
antheas Jan 11, 2025
9cba898
fix nit in readme
antheas Jan 11, 2025
40af56e
add gpd win 6800u mapping
antheas Jan 12, 2025
6e4ebd0
add select reboots to generic devices
antheas Jan 15, 2025
3113c91
add legion go s rules + add missing win max 2
antheas Jan 18, 2025
256096b
separate legion go plugin
antheas Jan 18, 2025
09b1860
add legion go s plugin
antheas Jan 18, 2025
83cfc8f
add interface number matching
antheas Jan 18, 2025
6eed290
use correct interface for rgb
antheas Jan 18, 2025
5e35094
print interface as part of hidraw command
antheas Jan 18, 2025
91f2899
fixup gyro axes
antheas Jan 18, 2025
8e1a343
fix shortcuts for dinput
antheas Jan 19, 2025
2b94211
make interception not block gyroscope
antheas Jan 19, 2025
d2cc06a
remove stick deadzone from ally x
antheas Jan 19, 2025
88c8a98
remove sku info unless it actually is different
antheas Jan 19, 2025
b3f5a65
bump version
antheas Jan 19, 2025
f014d95
add more branches to polkit
antheas Jan 19, 2025
eee9909
update ayaneo rgb controls
antheas Jan 21, 2025
8aa96af
update readme
antheas Jan 21, 2025
ec5c7c8
update readme
antheas Jan 21, 2025
6afad6d
add gpd winmini 2025 (#135)
honjow Jan 23, 2025
2f548d9
Revert "add gpd win 6800u mapping"
antheas Jan 23, 2025
8eb8be1
add loki minipro
antheas Jan 23, 2025
0cb5862
prevent crashing due to missing frequency
antheas Jan 23, 2025
66d3263
set default frequency for oxp to 100hz
antheas Jan 23, 2025
65a7393
bump version
antheas Jan 23, 2025
d50727f
use fallback if higher frequency is missing
antheas Jan 23, 2025
71bbfa3
add more legion skus
antheas Jan 23, 2025
6b0d1d6
bump version
antheas Jan 23, 2025
0119b3d
fix 3.10 incompat fstring
antheas Jan 25, 2025
82b0b37
allow disabling overlay for desktop use
antheas Jan 25, 2025
818efab
rename gamemode settings to general
antheas Jan 25, 2025
ccc575e
add x1 pro
antheas Jan 25, 2025
bd2bf13
make rgb not reinit on resume on the legion go
antheas Jan 25, 2025
db9bb7a
make speed step size 10
antheas Jan 25, 2025
662e9ab
make section one word
antheas Jan 25, 2025
5d55174
switch to screen off now that the kernel handles hibernation
antheas Jan 27, 2025
c152cf6
Add support MSI Claw8 (#137)
honjow Jan 27, 2025
dd18fe6
add new PID for GPD, disable WinControls for now
antheas Jan 29, 2025
b93d70c
add new keyboard ID
antheas Jan 29, 2025
17ee987
fix compiler error
antheas Jan 29, 2025
767d18b
add log when changing standby state
antheas Jan 31, 2025
2b0197a
bump version
antheas Jan 31, 2025
a4244e1
try different log style for gpd
antheas Feb 1, 2025
70aff82
fix turning off rgb in go s
antheas Feb 3, 2025
7a87fb8
bump version
antheas Feb 3, 2025
76478fe
Add Traditional Chinese and update translations (#144)
aliceric27 Feb 6, 2025
66ddfc3
update translation strings
antheas Feb 6, 2025
1111be2
update: add more translation to both zh (#145)
aliceric27 Feb 6, 2025
63a83af
allow setting controller to 500hz, fix dinput crash
antheas Feb 8, 2025
185b8db
bump version
antheas Feb 8, 2025
1e77f28
add gyro sync to horipad
antheas Feb 9, 2025
89e1071
fix typo in legion go s variant
antheas Feb 10, 2025
3eed1f2
hide suboptions from hori steam output
antheas Feb 10, 2025
a070f71
add imu failover to uinput controller
antheas Feb 10, 2025
175911c
fix sync to only happen after writes
antheas Feb 10, 2025
f8ea4cd
add ayaneo kun dmi variant
antheas Feb 11, 2025
a484b01
i18n: update Traditional Chinese translations (#147)
aliceric27 Feb 11, 2025
6b6feab
i18n: update Simplified Chinese translations (#146)
honjow Feb 11, 2025
e879190
set sync gyro to on as a hori default
antheas Feb 11, 2025
817ce0e
bump version
antheas Feb 11, 2025
9f5975d
hide broken translation for now
antheas Feb 11, 2025
bed9a19
disable halfhz by default
antheas Feb 12, 2025
01782e9
fix rgb not being reenabled after low brightness
antheas Feb 13, 2025
e367dac
bump version
antheas Feb 13, 2025
7b3edff
add some zotac zone support
antheas Feb 17, 2025
0b9b7db
add capability match
antheas Feb 17, 2025
d4cd586
add zotac vid/pid to gamepad
antheas Feb 17, 2025
2f039b9
add zotac to controller wait script
antheas Feb 17, 2025
fd71b51
fetch uinput constants from runtime
antheas Feb 20, 2025
837972a
bump version
antheas Feb 20, 2025
6cdcaad
add msi claw variants to hwdb
antheas Feb 20, 2025
00e3da1
add claw 7 dmi to controller
antheas Feb 20, 2025
03da7a1
fix ecodes runtime introducing local variable
antheas Feb 20, 2025
43ee03b
bump version
antheas Feb 20, 2025
06b857f
add new devices
antheas Feb 20, 2025
3b6c4a9
add product name service
antheas Feb 25, 2025
934ec61
fixup claw detection
antheas Feb 26, 2025
2ee3fe9
bump version
antheas Feb 26, 2025
d37f097
add main_chords and swap_guide to generic device (#151)
honjow Feb 27, 2025
215df23
i18n: update Simplified Chinese translations (#150)
honjow Feb 27, 2025
21db6b2
Set up separate language options for Simplified Chinese and Tradition…
honjow Feb 27, 2025
5191a9b
i18n: update language strings and Simplified Chinese translations (#153)
YifePlayte Feb 28, 2025
1734df5
make imu error nonfatal
antheas Mar 2, 2025
3f1d45c
make swapfile being found while not loaded not fatal
antheas Mar 2, 2025
d4aa7d6
bump version
antheas Mar 2, 2025
714ade3
update sync script
antheas Mar 2, 2025
f6469a7
fix compile error
antheas Mar 2, 2025
83a39cf
fix new incompatibility with newer bootc
antheas Mar 8, 2025
b9ebce0
fix harmless crash due to unbound variable
antheas Mar 8, 2025
b4851df
bump version
antheas Mar 8, 2025
0ed70e5
make rgb detection generic
antheas Mar 15, 2025
4e06471
bump version
antheas Mar 15, 2025
7047392
add rpm-ostree fallback
antheas Mar 17, 2025
d3bbd7f
bump version
antheas Mar 18, 2025
019b91b
remove rebase support from steamui
antheas Mar 22, 2025
45ef74f
add option to disable updates in steamui
antheas Mar 22, 2025
d18ead0
bump version
antheas Mar 22, 2025
6e3370f
add steamos check
antheas Mar 25, 2025
8fa1bff
fix warn to warning
antheas Mar 25, 2025
8d0089e
cleanup hhd.contrib evdev
antheas Mar 25, 2025
ea365b2
add more legion features
antheas Feb 12, 2025
133d5a7
make 1000hz work properly
antheas Feb 12, 2025
059d341
add touchpad support
antheas Feb 28, 2025
5394c3d
disable touchapd for now
antheas Mar 25, 2025
d7fc5f4
remove claw from generic driver
antheas Mar 28, 2025
8356b2e
always run powerbutton handler
antheas Mar 28, 2025
3c8b952
port claw driver to be standalone
antheas Mar 28, 2025
272adaf
add proper claw support
antheas Mar 28, 2025
15b336f
fix dinput switch
antheas Mar 28, 2025
6a9c7c9
add rgb support (solid colors only)
antheas Mar 28, 2025
84a4426
bump version
antheas Mar 28, 2025
ee702b5
mute desktop mode, so it does not interfere after sleep
antheas Mar 28, 2025
5bb4074
tweak wakeup behavior
antheas Mar 28, 2025
6c2bef4
tweak switch timing
antheas Mar 28, 2025
9366aac
do not block while delaying switch
antheas Mar 28, 2025
510d2f2
set dinput mode on demand
antheas Mar 28, 2025
fd29bf4
add alternative controlelr wakeup for claw
antheas Apr 1, 2025
6f9df36
make sure the new quirk resets after input
antheas Apr 1, 2025
0a64dcc
disable new quirk for now
antheas Apr 2, 2025
872b239
disable protocol autodetection
antheas Apr 4, 2025
50ef37d
add g1 protocol
antheas Apr 4, 2025
7e8fe2f
update onexplayer g1 support (#164)
joshuatam Apr 4, 2025
27e94e9
add comments for side on the g1
antheas Apr 4, 2025
73bc696
bump version
antheas Apr 4, 2025
9238e0c
add g1 keyboard
antheas Apr 4, 2025
21ac06b
require start to be pressed for win+D
antheas Apr 4, 2025
22d0cd9
capture both keyboards
antheas Apr 4, 2025
70e3b1a
put touchpad keyboard in correct function
antheas Apr 4, 2025
443752b
fix typo
antheas Apr 4, 2025
7177a53
fix home button release on g1
antheas Apr 4, 2025
f433ce9
fix config check on g1
antheas Apr 4, 2025
a428050
switch to board names for consistency with kernel + adjustor
antheas Apr 6, 2025
cabbf26
disable keyboard wakeups on the claw
antheas Apr 7, 2025
0410a6a
add init mode for back buttons
antheas Apr 7, 2025
f4aa40e
bump version
antheas Apr 7, 2025
8f84804
add generous delays to claw init
antheas Apr 8, 2025
884fc50
add extra zeros to vibration
antheas Apr 10, 2025
001ee2f
add a larger buffer
antheas Apr 14, 2025
9ab768b
delete temporary swap on boot
antheas Apr 18, 2025
4adbb8c
bump version
antheas Apr 18, 2025
3558fa8
add device information
antheas May 1, 2025
d712151
add selinux permissions for bootc
antheas May 1, 2025
29e9eff
bump version
antheas May 1, 2025
5875546
prevent crash if emit is missing
antheas May 4, 2025
67a9db5
add workaround for running in non-steam gamescope
antheas May 4, 2025
def8efd
bump version
antheas May 4, 2025
25b56e1
add extra buttons for msi claw
antheas May 4, 2025
376ee97
bump version
antheas May 4, 2025
13e3b8a
install.sh: change file contexes if SELinux is in enforcing mode (#168)
scottt May 6, 2025
ff45cdc
Master
Mattendo64 May 21, 2025
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
Empty file added .github/workflows/copr_glob.txt
Empty file.
87 changes: 87 additions & 0 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Publish to PyPi, AUR, COPR

on:
workflow_dispatch:
release:
types: [published]

permissions:
contents: read

jobs:
deploy_pypi:
runs-on: ubuntu-latest
environment: prod

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build babel
- name: Generate mo files
run: |
pybabel compile -D hhd -d ./i18n
pybabel compile -D adjustor -d ./i18n
/bin/cp -rf ./i18n/* ./src/hhd/i18n
- name: Build package
run: python -m build -s
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Sleep for 15 minutes
run: sleep 900s
shell: bash

deploy_aur:
runs-on: ubuntu-latest
environment: prod
needs: deploy_pypi

steps:
- uses: actions/checkout@v3
- name: Create PKGBUILD dir
run: mkdir -p ./pkg/
- name: Build PKGBUILD
run: sed "s/pkgver=VERSION/pkgver=$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" PKGBUILD > ./pkg/PKGBUILD
- name: Publish AUR package
uses: KSXGitHub/[email protected]
with:
pkgname: hhd
pkgbuild: ./pkg/PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: update to '${{ github.event.release.name }}'
allow_empty_commits: false
ssh_keyscan_types: rsa,ecdsa,ed25519
updpkgsums: true

deploy_copr:
runs-on: ubuntu-latest
environment: prod
needs: deploy_pypi

steps:
- uses: actions/checkout@v3
- name: Create spec file dir
run: mkdir -p ./pkg/
- name: Build spec file
run: sed "s/REPLACE_VERSION/$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" hhd.spec > ./pkg/hhd.spec
- name: Publish to COPR repo
uses: s0/git-publish-subdir-action@develop
env:
REPO: [email protected]:hhd-dev/hhd-copr.git
BRANCH: main
FOLDER: pkg
SSH_PRIVATE_KEY: ${{ secrets.COPR_SSH_PRIVATE_KEY }}
MESSAGE: update to '${{ github.event.release.name }}'
SKIP_EMPTY_COMMITS: true
# Do not clear any files
CLEAR_GLOBS_FILE: .github/workflows/copr_glob.txt
31 changes: 31 additions & 0 deletions .github/workflows/publish-aur.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish to AUR

on:
workflow_dispatch:

permissions:
contents: read

jobs:
deploy_aur:
runs-on: ubuntu-latest
environment: prod

steps:
- uses: actions/checkout@v3
- name: Create PKGBUILD dir
run: mkdir -p ./pkg/
- name: Build PKGBUILD
run: sed "s/pkgver=VERSION/pkgver=$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" PKGBUILD > ./pkg/PKGBUILD
- name: Publish AUR package
uses: KSXGitHub/[email protected]
with:
pkgname: hhd
pkgbuild: ./pkg/PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: manual update
allow_empty_commits: false
ssh_keyscan_types: rsa,ecdsa,ed25519
updpkgsums: true
27 changes: 27 additions & 0 deletions .github/workflows/publish-copr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish to COPR

on:
workflow_dispatch:

jobs:
deploy_copr:
runs-on: ubuntu-latest
environment: prod

steps:
- uses: actions/checkout@v3
- name: Create spec file dir
run: mkdir -p ./pkg/
- name: Build spec file
run: sed "s/REPLACE_VERSION/$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" hhd.spec > ./pkg/hhd.spec
- name: Publish to COPR repo
uses: s0/git-publish-subdir-action@develop
env:
REPO: [email protected]:hhd-dev/hhd-copr.git
BRANCH: main
FOLDER: pkg
SSH_PRIVATE_KEY: ${{ secrets.COPR_SSH_PRIVATE_KEY }}
MESSAGE: update to '${{ github.event.release.name }}'
SKIP_EMPTY_COMMITS: true
# Do not clear any files
CLEAR_GLOBS_FILE: .github/workflows/copr_glob.txt
35 changes: 35 additions & 0 deletions .github/workflows/publish-pipy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish to PiPy

on:
workflow_dispatch:

permissions:
contents: read

jobs:
deploy_pypi:
runs-on: ubuntu-latest
environment: prod

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build babel
- name: Generate mo files
run: |
pybabel compile -D hhd -d ./i18n
pybabel compile -D adjustor -d ./i18n
/bin/cp -rf ./i18n/* ./src/hhd/i18n
- name: Build package
run: python -m build -s
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ venv
*.egg-info
dist
.vscode
notebooks
notebooks
*.mo
Loading