Comments (6)
This is a major usability hurdle on an iPad Pro with the keyboard folio. I'll see if I can get around to putting together a PR eventually but for reference, all the special keys are handled completely separately via the UIKeyCommand API. You have to essentially pre-register for every possible function + other key combo you want to handle. Arrow keys are much simpler though.
I dug around a bit, here's a couple of useful links, in case I don't get around to it:
https://github.com/FlexingTiger/dospad/blob/74802b8e697978962fe9c040542a59d124562f70/dospad/Shared/UIExtendedTextField.m#L24
https://github.com/linuxdeepin/qcef-chromium/blob/65d8032a829f1e0bcd65ba010c1f70123143e6fc/src/ios/chrome/browser/ui/key_commands_provider.mm#L63
https://github.com/gregshutt/cordova-plugin-keyboard-listener/blob/9d276eceb4a060aab9a9cdc5116be0767f4b3919/src/ios/KeyboardListener.m#L54
https://github.com/ColdGrub1384/Pisth/blob/a0428818f17aa0433eb73f3a71b3f60ad2e11aa5/Pisth/ViewControllers/Classes/ContentViewController.swift#L139
I believe iPad OS also added some basic BLE/usb mouse support, haven't gotten around to testing it yet though, can't say if the cursor events are available always or just when clicking.
from utm.
Fixed in 392e23f
from utm.
iPad OS 13.4 will finally expand this to detect key up / down sequences like any other sane operating system has been doing for a long time without the insanity that is the UIKeyCommand abstraction:
https://twitter.com/johnsundell/status/1225177084965851137
from utm.
Oh man, literally the only thing stopping me from trying to get i3 running on my iPad
from utm.
When using the iPad Pro Smart Cover Keyboard (or even the iOS screen virtual keyboard), some games on MSDOS 6.22 don’t recognize the keyboard keys in certain situations. For example, MicroProse’s F1GP (1991), the keys work naturally within the menu screens, but when I go to race, the game simply does not recognize the keys to control the car (A, Z, < and >). I can’t play DOOM either, the character does not move because the game also does not recognize the controls (but within the menu screens they do). It’s a strange behavior and I believe it has something to do with the low level instructions or something like that?
Also, in certain situations, while I am typing, one key or another gets stuck forever and the VM crashes.
And on an unrelated note, just for comparison, I do not get these problems while using iDOS2/DOSPad on iPad Pro. But for other several (good) reasons, I’d like to use UTM instead of iDOS2.
from utm.
Please file a new issue as this ticket is closed and nobody will look at this. For reference though this issue may be hard to solve as iPad doesn’t send raw key events so we pretend to press a key up and down. This makes key holds hard. I’ve heard 13.4 changes this but haven’t explored it.
from utm.
Related Issues (20)
- UTM SE : Guest has not initialised the display (yet)ist of virtual boxses on ipad
- UTM SE Error
- Add utmctl export command HOT 3
- Utm se not being able to open ubuntu HOT 4
- delete of vm data
- EXC_BAD_ACCESS (SIGSEGV) on MacOS 15.1 Developer Beta 2 HOT 3
- Ubuntu-22-04 ARM64 webpage downloads 20-04 HOT 1
- UTM for Android (Wait I know it's duplicated but read this)
- QEMU Error when ISO is on network drive
- Cannot install windows 95 with a windows 98 se boot disk because after using fdisk it wont boot from a floppy again
- I am virtualizing windows 7, when i boot it up, it crashes and brings me to the “Windows Error Recovery”. when i click “boot normaly” or “safe mode” it crashes again.
- macOS X 10.4 Tiger on PowerPC in UTM SE didn't work HOT 1
- Clarify "Shared network" HOT 2
- Existing VMs unable to run and new installation of Ubuntu failed after macOS is patched to the latest version 4.5.3.
- Retina mode does not report the native display resolution to a virtual machine HOT 1
- Crash when port > 65535
- IP range of DHCP network is changed very often
- Cannot assign serial to external display
- Please provide torrents in the gallery HOT 2
- Add utmctl import command
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 utm.