I have been following this example (Open On-Screen Keyboard for Xamarin/Monogame) for hooking up the SoftInput to my Xamarin MonoGame Android app. The problem I'm having is catching the OnKeyPress events. As the poster has it listed there, I simply need a private OnKeyPress void, without an override tag, but that seems wrong to me, and in practice it does not work. I can get the OSK to appear and disappear at appropriate times, but I'm not seeming to catch the OnKeyPress events. Is the way he describes it there not correct? (I would simply comment on the question and ask this, but I can't post comments because of this silly reputation system which forces me to ask a bunch of questions before I can reply to questions.)
Code for the OnKeyPress event, as created by following his example:
private void OnKeyPress(object sender, KeyEventArgs e)
{
//does stuff
}
Shouldn't that be a protected override? But I can't seem to find a suitable method in Android.Activity to override. Kinda lost here, please lend me some assistance :(