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)
- Get a Windows arm64 and Android version
- SanDisk SSD not working in Windows 11 ARM
- Suspend state not handled when moving VMs across devices
- Crashing when try install UTM SE HOT 3
- Allow changing network setup during runtime
- Allow better user experience with CD-ROM hotswapping HOT 1
- Can I contribute in adding Arabic to UTM? HOT 1
- [Feature Request] Make creating new virtual hard disk optional when creating a new VM
- [Feature Request] Update guide/docs to include details on which subnet/LAN the VMs can be found from the host machine HOT 1
- Pass CTRL-BREAK on MacBook
- virtio-net is slower in UTM than in base QEMU
- UUID keep changing (no changes on VM) with Apple virtualization and Rosetta HOT 1
- Efficient Port Forwarding Configuration for Multiple Ports in UTM iOS
- UI regression: Clicking the VM icon itself doesn't open the "icon picker" anymore
- Multi-line OS names cause visual glitches in "icon picker"
- Update UTM version on the App Store HOT 5
- Unable to install MSMQ from windows features on windows 11 HOT 2
- No 'start' menu on clicking 'create a new virtual machine' HOT 1
- fwupdmgr always fails on Linux guest
- URL VM start (utm://start?) does not work on 4.5.2 HOT 2
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.