From 03f166509f71b455ca5938f9ca21cb0e9babc24e Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 2 Aug 2015 15:28:53 -0700 Subject: [PATCH] Qt: Make keymapper present more information, and space things out a bit more --- CHANGES | 1 + res/keymap.qpic | Bin 22895 -> 48812 bytes res/keymap.svg | 268 +++++++++++++++++++++++-------- src/platform/qt/GBAKeyEditor.cpp | 10 +- 4 files changed, 208 insertions(+), 71 deletions(-) diff --git a/CHANGES b/CHANGES index bb108edd9..10d60be18 100644 --- a/CHANGES +++ b/CHANGES @@ -110,6 +110,7 @@ Misc: - GBA Input: Allow axes and buttons to be mapped to the same key - GBA BIOS: Stub out SoundBias - Qt: Gamepads can now have both buttons and analog axes mapped to the same key + - Qt: Increase usability of key mapper 0.2.1: (2015-05-13) Bugfixes: diff --git a/res/keymap.qpic b/res/keymap.qpic index ffb7f8b7d34b14fd240edf7ce42fac58ce594c68..782d0c7f2a79a0cee1fcc21a08ba2406f6eb97ab 100644 GIT binary patch literal 48812 zcmeHw37AyX(e`vV0%}ww>KBn!MR8$KRDz0AN)U-6AksZ9=)ep!OgGB_!wh`^6;Uzb z3IT~46bYn-ctGD{FDq$PQqsOziTfnhm6Rmb;-4$K)s+k`DcvC7BobS(?KQnf)Uz zt$)LLCCTp%c=()cZKTQ<{#5x=8oL&I&fc1Et8 zzM=X4Z+72@X5^j^Oj-|f_Srh^uh)#$8KuKj_;XvoFPMuuccx#h4@|;gLq<YtLg?^gA&Z>*}hiRG4bwHi6_ zPcZT5yIUT1z(=5e_uu;I&+qHH>$c7{8j84&%F|p-?tvxRP${fs&|Ak;o(bp3PlS>% z^rIt3==R@6Ve ztT$GdgrWDmGxYDzzG|=(^grbp{QMEd{YlGt%(g|#RsN+nzS2|ic`5h2@(*XW9(V1P zjA^|dOG3qpao1ikXf1dw1=Wvr-8J3p2VkG4n5|c^y(8_D=e-r_ht})+y9>5wd+GA! zt)kY2+Y6~p_@CPc(Ym++Klk4sSwB5{_UO^CAI;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<{739*NKyg0C|-M>OWuO)PXUpS?K0ZWF~9!rk#nTn0RH zgT-f0OW2q%MRS#9QBHC( zzu1Gul#1VSV8Ga$3RIPhVRH`vnF{UtqkTyGmtN;u_{T90gU_P=NX~vLX_% z)PZjE`4<}q=}@mA^Ze|12Xspf#!p;#B4$9{wi8EgT9*Z3-(O&#XK*Y~D+um(dL?vy zV%S5WnHLb#fH0WELQJ|MrkhxZlRRh!wA>qruGuzFOJ|XnA)H^wgS%IMx@59~p?1p8 zEq}hr3kt@x)8hPb*Zv2!4>M2NIi9!Abv!a)+zhCjjgGXvy##h1{g@MXLH*_|ShEdc z$nVTo=vK{u`it75yLgzuz8Bw>w#?qLfABM`Z?Fs(24h+1Z4JZ>=pKki74-ZFx|wY= zAhdvK#n%-~g9iP(I-WXo)D83OXJqMnn#eC$w~t_XL1Wz_YYWmV^3(9p+7i(zSs8pS zmRId1u7$R--JP3Ug{?7|ZaK`(ccCnlUdY - - - + + + + + + + + - - - - - - + - + - - - + + + - + - + - + - - + + - + - + - - + + - - + + - + - - + + - - + + - + - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/platform/qt/GBAKeyEditor.cpp b/src/platform/qt/GBAKeyEditor.cpp index c86ed2bab..73e0f6ac6 100644 --- a/src/platform/qt/GBAKeyEditor.cpp +++ b/src/platform/qt/GBAKeyEditor.cpp @@ -18,9 +18,9 @@ using namespace QGBA; const qreal GBAKeyEditor::DPAD_CENTER_X = 0.247; -const qreal GBAKeyEditor::DPAD_CENTER_Y = 0.431; -const qreal GBAKeyEditor::DPAD_WIDTH = 0.1; -const qreal GBAKeyEditor::DPAD_HEIGHT = 0.1; +const qreal GBAKeyEditor::DPAD_CENTER_Y = 0.432; +const qreal GBAKeyEditor::DPAD_WIDTH = 0.12; +const qreal GBAKeyEditor::DPAD_HEIGHT = 0.12; GBAKeyEditor::GBAKeyEditor(InputController* controller, int type, const QString& profile, QWidget* parent) : QWidget(parent) @@ -148,8 +148,8 @@ void GBAKeyEditor::resizeEvent(QResizeEvent* event) { setLocation(m_keyDR, DPAD_CENTER_X + DPAD_WIDTH, DPAD_CENTER_Y); setLocation(m_keySelect, 0.415, 0.93); setLocation(m_keyStart, 0.585, 0.93); - setLocation(m_keyA, 0.826, 0.451); - setLocation(m_keyB, 0.667, 0.490); + setLocation(m_keyA, 0.826, 0.475); + setLocation(m_keyB, 0.667, 0.514); setLocation(m_keyL, 0.1, 0.1); setLocation(m_keyR, 0.9, 0.1);