From 15f9fa724a94530b19516bf6a78109f7981192cc Mon Sep 17 00:00:00 2001
From: m1macrophage <168948267+m1macrophage@users.noreply.github.com>
Date: Fri, 28 Feb 2025 00:08:20 -0800
Subject: [PATCH] Multiple synth layouts: updated to the latest slider script.
(#13422)
* Explicit configuration: Using add_* functions, instead of scanning through the layout for sliders.
* Separated the copy-pasteable portion of the script.
* A no-op for the DMX and LinnDrum layouts.
* Fixes multitouch and slider "drift", and adds support for relative adjustments to the D70 sliders (they were using an older version of the script).
---
src/mame/layout/linn_linndrum.lay | 243 +++++++++++++++-------------
src/mame/layout/oberheim_dmx.lay | 253 ++++++++++++++++--------------
src/mame/layout/roland_d70.lay | 197 ++++++++++++++---------
3 files changed, 394 insertions(+), 299 deletions(-)
diff --git a/src/mame/layout/linn_linndrum.lay b/src/mame/layout/linn_linndrum.lay
index 66530763c41..f755488d13f 100644
--- a/src/mame/layout/linn_linndrum.lay
+++ b/src/mame/layout/linn_linndrum.lay
@@ -594,121 +594,140 @@ copyright-holders:m1macrophage
diff --git a/src/mame/layout/oberheim_dmx.lay b/src/mame/layout/oberheim_dmx.lay
index f293000cc8d..d4a8aaeb4d9 100644
--- a/src/mame/layout/oberheim_dmx.lay
+++ b/src/mame/layout/oberheim_dmx.lay
@@ -92,13 +92,13 @@ copyright-holders:m1macrophage
-
+
-
+
@@ -117,13 +117,13 @@ copyright-holders:m1macrophage
-
+
-
+
@@ -355,8 +355,8 @@ copyright-holders:m1macrophage
-
-
+
+
@@ -541,121 +541,144 @@ copyright-holders:m1macrophage
diff --git a/src/mame/layout/roland_d70.lay b/src/mame/layout/roland_d70.lay
index 6f767e75eb4..7ec0d5404d8 100644
--- a/src/mame/layout/roland_d70.lay
+++ b/src/mame/layout/roland_d70.lay
@@ -248,7 +248,7 @@ copyright-holders:Felipe Sanches, m1macrophage
-
+
@@ -256,7 +256,7 @@ copyright-holders:Felipe Sanches, m1macrophage
-
+
@@ -264,7 +264,7 @@ copyright-holders:Felipe Sanches, m1macrophage
-
+
@@ -272,7 +272,7 @@ copyright-holders:Felipe Sanches, m1macrophage
-
+
@@ -550,84 +550,137 @@ copyright-holders:Felipe Sanches, m1macrophage