Passing KeyEvents from Native to Java