Comments (20)
Hi @Vweber73 I have ported the upgraded virtual keyboard from vAmigaWeb ...
what I saw is that the initial basic screen did only auto repeat some keys cursor space and del key... other keys were not repeated despite an emulated long press duration...
you could launch the program "anykey" via the integrated csdb browser... open snapshot and select there as a source "csdb" now you can search for "anykey" this is a keyboard test program ...
in any key you could see the real press time...
from virtualc64web.
Hi,
Many thanks ! I have just tested it with the best possible test - Fighter Pilot !
Overall it works quite well. The space key now works to select an item, Q and A for thrust control, U for landing gear, M for map... All correct ! :)
Only strange thing is cursor keys: right and down autorepeat correctly in the basic interpreter (and have the "glow" surrounding them), but not up and left ! Any clue ?
Also:
-vc64web kept both status bars of the phone, unlike vAmiga. I like this mode actually, not bad, as an option would be cool;
-The noise of the reactors of Fighter Pilot are still heard after the app is suspended ! Bug ?
Many thanks and best regards
from virtualc64web.
Also:
-Even in "exact timing" mode, keyboard scrolling can still occur (for instance with long press on the "K" key)
-I saved a snapshot of fighter pilot. When I restored it the sound was gone... Only when I pressed "Q" to increase the thrust, did the sound resume...
from virtualc64web.
Only strange thing is cursor keys: right and down autorepeat correctly in the basic interpreter (and have the "glow" surrounding them), but not up and left ! Any clue ?
fixed 😎 those were special because they do not really exists on a c64 keyboard ... it is always a combination with shift and the opposite direction e.g. shift + ArrowRight for ArrowLeft . I think I fixed it now...
from virtualc64web.
Works well, many thanks ! :)
from virtualc64web.
vc64web kept both status bars of the phone, unlike vAmiga. I like this mode actually, not bad, as an option would be cool;
should we open a separate issue ?
I found this when I searched for how to programmatically change the display setting in a PWA https://stackoverflow.com/questions/53048372/how-to-programmatically-switch-display-from-standalone-to-fullscreen-in-pwa
The noise of the reactors of Fighter Pilot are still heard after the app is suspended ! Bug ?
-I saved a snapshot of fighter pilot. When I restored it the sound was gone... Only when I pressed "Q" to increase the thrust, did the sound resume...
we should address this in a separate issue too... BTW is this reproducable ? or is it more like random ... sometimes sound fails to come back ?
I close this issue ok ? If there is still anything wrong we could reopen it...
from virtualc64web.
Hi,
Not quite close yet, still a small issue,as I said you can still scroll the keyboard by touching a key even in "exact timing" mode, this is not supposed to be the case I guess ?
As for the noise that persists (although it hangs on the same note) when you suspend the app, it is systematic, it happens every time with every game or demo.
As for the sound not coming back, I tried again a new snapshot of fighter pilot while being in the aircraft, and same thing, when I load it, the reactor sound is gone, although it is back as soon as I press Q or A to modify the thrust.
For the status bars, great if it could be configurable, and for vAmiga as well !
Cheers
from virtualc64web.
you can still scroll the keyboard by touching a key even in "exact timing" mode, this is not supposed to be the case I guess ?
hm ... on iPhone I cannot scroll on key caps in "exact timing" mode... how about vAmigaWeb on the z3 does it scroll there too ?
for the others lets make separate issues... I think I have to properly disconnect audio when it suspends ...I do not see this in iOS but this is maybe a bit OS specific some do handle this more robust than other ... when there is something as a suspend event then I could shut down sound ... we will address this in a separate issue what you think? status bar too... do you open ?
from virtualc64web.
On my Z3 vAmigaWeb has neither the keyboard scroll issue nor the sound issue, they are specific to vc64Web.
Ok, I open the issues.
Cheers
from virtualc64web.
I found one difference between vAmigaWeb and vc64web codewise ... maybe that was the missing piece on the z3 ? Despite that I do not see this behaviour on iPhone and also not on a Windows11 with a touchscreen ...
I merged the spotted difference into vc64web... maybe it fixed it ?
from virtualc64web.
It didn't, but sorry, I think i said something wrong. I tested again vAmigaWeb, and I could also scroll the keyboard with J and K keys. I suspect it is because since the Z3 is large, it could detect a gesture on the small empty space between the keys. Maybe the same on Ipad ?
from virtualc64web.
with "exact timing"...
Yes it could happen that a finger near the gap space between two key caps can trigger a native scroll ... but that is not that bad or am I wrong ?
The goal was NOT to disable the native scroll on key caps ... instead the goal was to free the key caps from all standard gestures (like context menu and text selection, drag and drop, scroll swipe ...) to get an ultra responsive keyboard 😎 ... as a side effect well the native scroll on key caps is no more ... so when it comes back partially because the browser engine/host OS thinks a finger is touching near a gap then I think this is totally fine for us ... I think the most important thing is that the key cap press/release is registered very accurate/exact
from virtualc64web.
Yes it is fine, no big deal ! :)
from virtualc64web.
with "mixed of both" we implemented an own gesture detection on key cap to be able to detect an intended scroll ... at the same time we trigger exactly at the same time a key press ... disadvantage here when we know that it is only an intended scroll we could not revoke the key press ... but the advantage is we are super fast when a key press is intended as we do away with all the native gesture thinking and evaluating
from virtualc64web.
I tried vc64web on my tiny ipod... Upon trying to move the keyboard (gigantic for the device), I got a sticky message on top of the screen: "exception thrown. See JavaScript console", although everything seems to continue to work...
from virtualc64web.
Upon trying to move the keyboard (gigantic for the device), I got a sticky message
good catch ... tomorrow I will look into it ...
today I did the support for exporting dh0 as hdf file see here vAmigaWeb/vAmigaWeb#86 I am so glad that this feature works so well ... playing monkey island hd version and I can save game state to hd and then I am able to export ... can import to winuae, fsuae, vAmiga or others so cool 😎
from virtualc64web.
Excellent ! :) Only lacking is multi-drive support :)
from virtualc64web.
Upon trying to move the keyboard (gigantic for the device), I got a sticky message on top of the screen: "exception thrown. See JavaScript console", although everything seems to continue to work...
it does appear when keyup event fires on lowercase/uppercase key abc
and ABC
... also on shift lock
thanks for reporting ... fix comes soon
from virtualc64web.
Perfect, thanks !
from virtualc64web.
fixed 😎
from virtualc64web.
Related Issues (20)
- compiling errors HOT 3
- cannot start D64 when building with latest emsdk HOT 5
- stuck physical keyboard on certain key combinations HOT 2
- Set other ROMs as default? HOT 5
- Does not load basic programs properly HOT 13
- margin-bottom on virtual keyboard for modern iOS devices HOT 1
- Bruce Lee crashes (any version) after several levels HOT 27
- setting action buttons on top of nav bar HOT 1
- improve mapping of (short cut) keys HOT 2
- work on defining actions and keyboard mappings
- Touch controls in iPhone HOT 41
- How does one drag a link from csdb.dk into the drop zone? HOT 4
- Touch controls in iPhone Part2 HOT 12
- use HOT 1
- xbox wireless controllers axis sticks HOT 1
- Touch example crashes on touch devices HOT 3
- Unable to select c64 roms on iOS HOT 2
- reworked css based virtual keyboard HOT 3
- Datasette STOP and PLAY HOT 5
- NTSC support HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtualc64web.