There are sources for Android project piHotKeys piHotKeys - app to control your PC with Android’s touchscreen using hot keys. Just touch the button on the screen to emulate hot keys press on PC!
Project depends from AndroidBillingLibrary, piSharedNetwork and Android Compatibility library.