Hello everyone!
Let me just start out the gate saying that I am not an app developer, nor do I plan on making the app I am about to detail. This is just a plan for an app, and anyone can use this idea to create an app themselves if they are developers. I've tested out a proof of concept for an app to use a phone as key input for osu, and it worked great.
With many phones, when you plug them into your computer, you have the option to use the phone as a MIDI device. Using MIDI input from your phone, a desktop application can convert the MIDI into keystrokes.
Using this app, ( https://play.google.com/store/apps/details?id=com.mobileer.midikeyboard&hl=en_US ) on my Samsung Galaxy S8, and using this MIDI to Key converter on my PC, ( http://www.mediafire.com/file/vsvol8myf52jtum/Mid2Keys.rar# ) I was able to get the keystrokes to work in osu.
By using your phone as a MIDI device and then converting it into keystrokes, you don't need to root your phone or install a custom kernel. Most phones can't actually send keystroke information like a keyboard without a custom kernel, but this allows you to use a phone as input without having to go through those extra steps.
So theoretically, an app only needs to have two buttons that send a MIDI signal, and a desktop client like the one linked, to convert the MIDI signal into a z and x keystroke.
Anyway, that's about it! Happy developing, and I hope one of you that reads this makes this app, as it wouldn't have latency like the one that requires good wifi!
Let me just start out the gate saying that I am not an app developer, nor do I plan on making the app I am about to detail. This is just a plan for an app, and anyone can use this idea to create an app themselves if they are developers. I've tested out a proof of concept for an app to use a phone as key input for osu, and it worked great.
With many phones, when you plug them into your computer, you have the option to use the phone as a MIDI device. Using MIDI input from your phone, a desktop application can convert the MIDI into keystrokes.
Using this app, ( https://play.google.com/store/apps/details?id=com.mobileer.midikeyboard&hl=en_US ) on my Samsung Galaxy S8, and using this MIDI to Key converter on my PC, ( http://www.mediafire.com/file/vsvol8myf52jtum/Mid2Keys.rar# ) I was able to get the keystrokes to work in osu.
By using your phone as a MIDI device and then converting it into keystrokes, you don't need to root your phone or install a custom kernel. Most phones can't actually send keystroke information like a keyboard without a custom kernel, but this allows you to use a phone as input without having to go through those extra steps.
So theoretically, an app only needs to have two buttons that send a MIDI signal, and a desktop client like the one linked, to convert the MIDI signal into a z and x keystroke.
Anyway, that's about it! Happy developing, and I hope one of you that reads this makes this app, as it wouldn't have latency like the one that requires good wifi!