shithub: alienpatch

Download patch

ref: c60e0203169777f518c0cd4a9134626bd5ca400b
parent: 71cc81f4454b5bc72bc59e26a50fc64ed4dca348
author: qwx <qwx@sciops.net>
date: Sun Mar 5 18:07:54 EST 2023

remove ft2-globalvol: pushed to fork

--- a/ft2-globalvol
+++ /dev/null
@@ -1,31 +1,0 @@
-diff fde50d93b2284178743a12e8c359286ea99f0b21 uncommitted
---- a/src/ft2_keyboard.c
-+++ b/src/ft2_keyboard.c
-@@ -346,6 +346,27 @@
- 		}
- 		return;
- 
-+		case SDL_SCANCODE_VOLUMEUP:
-+			if (config.masterVol <= 256-16)
-+				config.masterVol += 16;
-+			else
-+				config.masterVol = 256;
-+
-+			setAudioAmp(config.boostLevel, config.masterVol, !!(config.specialFlags & BITDEPTH_32));
-+			if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
-+				showConfigScreen();
-+			break;
-+		case SDL_SCANCODE_VOLUMEDOWN:
-+			if (config.masterVol >= 16)
-+				config.masterVol -= 16;
-+			else
-+				config.masterVol = 0;
-+
-+			setAudioAmp(config.boostLevel, config.masterVol, !!(config.specialFlags & BITDEPTH_32));
-+			if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
-+				showConfigScreen();
-+			break;
-+
- 		default: break;
- 	}
-