At WWDC 2020, Apple introduced a tool to add support for various input methods in games and applications for iPadOS. Developers are invited to complement existing projects with keyboard, mouse, or trackpad controls or invent new ways to interact with the game on the iPad.
In each case, the “computer” control scheme will have to be added and configured separately. Also, developers will be able to disable or limit system gestures when the game is running, so that the user does not accidentally crash to the desktop.
The full version of the seminar will be held on June 25. Apple also announced that Apple Arcade subscription games will support the Xbox Elite Series 2 gamepad and Xbox Adaptive Controller.
The necessary software is likely to become available to developers in the near future, but it may take months before the first games with mouse and keyboard support appear.
Android has full support for mouse and keyboard support, but natively it is only implemented in a small number of games like Riptide GP Renegade. However, with the help of third-party programs, you can bind to the external controllers presses and swipe on the screen.