Closed GoogleCodeExporter closed 9 years ago
(should be type=enhancement but I can't seem to control that)
Original comment by m...@bjeanes.com
on 19 Aug 2012 at 3:41
Yeah, that's something the input system should support, I agree...
Original comment by mab...@gmail.com
on 19 Aug 2012 at 6:54
An overhall of the key reading system based on a state machine a la
https://github.com/paultag/libansiescape/blob/master/src/StateMachine.cc is
probably the best approach to opening up support for reading the full range of
ansi escape codes.
Original comment by m...@bjeanes.com
on 19 Aug 2012 at 6:00
I've added experimental support for this now, you can call isAltPressed() and
isCtrlPressed() on a Key object. Not all key combinations are supported though,
alt only works with alpha-numeric (for now) and ctrl ony with a to z.
One issue is that the control sequences associated with the ctrl key
combinations (ctrl + c exits the program, ctrl + i puts tab character, etc) are
still active, making it impossible to read these as raw keyboard events. I
don't know how to fix this, if anyone does, please let me know!
Latest 2.1.0-SNAPSHOT with support for this has been deployed to Sonatype.
Original comment by mab...@gmail.com
on 2 Sep 2012 at 12:58
So I've managed to fix ctrl+c, ctrl+z, ctrl+s and ctrl+q, still not working
are, to my knowledge, ctrl+j (equals to enter) and ctrl+i (equals to tab). Not
sure how to fix them, or if it's even possible.
Original comment by mab...@gmail.com
on 8 Sep 2012 at 2:15
Original issue reported on code.google.com by
m...@bjeanes.com
on 19 Aug 2012 at 3:41