I mainly meant laptop software, but whatever suits you.It's called a keyboard case
I mean there must be a way for Apple's engineers to come up with a system that can run iOS and macOS side by side, like bootcamp almost but no need to restart your computer.