I am making a virtual keyboard in xaml/cs and running into a few problems.
Shift/control. Currently I detect keys by having the user type in a textbox. Depending on the key entered into the textbox I will highlight the appropriate key and delete anything in the textbox. This runs into the problem of shift and control not actually typing a character. How might I detect shift/control?
I also have a similar problem with delete. I had an idea of defaulting the textbox to a space, so I can see the space go away and know there was a delete pressed. However the text curser keeps going to the beginning of the textbox before the space. Any method of forcing the curser to the end of the line?
Shift/control. Currently I detect keys by having the user type in a textbox. Depending on the key entered into the textbox I will highlight the appropriate key and delete anything in the textbox. This runs into the problem of shift and control not actually typing a character. How might I detect shift/control?
I also have a similar problem with delete. I had an idea of defaulting the textbox to a space, so I can see the space go away and know there was a delete pressed. However the text curser keeps going to the beginning of the textbox before the space. Any method of forcing the curser to the end of the line?