mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 11:57:25 +00:00
IOS7: Add X and Y buttons to virtual controller
This commit is contained in:
parent
9a980c9dd4
commit
38eb53f1db
@ -56,7 +56,7 @@
|
||||
if (@available(iOS 15.0, *)) {
|
||||
// Configure a simple game controller with dPad and A and B buttons
|
||||
_config = [[GCVirtualControllerConfiguration alloc] init];
|
||||
_config.elements = [[NSSet alloc] initWithObjects:GCInputDirectionPad, GCInputButtonA, GCInputButtonB, nil];
|
||||
_config.elements = [[NSSet alloc] initWithObjects:GCInputDirectionPad, GCInputButtonA, GCInputButtonB, GCInputButtonX, GCInputButtonY, nil];
|
||||
_virtualController = [[GCVirtualController alloc] initWithConfiguration:_config];
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user