Starting in macOS 12.3 and iPadOS 15.4, you can use Universal Control to work seamlessly between your Mac and your iPad using just one keyboard and mouse or trackpad.
To learn more about this topic, visit the following article:
Universal Control: Use a single keyboard and mouse between Mac and iPad: https://apple.co/3MSmHmj
Get Support for Mac: https://apple.co/Mac
Get Support for iPad: http://apple.co/iPad
To subscribe to this channel: https://www.youtube.com/c/AppleSupport
To download the Apple Support app: http://apple.co/2hFtzIv
Apple Support on Twitter: https://twitter.com/AppleSupport