push the input data from java to c on each event

See https://github.com/reicast/reicast-emulator/issues/138