alf45tar / PedalinoMini

Wireless and Bluetooth MIDI Foot Controller
GNU General Public License v3.0
501 stars 88 forks source link

Page turner - sending keystrokes or converting midi messages into keystrokes #232

Closed juani13973 closed 3 years ago

juani13973 commented 3 years ago

Hi to all, I would like to use a PDF reader to turn pages with pedalino mini. Is there a way to send keystrokes with pedalino mini ? if not, would you know of an IPAD app that converts midi messages to keystrokes ? (there is one for Mac Bome, but I use my iPad) Or would you know a pdf reader that support midi commands ? Thanks again !

alf45tar commented 3 years ago

Did you have a look here https://forscore.co?

alf45tar commented 3 years ago

I did some research and testing. The good news is that it could be implemented quite strait forward using the following library https://github.com/T-vK/ESP32-BLE-Keyboard. The bad news is we don't have enough memory. To add this feature we should to remove OTA update. Does it makes sense?

juani13973 commented 3 years ago

Thx alf45tar for keep looking. It would be interesting for the community. I think I will go with the forscore app.

I do not use the bluetooth connection. When I found the Pedalino mini project by chance, I was looking for a footswtich that had a wired interphase :) so I use the usbmidi connection. (I have some bluetooth foot switches but for x reason the disconnect randomly and I hate it when using the looper). And on top with usbmidi I leave everything connected all the time. I turn it on and it just works.

I never tried OTA but next time I will have to upgrade the firmware I will do, if not I need to open the footswitch so I prefer to keep that function.

Said so the keyboard function is very useful to control other apps such as YouTube, Playsections or a music app etc. Most of the apps responds to keyboards ...

the ideal would be to have an app in IOS that translate CC midi commands into keystrokes ones.

thx again,

juani13973 commented 3 years ago

Another quick one ? Is there any reason why the usbmidi is not implemented in the esp32 directly ? Why would we need the promicro ?

alf45tar commented 3 years ago

ESP32 microcontrollers don't have native USB support and development boards use a single-purpose USB-to-TTL chip, Arduino Pro Micro is a cheap and compact microcontroller with native USB capabilities (atmega32u4 based boards) to appear as a MIDI peripheral over USB to a connected computer.

juani13973 commented 3 years ago

I bought forScore. It works great with the midi commands. Problem solved form me. The app is very powerful.