Ipad foot controller

Hello guys,

I am new to the community, so Hello to all!

I would like to built a simple foot switch to control page up/down messages for pdf reader or avid scorch on ipad.
AFAIK these are simple arrow up arrow down commands.
Is this theoretically possible?
If yes, can it be done with a usb connection and cameraconnection kit,
Or do I need wireless or bluetooth?

Any suggestions would be welcome!