Skip to content

Commit

Permalink
Remove code to get the mouse acceleration applied
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Aug 13, 2024
1 parent 714a571 commit b7929b5
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,6 @@ jobs:
if: runner.os == 'Linux' # This step is only needed on Linux. The other OSs don't need to be set up
uses: ./.github/actions/headless_display

- name: Set Mouse Acceleration to 0
run: |
reg add "HKCU\Control Panel\Mouse" /v MouseSpeed /t REG_SZ /d 0 /f
reg add "HKCU\Control Panel\Mouse" /v MouseThreshold1 /t REG_SZ /d 0 /f
reg add "HKCU\Control Panel\Mouse" /v MouseThreshold2 /t REG_SZ /d 0 /f
shell: powershell

- name: Restart Explorer to Apply Mouse Settings
run: |
taskkill /f /im explorer.exe
start explorer.exe
shell: cmd

- name: Refresh System Parameters
run: |
rundll32.exe user32.dll,UpdatePerUserSystemParameters
shell: cmd


- name: Run the unit tests
run: cargo test unit --no-default-features --features ${{ matrix.features }} -- --test-threads=1 --nocapture

Expand Down

0 comments on commit b7929b5

Please sign in to comment.