Page 1 of 1

[bug?/feature?] Holding backspace does not keep deleting...

Posted: Sun Nov 20, 2005 19:09
by Clay
I'm playing with a console in PyCEGUI, and though this code is in python, it should be a clear translation to C++ CEGUI:

Code: Select all

    def keyPressed(self, evt):
        if evt.key == ogre.KC_ESCAPE:
            self.keepRendering = False
        system = cegui.System.getSingleton()
        system.injectKeyDown(evt.key)
        system.injectChar(evt.keyChar)
        evt.consume()

    def keyReleased(self, evt):
        system = cegui.System.getSingleton()
        system.injectKeyUp(evt.key)

    def keyClicked(self, evt):
        pass


Now, when I hold the backspace key down in a WindowsLook/Editbox, it only deletes one character, and does not repeat and continue deleting until I let up on the key. Am I missing an option somewhere for repeated key entries, or is this a bug, or has this never been in CEGUI?

If it's a bug let me know and I'll file a minimal demo on the bug tracker. If this was never in CEGUI, I'd like to file this as a feature request. Thanks.

Re: [bug?/feature?] Holding backspace does not keep deletin

Posted: Sun Nov 20, 2005 19:23
by lindquist
CEGUI does not have any built in keyrepeat feature, but feel free to file a request on the tracker. (no promises though atm)

Re: [bug?/feature?] Holding backspace does not keep deleting...

Posted: Wed Nov 03, 2010 09:33
by Nomonkeybusiness
Was this ever "fixed"?

Re: [bug?/feature?] Holding backspace does not keep deleting...

Posted: Wed Nov 03, 2010 11:43
by CrazyEddie
No, nothing has changed in regards to this. I largely regard this as an input library issue rather than a CEGUI issue.

CE.