jsbeeb icon indicating copy to clipboard operation
jsbeeb copied to clipboard

No keyboard in iOS

Open ahope1 opened this issue 9 years ago • 7 comments

JSBeeb doesn't display a keyboard if it's running in iOS, so you can't actually use it in any meaningful way!

ahope1 avatar Jun 14 '16 05:06 ahope1

I'm pretty sure this'll need a custom keyboard as the iPhone one won't work well with the BBC layout, nor (I think) will it fire the needed key down/key up events.

mattgodbolt avatar Jul 21 '16 15:07 mattgodbolt

A custom keyboard is what Reuben Scratton seems to have implemented in emBeeb:

http://stardot.org.uk/forums/viewtopic.php?f=1&t=10345&p=135384#p135264

But his native iOS emulator (iBeeb), which he's now abandoned because Apple rejected it in App Review, did somehow manage to use the native iOS keyboard (as one of the controller options, another of which was a custom Beeb-style keyboard).

ahope1 avatar Jul 21 '16 16:07 ahope1

Hi Matt,

Just adding to this - this would be fantastic if it were possible to implement. Maybe there could be two options 1 - Use a custom keyboard as emBeeb does, 2 - Somehow trigger the iOS keyboard in Javascript so that the iPad pops up its own software keyboard, this would be beneficial as there is likely a trigger command in Javascript which would work cross-platform.

Do you think this would be possible?

Cheers, Andy

MrSimmo avatar Jan 05 '18 08:01 MrSimmo

Hi!

Custom is a fair amount of work (and hence I've shied away from it). For "somehow trigger the iOS keyboard"... if I knew the "Somehow" it'd already be done!

Any help appreciated! I'm no mobile web expert...

mattgodbolt avatar Jan 05 '18 14:01 mattgodbolt

Me neither unfortunately; do these make any sense?

https://stackoverflow.com/questions/46776630/how-activate-ios-keyboard-focusing-on-an-input-after-clicking-in-a-button

http://jsfiddle.net/jalbertbowdenii/P3uY8/

https://gist.github.com/cemerson/3907428

https://stackoverflow.com/questions/4609765/manually-triggering-the-iphone-ipad-ipod-keyboard-from-javascript

To be honest, Im not sure whether they're any use. Let me know :-)

MrSimmo avatar Jan 05 '18 15:01 MrSimmo

Not sure if this is any help btw ref an on screen keyboard (this is obviously a first step rather than a BBC layout mimic) https://code.tutsplus.com/tutorials/creating-a-keyboard-with-css-and-jquery--net-5774

MrSimmo avatar Jan 05 '18 15:01 MrSimmo

Just wanted to mention that you can now control JSBeeb from a physical Bluetooth keyboard on iOS -- or at least you can on my stock non-jailbroken iPad Pro, which is what it just occurred to me to test with.

Obviously it would still be great if an on-screen software iOS keyboard could be implemented too, but at least the use of a hardware Bluetooth keyboard is now a sort of stopgap solution for iOS.

ahope1 avatar Aug 24 '19 17:08 ahope1