summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-10-16 09:31:06 +0200
committerAidan MacDonald <amachronic@protonmail.com>2021-10-16 16:49:56 -0400
commitbf54002bc19b6dde4c9e3ad5b5c505facd1af95a (patch)
tree729808502830cd7a60a2fe1d58f3740b109cccc8
parentd085d01f5e009766fe720236249597c7c9a3fd3c (diff)
downloadrockbox-bf54002bc19b6dde4c9e3ad5b5c505facd1af95a.tar.gz
rockbox-bf54002bc19b6dde4c9e3ad5b5c505facd1af95a.zip
Fiio M3k UI Simulator: Fix upside-down mapping for volume buttons
Change-Id: I57a1ee1ac43ea0eb5587e6249ef6bb06ab7342af
-rw-r--r--uisimulator/buttonmap/fiio-m3k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/buttonmap/fiio-m3k.c b/uisimulator/buttonmap/fiio-m3k.c
index 401f83a50c..30d1550ca3 100644
--- a/uisimulator/buttonmap/fiio-m3k.c
+++ b/uisimulator/buttonmap/fiio-m3k.c
@@ -83,8 +83,8 @@ int key_to_button(int keyboard_button)
83 83
84struct button_map bm[] = { 84struct button_map bm[] = {
85 { SDLK_ESCAPE, 12, 55, 15, "Power" }, 85 { SDLK_ESCAPE, 12, 55, 15, "Power" },
86 { SDLK_KP_MINUS, 12, 125, 15, "Volume -" }, 86 { SDLK_KP_MINUS, 12, 188, 15, "Volume -" },
87 { SDLK_KP_PLUS, 12, 188, 15, "Volume +" }, 87 { SDLK_KP_PLUS, 12, 125, 15, "Volume +" },
88 { SDLK_SPACE, 12, 255, 15, "Play" }, 88 { SDLK_SPACE, 12, 255, 15, "Play" },
89 { SDLK_UP, 146, 394, 20, "Up" }, 89 { SDLK_UP, 146, 394, 20, "Up" },
90 { SDLK_RETURN, 146, 438, 20, "Select" }, 90 { SDLK_RETURN, 146, 438, 20, "Select" },