From 672f01f92cc671f68e6a6daaba0664430d5bed62 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 2 May 2016 06:49:16 +0100 Subject: [PATCH] allowing openbsd to play the virtual keyboard via the comp's one, the Linux's layout seems workable --- src/gui/PianoView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/PianoView.cpp b/src/gui/PianoView.cpp index dacaedaa2..82f70c9ce 100644 --- a/src/gui/PianoView.cpp +++ b/src/gui/PianoView.cpp @@ -207,7 +207,7 @@ int PianoView::getKeyFromKeyEvent( QKeyEvent * _ke ) case 27: return 31; // ] } #endif -#ifdef LMMS_BUILD_LINUX +#if defined(LMMS_BUILD_LINUX) || defined(LMMS_BUILD_OPENBSD) switch( k ) { case 52: return 0; // Z = C