amiberry
amiberry copied to clipboard
Amiberry - virtual keyboard
I have complied the "dev" version and I am doing a little testing with my my rpi3 and IPAC so I can provide a couple of Retroarch.cfg for IPAC users for your wiki.
I just wondered.......does Amiberry have a an option to display a virtual keyboard on screen?
@tukicat Not yet, but it's planned to be added in the near future. We already have sample code for it, but we haven't had time to implement it in Amiberry yet.
Great thanks for the info. A while ago I helped Chui with virtual keyboard gfx for the UAE4ALL port for the Dingoo A320, I would be happy to help if there is anything you need for Amiberry.
@tukicat Fantastic, help in the project is always welcome! :) For now, the main focus is get things in order for the next stable release, so we can finally merge "dev" back into "master". Once that is done, we can start adding new features into "dev" again, so this will be one of them.
Let's keep this issue for future reference, and revisit it after the new version is out.
No problem, happy to help when you are ready.
ScHlAuChi also made some great keyboard images I used in UAE4All2 for Vita. If you are interested, here are the images: https://drive.google.com/open?id=1W9GCWUZl_cDjMFsUnLja5VTaNZLKPMv1
Here is an example of one of the keyboard images in use:

That keyboard looks awesome! Hopefully it can be used (and with a bit of transparency so you can see what's going on). I also hope this can replace the Android one. Good job.
The archive link I posted also includes a version with Shift depressed (capital letters etc) and versions for uk and German keymaps :)
we do already have a gfx in mind, but maybe it is something that could have several options (if the layout can be tabled in some way)
www.djcresswell.com/amigaonline/AmigaKeyboardPSP.png
I think @rsn8887 's would be better IMHO as it's clearer and can still be seen clearly with some transparency which will be vital when selecting keys as you can see the image underneath. That cropped photo of the Amiga keyboard looks like it's at an angle, you could have at least used a straight picture :)
The transparency would be added by the graphics drawing routine - should be no need to have it on the picture itself, so in theory anything could be used. It would be easy enough to have the transparency value adjustable, but these things shouldnt be judged until seen/tested anyway.
Used this one for years on another popular (portable) Amiga emulator, so no problem with the curve.
Not being rude, but I really dont think the other one looks very Amiga. It has more of an 8-bit feel.
As i said, it may be possible to have multiple options anyway.
The 8bit feel of ScHlAuChi's keyboards I uploaded came from necessity: The image was made to fit into a 320*200 minimum screen resolution (the smaller the screen resolution, the faster the emulator).
Hi, I am glad that there are some options for virtual keyboards on Amiberry. As I say a while ago I did the virtual keyboard for Chui's Dingoo A320 port of UAE4ALL, I believe it may also have been used for the Pandora port.
Completely by chance I was at friends and noticed he had an Armiga and the virtual keyboard on this is the same one I produced for the A320.
The virtual keyboard has a keyboard layout and when you hover the cursor over each key it shows and enlarged version to the side. However, I could make better version using the enlarged keys.
If you did want to use this, and I am by no way saying it is the best option, then I probably just need check with Chui that it is ok, as I produced it for his use some time ago.

Here you can have my iAmiga Keyboard that i use for my iPad Amiga Emu. I don't need this anymore.
WOAW i love it, please use this one <3
:-) Thx
All keys are square, it will easier to use :) It should be cool to use a light blue on KEY OVER and a dark blue on KEY PRESS, and possibly leave the dark blue on a key that remains active as the key SHIFT or SHIFT for example. It's just a idea already use on the AMIGA emulator port on xbox.
@CypherXG
Lovely, I believe that should be the one ! Good work, man.
That's what i call a nice virtual keyboard! It will brings a lot to the experience, playing our old games with a nice one like this!
As a first step, I've added the vbkd files from @rsn8887's UAE4All port in the repo (as well as other PSP2 related stuff, with the aim of making Amiberry work on PSVita/PSTV later).
Note the files have since been updated (now with French keyboard, too): https://github.com/rsn8887/uae4all2/tree/master/src/vkbd
Keyboard images are here: https://github.com/rsn8887/uae4all2/tree/master/psp2data/data
@rsn8887 Thanks for the heads up! In a funny coincidence, I was experimenting with compiling Amiberry for the PSP2/PSVita/PSTV earlier today. :)
I had to remove the vbkd for now, since it's still using SDL1 calls and we've moved to SDL2 (I noticed that sdl2 to sdl1 header). I'll merge the latest you have and convert them to pure SDL2 at some later point, as I need to get other things fixed with it first (I got several files compiled normally, until I got to the fpp_native file - which requires fenv.h to get some definitions from there, but those could not be found in the vitasdk environment). Anyway, that's a different issue than this one...
Sorry to revive an old thread but is there any progress on a virtual keyboard for Amiberry on retropie? I have this emulator on my switch (which has a virtual keyboard) and have just built a bartop arcade and this was the 1st emulator i had to have running. Most games dont require it but it would be nice to have.
If not then no problem and many thanks for this amazing app!
any news about virtual keyboard?
@davidgrohl Yes, coming soon... :)
Just updated to version 5.1. can you confirm no virtual keyboard added yet?
Just updated to version 5.1. can you confirm no virtual keyboard added yet?
It's not part of 5.1, as it wasn't quite ready to be included there. It still needs some work, so it will come with a future update.
... any news?
I was planning on adding this myself until I see it’s already being worked on. Is there somewhere I can try this out or contribute?
The dev branch has some work-in-progress implementation, but I haven't had time to revisit this lately.
The current status is that the virtual keyboard is brought up on the screeen (with transparency) on-demand, and hidden again, but you can't select any keys to press yet. There are multiple themes for keyboards available as well, found in data/vkbd - the plan was to choose the one you prefer, or even use your own.
Thanks. I finally got time to start looking into this. I downloaded the dev branch and compiled it. But didn't see that there is any functionality to bring up the virtual keyboard. The function vkdb_init and vkbd_redraw seem implemented but as far as I can see nowhere used yet. Or I'm overlooking it. As a very small hack I call vkbd_init and vkbd_redraw somewhere myself and indeed see the keyboard. It's a start to understand the code.
I have some questions; if this is addressed somewhere in documentation, could you please direct me to it.
- Is there a recommended development environment?
- When I run cmake on the dev branch without modifying CMakeLists.txt I get errors:
CMake Error at CMakeLists.txt:21 (add_executable): Cannot find source file:
src/machdep/m68k.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:21 (add_executable): No SOURCES given to target: amiberry
Indeed src/machdep/m68k.cpp doesn't exist on disk. I'm just calling cmake as
cmake .
from the Amiberry directory. Am I doing something wrong here? I'm not very familiar with cmake.