PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Small request

Hi!

I have a small request. Count it be possible to add a boolean flag to the CGapiApplication class that would allow the enabling/disabling of this line in KeyDown():

if (!(lParam & 0x40000000))
{
...
}

I made a small in-game editor, and on the PC version key repeats are really useful. I'm always commenting/uncommenting this line, and a variable switch would be nice. I could easily add it, but then I would break the purpose of the class ;)

Thanks!

--Eric
You mean to say we have a way to get key repeats?

I've been just writing my own code that does my own key repeats. :oops:
removing the above line only works on the PC, it doesn't work on my PPC devices. I would only use it for PC-side editors and such.

--Eric
Yeah, but I have a PC editor. :-)