summaryrefslogtreecommitdiffstats
path: root/source/l/SDL2/SDL2.periodic.magnitude.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-07-25 22:48:09 +0000
committer Eric Hameleers <alien@slackware.com>2019-07-26 08:59:43 +0200
commit8b5c0b991d345c720e4c36441cf53151c23138cf (patch)
tree784ab367f86443be74cffb2d9aa39044e5ab880c /source/l/SDL2/SDL2.periodic.magnitude.patch
parent652e0a15cf4aa30541c94f5f4f7993030fc267d1 (diff)
downloadcurrent-8b5c0b991d345c720e4c36441cf53151c23138cf.tar.gz
current-8b5c0b991d345c720e4c36441cf53151c23138cf.tar.xz
Thu Jul 25 22:48:09 UTC 201920190725224809
l/SDL2-2.0.10-x86_64-1.txz: Upgraded. l/gmime-3.2.3-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/NetworkManager-1.18.2-x86_64-1.txz: Upgraded. n/dhcpcd-8.0.1-x86_64-1.txz: Upgraded. n/openldap-client-2.4.48-x86_64-1.txz: Upgraded. xap/pan-0.145-x86_64-2.txz: Rebuilt. Recompiled against gmime-3.2.3.
Diffstat (limited to 'source/l/SDL2/SDL2.periodic.magnitude.patch')
-rw-r--r--source/l/SDL2/SDL2.periodic.magnitude.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/l/SDL2/SDL2.periodic.magnitude.patch b/source/l/SDL2/SDL2.periodic.magnitude.patch
deleted file mode 100644
index 2ac8756c6..000000000
--- a/source/l/SDL2/SDL2.periodic.magnitude.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-# HG changeset patch
-# User Ethan Lee <flibitijibibo@flibitijibibo.com>
-# Date 1544124378 18000
-# Node ID 1f8d0b1afe07d1cef54d05b46770ac2c5c8f0c09
-# Parent 99d8b18acf8a2a5f8344150ca55c3b3f382bab2f
-Linux Haptic: Fix periodic.magnitude value
-
-diff -r 99d8b18acf8a -r 1f8d0b1afe07 src/haptic/linux/SDL_syshaptic.c
---- a/src/haptic/linux/SDL_syshaptic.c Sat Dec 08 11:22:50 2018 -0800
-+++ b/src/haptic/linux/SDL_syshaptic.c Thu Dec 06 14:26:18 2018 -0500
-@@ -801,8 +801,7 @@
- else if (periodic->type == SDL_HAPTIC_SAWTOOTHDOWN)
- dest->u.periodic.waveform = FF_SAW_DOWN;
- dest->u.periodic.period = CLAMP(periodic->period);
-- /* Linux expects 0-65535, so multiply by 2 */
-- dest->u.periodic.magnitude = CLAMP(periodic->magnitude) * 2;
-+ dest->u.periodic.magnitude = periodic->magnitude;
- dest->u.periodic.offset = periodic->offset;
- /* Linux phase is defined in interval "[0x0000, 0x10000[", corresponds with "[0deg, 360deg[" phase shift. */
- dest->u.periodic.phase = ((Uint32)periodic->phase * 0x10000U) / 36000;