Skip to content

Commit dcdab72

Browse files
committed
Update gamecontrollerdb.txt
1 parent a93c1d1 commit dcdab72

File tree

5 files changed

+68
-51
lines changed

5 files changed

+68
-51
lines changed

build.gradle.kts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import de.undercouch.gradle.tasks.download.Download
21
import dev.kikugie.stonecutter.processor.Expression
32
import net.fabricmc.loom.task.RemapJarTask
43

@@ -11,7 +10,6 @@ plugins {
1110
`maven-publish`
1211

1312
id("org.ajoberstar.grgit") version "5.0.+"
14-
id("de.undercouch.download")
1513
}
1614

1715
val mcVersion = property("mcVersion")!!.toString()
@@ -163,31 +161,6 @@ dependencies {
163161
}
164162
}
165163

166-
// download the most up to date controller database for SDL2
167-
val downloadHidDb by tasks.registering(Download::class) {
168-
finalizedBy("convertHidDBToSDL3")
169-
170-
group = "mod"
171-
172-
src("https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt")
173-
dest("src/main/resources/assets/controlify/controllers/gamecontrollerdb-sdl2.txt")
174-
}
175-
176-
// SDL3 renamed `Mac OS X` -> `macOS` and this change carried over to mappings
177-
val convertHidDBToSDL3 by tasks.registering(Copy::class) {
178-
mustRunAfter(downloadHidDb)
179-
dependsOn(downloadHidDb)
180-
181-
group = "mod"
182-
183-
val file = downloadHidDb.get().outputs.files.singleFile
184-
from(file)
185-
into(file.parent)
186-
187-
rename { "gamecontrollerdb-sdl3.txt" }
188-
filter { it.replace("Mac OS X", "macOS") }
189-
}
190-
191164
tasks {
192165
processResources {
193166
val modId: String by project

changelogs/2.0.0-beta.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Yes, it is planned that this keyboard will automatically appear for any other te
2121

2222
- Add DualSense mute button light integration with simple voice chat mod.
2323
- Re-enable mod compatibilities on 1.20.6 build. (except Iris for now)
24+
- Update the SDL controller mapping definitions
2425

2526
## Bug fixes
2627

0 commit comments

Comments
 (0)