-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flip phone device overlay #39
Comments
I can probably help out with this, though my overlays are typically pretty ugly, unfortunately. I can at least get the functionality and layout and someone else can pretty it up. I do have some questions, though: what are you mapping these functions to in the core? It looks like too many things for the retropad, so I'm assuming retrokeyboard? Modifier keys like shift are weird in RetroArch. You can't just call shift plus whatever and have it do what it's supposed to, but if someone presses and holds shift on the overlay and then presses another key, it should work. Is that good enough? |
There is no actual shift key on phones, that key is just the star key. If you press it, it would send
That is to be determined whether it be a Retropad or Retrokeyboard. The minimum set of buttons are: Up, Down, Left, Right, Select, Back, End, Soft 1 (L), Soft 2 (R), 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, Star, and Pound. SquirrelJME right now (outside of RetroArch) has the following key bindings on the keyboard:
|
Okay, so I defined a bare minimum that will fit on RetroPad and it is defined as follows: /* SOFT LEFT. */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_SELECT, "Soft 1 (Left Shoulder)"},
/* SOFT LEFT. */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_START, "Soft 2 (Right Shoulder)"},
/* [1 o~o] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_X, "1 Voicemail (Game A)"},
/* [2 abc] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_UP, "2 ABC (Game Up)"},
/* [3 def] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_A, "3 DEF (Game B)"},
/* [4 ghi] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_LEFT, "4 GHI (Game Left)"},
/* [5 jkl] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_L2, "5 JKL (Game Fire/Select)"},
/* [6 mno] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_RIGHT, "6 MNO (Game Right)"},
/* [7 pqrs] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_Y, "7 PQRS (Game C)"},
/* [8 tuv] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_DOWN, "8 TUV (Game Down)"},
/* [9 wxyz] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_B, "9 WXYZ (Game D)"},
/* [* shf] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_L, "Star (Shift)"},
/* [0 +] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_R2, "0 Operator (Plus)"},
/* [# spac] */
{0, RETRO_DEVICE_JOYPAD, 0,
RETRO_DEVICE_ID_JOYPAD_R, "Pound (Space)"}, It looks like this: |
Ok, that's very doable. Would you care to try this one I whipped up? It's meant for portrait orientation: |
Hi! This one will work! Thank you! |
hey, no problem :) I'll get it pushed into the repo tomorrow. |
Cool! Thank you! |
Alright, closed by ecccb45 Let me know if it needs anything else added to it in the future. |
A new overlay for flip phone device emulation is needed (currently by SquirrelJME). Note that any overlays for ColecoVision, Intellivision, and Atari Jaguar systems will not work here due to lack of information on buttons and the number of available buttons.
Specifically the following keys are required:
1 🖂
or1 ➿
(Voicemail)2 ABC
3 DEF
4 GHI
5 JKL (tactile aid)
6 MNO
7 PQRS
8 TUV
9 WXYZ
* Shift
(Star, Shift)0 + ␣
(Zero, Plus, Space)#
(Pound)0 +
(Zero, Plus)# ␣
(Pound, Space)This can be seen in the following picture of a Kyocera Dura XT:
The text was updated successfully, but these errors were encountered: