with graphic tablet but can be done with any input devices. On Linux there is a mapper between an Android tablet and X11 display used on Linux, The daemon on Linux is called GFXTablet / NetworkTablet, and the daemon on Android part is , it work like a graphics tablet, I used it a little , but I have a good Huion graphic tablet now.