Downloads:

29,138

Downloads of v 2.1.4:

171

Last Update:

06 Jul 2020

Package Maintainer(s):

Software Author(s):

  • Travis Nickles
  • Jays2Kings

Tags:

ds4windows ps4 dualshock controller emulator foss

DS4Windows

2.1.4 | Updated: 06 Jul 2020

Downloads:

29,138

Downloads of v 2.1.4:

171

Maintainer(s):

Software Author(s):

  • Travis Nickles
  • Jays2Kings

DS4Windows 2.1.4

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install DS4Windows, run the following command from the command line or from PowerShell:

>

To upgrade DS4Windows, run the following command from the command line or from PowerShell:

>

To uninstall DS4Windows, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade ds4windows -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade ds4windows -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure ds4windows installed
  win_chocolatey:
    name: ds4windows
    state: present
    version: 2.1.4
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'ds4windows' do
  action    :install
  version  '2.1.4'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: ds4windows,
    Version: 2.1.4,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller ds4windows
{
   Name     = 'ds4windows'
   Ensure   = 'Present'
   Version  = '2.1.4'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'ds4windows':
  provider => 'chocolatey',
  ensure   => '2.1.4',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install ds4windows version="2.1.4" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 06 Jul 2020.

Description

Simple and Clean UI

Since the idea is to get to get your controller ready for games, The UI was made to make to be quick to pick up. Once first launched, the tool takes your through the setup, gives you a default profile and you're ready to go, or if you choose you can change things to your heart's content.

Profile System

With profiles, it makes it easier to quickly swap through various settings for your controller. You can set up controls for certain games, or set the lightbar to your favorite color. You can even swipe two fingers along the touchpad to swap profiles without the need to even open back the program.

Automatic Profiles

Along with switching profiles manually, you can also switch your controllers to different profiles automatically when certain programs are launched.

Tons of options

From control mapping, to touchpad sensitivity, to marcos, to rainbow lightbar, to motion controls, to special actions triggerd by pressing multiple actions, to launching a program with profiles, there are plenty of settings to play around with.


tools\chocolateybeforemodify.ps1
$packageName  = $env:ChocolateyPackageName

$p = Get-Process -Name "DS4Windows" -ea 0
if (!$p) {
    Write-Host "$packageName is not running"
    return
}

Write-Host "$packageName is running, trying to gracefully shut it down before upgrade/uninstall"
Stop-Process -InputObject $p -Force
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName  = $env:ChocolateyPackageName
$packageTitle = $env:ChocolateyPackageTitle
$toolsDir     = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url          = 'https://github.com/Ryochan7/DS4Windows/releases/download/v2.1.4/DS4Windows_2.1.4_x86.zip'
$checksum     = '1885095e8cbdae6d7dae4b5c480f1bd739ba2de875ff4ce12d599c122aee91b5'
$url64        = 'https://github.com/Ryochan7/DS4Windows/releases/download/v2.1.4/DS4Windows_2.1.4_x64.zip'
$checksum64   = '858c5f398806ca965edb7f96cbe569f88a86e2a574e5e0b4a85b7de05eeb4bf9'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  url           = $url
  url64bit      = $url64
  checksum      = $checksum
  checksumType  = 'sha256'
  checksum64    = $checksum64
  checksumType64= 'sha256'
  validExitCodes= @(0)
}

Install-ChocolateyZipPackage @packageArgs

$startupPath = [Environment]::GetFolderPath("Startup")
$startMenuPath = [Environment]::GetFolderPath("CommonPrograms")

if(Test-Path -Path "$startupPath\$packageName.lnk") {
    Install-ChocolateyShortcut `
        -ShortcutFilePath "$startupPath\$packageName.lnk" `
        -TargetPath "$env:ChocolateyInstall\bin\$packageTitle.exe"
}

Install-ChocolateyShortcut `
  -ShortcutFilePath "$startMenuPath\$packageName.lnk" `
  -TargetPath "$env:ChocolateyInstall\bin\$packageTitle.exe"
tools\chocolateyuninstall.ps1
$packageName = $env:ChocolateyPackageName
$startupPath = [Environment]::GetFolderPath("Startup")
$startMenuPath = [Environment]::GetFolderPath("CommonPrograms")

Remove-Item "$startupPath\$packageName.lnk" -ErrorAction SilentlyContinue -Force
Remove-Item "$startMenuPath\$packageName.lnk" -ErrorAction SilentlyContinue -Force

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
DS4Windows 2.1.3 463 Thursday, June 18, 2020 Approved
DS4Windows 2.1.2 433 Tuesday, June 2, 2020 Approved
DS4Windows 2.1.1 452 Saturday, May 16, 2020 Approved
DS4Windows 2.1.0 390 Monday, May 4, 2020 Approved
DS4Windows 2.0.16 469 Monday, April 13, 2020 Approved
DS4Windows 2.0.15 278 Tuesday, April 7, 2020 Approved
DS4Windows 2.0.14 350 Thursday, March 26, 2020 Approved
DS4Windows 2.0.13 359 Saturday, March 14, 2020 Approved
DS4Windows 2.0.12 268 Saturday, March 7, 2020 Approved

Discussion for the DS4Windows Package

Ground Rules:

  • This discussion is only about DS4Windows and the DS4Windows package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or DS4Windows, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus