Add cursor functionality to Virtual Keyboard