We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This library supports waitKey, but not waitKeyEx or pollKey for that matter.
waitKey
waitKeyEx
pollKey
pollKey is already a fairly big omission, but missing waitKeyEx is a breaking functionality.
Right now waitKey only returns alphanumeric characters + symbols, but no special characters.
This is a problem since directional keys, F-keys, CTRL, SHIFT or ALT or their combination are not supported and either don't show up or report as 0.
waitKeyEx returns the full key code, allowing the whole keyboard to be used.
package main import ( "fmt" "gocv.io/x/gocv" ) func main() { window := gocv.NewWindow("Test") defer window.Close() for { /* * Do something */ switch k := window.WaitKey(64); k { case 'q': return default: fmt.Println("\nPressed ", k) } } }
The text was updated successfully, but these errors were encountered:
Yes, please!
Sorry, something went wrong.
Hi all! Just sent a pull request for adding waitKeyEx.
cheers!
Merged. Tagged to close this on next release. Thanks @diegohce
No branches or pull requests
Description
This library supports
waitKey
, but notwaitKeyEx
orpollKey
for that matter.pollKey
is already a fairly big omission, but missingwaitKeyEx
is a breaking functionality.Right now
waitKey
only returns alphanumeric characters + symbols, but no special characters.This is a problem since directional keys, F-keys, CTRL, SHIFT or ALT or their combination are not supported and either don't show up or report as 0.
waitKeyEx
returns the full key code, allowing the whole keyboard to be used.Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: