This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<gamecontroller configversion="19" appversion="2.20.2"> | |
<!--The SDL name for a joystick is included for informational purposes only.--> | |
<sdlname>WiimoteGlue Virtual Gamepad</sdlname> | |
<!--The GUID for a joystick is included for informational purposes only.--> | |
<guid>03000000010000000100000001000000</guid> | |
<names/> | |
<sets> | |
<set index="1"> | |
<stick index="1"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.gitignore b/.gitignore | |
index cff167c..793ee80 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -115,7 +115,8 @@ _UpgradeReport_Files/ | |
Backup*/ | |
UpgradeLog*.XML | |
- | |
+*.VC.db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"input": "multipointer", | |
"output": "touch", | |
"pairOnStart": false, | |
"connectOnStart": true, | |
"minimizeOnStart": false, | |
"minimizeToTray": false, | |
"pairedOnce": false, | |
"primaryMonitor": "", | |
"completelyDisconnect": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
from collections import deque | |
smoothtest = deque([ 0.0 ] * 8, maxlen=8) | |
weights = [ 0.75 ** x for x in reversed(xrange(8)) ] | |
weights2 = [ 0.75 ** x for x in xrange(8) ] | |
w_sum = sum(weights) | |
result = 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
disablegids() | |
{ | |
sleep 6 | |
GAMEPAD_IDS=`xinput | grep "Virtual Gamepad (MoltenGamepad)" | awk '{print $6}' | tr -d "id="` | |
for gid in $GAMEPAD_IDS | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for dnsmasq. | |
# | |
# Format is one option per line, legal options are the same | |
# as the long options legal on the command line. See | |
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. | |
# Listen on this specific port instead of the standard DNS port | |
# (53). Setting this to zero completely disables DNS function, | |
# leaving only DHCP and/or TFTP. | |
#port=5353 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import time | |
import signal | |
import logging | |
# cd to directory containing upstream DreamPi source code | |
os.chdir("/home/ryochan7/Sources/dreampi/") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs | |
index 82919d2..aaf38a6 100644 | |
--- a/DS4Windows/DS4Library/DS4Device.cs | |
+++ b/DS4Windows/DS4Library/DS4Device.cs | |
@@ -441,6 +441,11 @@ namespace DS4Windows | |
touchpad = new DS4Touchpad(); | |
sixAxis = new DS4SixAxis(); | |
+ | |
+ byte[] calibration = new byte[41]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Sys/HidGuardian/Device.c b/Sys/HidGuardian/Device.c | |
index 7f49c8c..8e17fdc 100644 | |
--- a/Sys/HidGuardian/Device.c | |
+++ b/Sys/HidGuardian/Device.c | |
@@ -141,6 +141,7 @@ VOID EvtDeviceFileCreate( | |
WDF_REQUEST_SEND_OPTIONS options; | |
NTSTATUS status; | |
BOOLEAN ret; | |
+ WDF_REQUEST_PARAMETERS params; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs | |
index 14d1ea4..5215c3d 100644 | |
--- a/DS4Windows/DS4Control/ControlService.cs | |
+++ b/DS4Windows/DS4Control/ControlService.cs | |
@@ -385,6 +385,7 @@ namespace DS4Windows | |
{ | |
device.setIdleTimeout(getIdleDisconnectTimeout(ind)); | |
device.setBTPollRate(getBTPollRate(ind)); | |
+ touchPad[ind].ResetTrackAccel((int)getTrackballFriction(ind)); | |