mirror of https://github.com/cirruslabs/tart.git
Prefer USB keyboard and screen coordinate pointing devices (#747)
This commit is contained in:
parent
0b693f6bc9
commit
6bf39e73d0
|
|
@ -103,7 +103,7 @@ struct UnsupportedHostOSError: Error, CustomStringConvertible {
|
|||
func keyboards() -> [VZKeyboardConfiguration] {
|
||||
if #available(macOS 14, *) {
|
||||
// Mac keyboard is only supported by guests starting with macOS Ventura
|
||||
return [VZMacKeyboardConfiguration(), VZUSBKeyboardConfiguration()]
|
||||
return [VZUSBKeyboardConfiguration(), VZMacKeyboardConfiguration()]
|
||||
} else {
|
||||
return [VZUSBKeyboardConfiguration()]
|
||||
}
|
||||
|
|
@ -120,7 +120,7 @@ struct UnsupportedHostOSError: Error, CustomStringConvertible {
|
|||
|
||||
func pointingDevices() -> [VZPointingDeviceConfiguration] {
|
||||
// Trackpad is only supported by guests starting with macOS Ventura
|
||||
[VZMacTrackpadConfiguration(), VZUSBScreenCoordinatePointingDeviceConfiguration()]
|
||||
[VZUSBScreenCoordinatePointingDeviceConfiguration(), VZMacTrackpadConfiguration()]
|
||||
}
|
||||
|
||||
func pointingDevicesSuspendable() -> [VZPointingDeviceConfiguration] {
|
||||
|
|
|
|||
Loading…
Reference in New Issue