Page 1 of 3

Amiga Emulation - Onscreen Keyboard

Posted: Fri Jun 09, 2017 9:02 am
by Retroash
Good Morning :-)

Would it be possible to have an onscreen keyboard or the ability to map certain keys to joypad buttons for specific games. i.e. Pinball Illusions.

Thank you

Keep up the awesome work :D

Re: Amiga Emulation - Onscreen Keyboard

Posted: Fri Jun 09, 2017 4:56 pm
by fcatrin
Hi!

Right now it's not possible. The emulator had an onscreen keyboard but it doesn't work with Android TV devices, because it requires a touchscreen.
I disabled it to avoid confusion and added a manual method to map keys:

http://www.retrox.tv/button-mappings/

There is some work to have an usable onscreen keyboard, but it is halted because themes/offline took priority.

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sat Jun 10, 2017 9:03 am
by Retroash
Thankyou, where can i find the keymap.conf file on my Nvidia Shield. for the life of me i cannot fond it.

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sat Jun 10, 2017 5:25 pm
by fcatrin
You need to create one for your game. It has to be put in the same folder using the file names in the "configuration files" section of the document.
http://www.retrox.tv/button-mappings/

For Amiga there is additional info here:
http://www.retrox.tv/amiga/

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sat Jun 10, 2017 6:44 pm
by Retroash
I see, I was thinking that would be the case.

I am trying to create a config file for this game

Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 1 of 4).adf

it has 4 disks so i have file called

Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 1 of 4).adf.keymap.config

will that work or do i need 4 files to go with each disk ? i.e

Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 2 of 4).adf.keymap.config and so forth ?

Also the doesnt seem to be anything mentioned about the shift keys,

im guessing BTN_Y = KEY_LSHIFT would work?

Thanks for all ur help Franco

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sat Jun 10, 2017 7:31 pm
by Retroash
Dont seem to be able to get this to worl for Amiga.

I have in a folder

Lotus Turbo Challenge 2.adf
Lotus Turbo Challenge 2.adf.keymap.conf

In my config file i have

TL = KEY_SPACE
TR = KEY_P
BTN_A = KEY_SPACE
BTN_X = KEY_SPACE
BTN_Y = KEY_SPACE
SELECT = KEY_SPACE
START = KEY_ESC

to start the game u have to press space but nothing working. the pad diagram that shows up on start also doesnt show the space keys

What am I doing wrong ?

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sat Jun 10, 2017 7:45 pm
by fcatrin
These are my settings for Pinball Dreams, it may be similar for Pinbal Illusions

Code: Select all

TL = KEY_LEFTSHIFT
TR = KEY_RIGHTALT
TL2 = KEY_F3
TR2 = KEY_F4
SELECT = KEY_ESC
START = KEY_F1
BTN_X = KEY_F2
BTN_Y = KEY_SPACE
BTN_B = MOUSE_LEFT
BTN_A = KEY_RIGHTALT
LEFT = KEY_LEFTSHIFT
UP = KEY_Y
DOWN = KEY_N
RIGHT = KEY_SPACE


For Lotus 2 I have these

Code: Select all

START = KEY_ENTER
BTN_X = KEY_SPACE
BTN_Y = KEY_SPACE
BTN_A = KEY_DOWN


I would simplify your folder layout as this:

Code: Select all

amiga/Pinball Illusions/Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 1 of 4).adf
amiga/Pinball Illusions/Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 2 of 4).adf
amiga/Pinball Illusions/Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 3 of 4).adf
amiga/Pinball Illusions/Pinball Illusions (1995)(21st Century)(AGA)[cr PDX](Disk 4 of 4).adf
amiga/Pinball Illusions/keymap.conf
amiga/Lotus 2/Lotus Turbo Challenge 2.adf
amiga/Lotus 2/keymap.conf


Also note this:

Testing
You may need to test several times before getting the desired configuration. You can use this process for testing:

1. Create or modify the keymap.conf file
2. Select and run the game
3. Test the game
4. If the you need to make a change, press the Home button to reset the config
5. Go back to step 1


The home button resets the list and forces the app to read the keymap.conf again. That button is not available in the TV interface, but just go back to the home screen or perform a search and it will do the same.

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sat Jun 10, 2017 11:00 pm
by Retroash
Ahhh right i see.... now it makes sense.

this bit threw in the documentation where it said.

stealth.atr
stealth.atr.keymap.conf

hence why i wrote what lotus turbo challenge 2.adf.keymap.conf

Thankyou so much for clearing that up. Finally I can play by beloved Amiga games on the big screen.

Thankyou

Re: Amiga Emulation - Onscreen Keyboard

Posted: Sun Jun 11, 2017 6:51 am
by Retroash
Hello again, Sorry :?:

OK, so I am still having issues. got to be something simple I am doing wrong.

On my SDCard I have a folder called Amiga and inside that another folder called Pinball Illusions.

Inside there I have the .adf files and a keymap.conf file which I created and edit using notepad++

PrtScr capture.jpg
PrtScr capture.jpg (20.06 KiB) Viewed 10678 times


Then I have copied your settings from Pinball settings.

PrtScr capture_2.jpg
PrtScr capture_2.jpg (22.89 KiB) Viewed 10678 times


I have added that folder in manage games and the booted up the game. the initial controls screen shows no different and when I get into the game it still hasn't taken the conf file. the control are still default.

Has anyone got this to work on the shield.

Thanks for being patient, I would really like to get this working. Amiga Emulation is the one thing all other systems struggle with.

Kind Regards

Ashley

Re: Amiga Emulation - Onscreen Keyboard

Posted: Mon Jun 12, 2017 6:33 pm
by Retroash
Well after trying for 3 days doing different things i have come to conclusion that keymap.conf does not work for amiga. i have got screenshot and uae.conf to work but everything i have tried for keymap.conf does not work.

If someone could post there keymap.conf file that would be great. Thankyou