New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift+Tab capability #25

Closed
freiguy1 opened this Issue Apr 6, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@freiguy1

freiguy1 commented Apr 6, 2015

Hello. I am working on a project where the tab button navigates from control to control (defined as text boxes, and list selects). I'd like to implement shift+tab to do the opposite, like it works in browsers and most other graphical applications. However, the last time I attempted capturing shift+tab, it made it seem like 3 buttons were being pressed in sequence. None of them being shift or tab. Is this possible, or not really?

@gchp

This comment has been minimized.

Show comment
Hide comment
@gchp

gchp Jun 8, 2015

Owner

@freiguy1 sorry for the delay, somehow I missed this issue.

It seems like you can't do this. It's a limitation of termbox itself. In the termbox repo there is a demo called keyboard.c which when compiled and run will show you what termbox sees when you press certain keys. Its very useful for seeing what key combinations you can use.

Here's the link: https://github.com/nsf/termbox/tree/master/src/demo

You'll need to install termbox, then build the keyboard.c file with cc keyboard.c -ltermbox -o keyboard and run with ./keyboard.

If you run into other problems, let me know!

Owner

gchp commented Jun 8, 2015

@freiguy1 sorry for the delay, somehow I missed this issue.

It seems like you can't do this. It's a limitation of termbox itself. In the termbox repo there is a demo called keyboard.c which when compiled and run will show you what termbox sees when you press certain keys. Its very useful for seeing what key combinations you can use.

Here's the link: https://github.com/nsf/termbox/tree/master/src/demo

You'll need to install termbox, then build the keyboard.c file with cc keyboard.c -ltermbox -o keyboard and run with ./keyboard.

If you run into other problems, let me know!

@gchp gchp closed this Jun 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment