inseven / opolua

A compiled-OPL interpreter for iOS written in Lua
https://opolua.org
MIT License
12 stars 0 forks source link

See whether rate limiting the event queue (or adding a maximum length) improves performance #165

Open jbmorley opened 2 years ago

jbmorley commented 2 years ago

A maximum length might make it hard to guarantee boundaries (pen down, pen up, etc) aren't dropped on the floor.

jbmorley commented 2 years ago

I took a quick look at this and I couldn't see any obvious way of receiving key repeats when using the pressesBegan, etc API. That suggests to me that we'll need to build our own key repeat mechanism. Nice thing about that is we get to control the key repeat speed (I think it was actually configurable on the Psion), and we can have the same key repeat for all device types (controllers, etc).

jbmorley commented 2 years ago

Given the amount of work involved here, I'm going to push this into Future unless we find a good reason to bring it back.