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

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Clay
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Sun Feb 13, 2005 04:20
Contact:

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

Postby Clay » Sun Nov 20, 2005 19:09

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.

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

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

Postby lindquist » Sun Nov 20, 2005 19:23

CEGUI does not have any built in keyrepeat feature, but feel free to file a request on the tracker. (no promises though atm)

Nomonkeybusiness
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Wed Sep 09, 2009 11:20

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

Postby Nomonkeybusiness » Wed Nov 03, 2010 09:33

Was this ever "fixed"?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

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

Postby CrazyEddie » Wed Nov 03, 2010 11:43

No, nothing has changed in regards to this. I largely regard this as an input library issue rather than a CEGUI issue.

CE.


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests