mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-11-02 10:22:35 +08:00
Merge branch 'master' of github.com:openalpr/openalpr
This commit is contained in:
@@ -414,7 +414,6 @@ namespace openalprnet
|
||||
{
|
||||
if (String::IsNullOrWhiteSpace(value))
|
||||
{
|
||||
this->m_config->prewarp = "";
|
||||
return;
|
||||
}
|
||||
this->m_config->ocrLanguage = marshal_as<std::string>(value);
|
||||
|
||||
@@ -43,6 +43,17 @@ const int BACKSPACE_KEY = 8;
|
||||
const int DOWN_ARROW_KEY = 1;
|
||||
const int UP_ARROW_KEY= 0;
|
||||
|
||||
#elif WINDOWS
|
||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
|
||||
const int LEFT_ARROW_KEY = 37; // VK_LEFT
|
||||
const int RIGHT_ARROW_KEY = 39; // VK_RIGHT
|
||||
const int SPACE_KEY = 32; // VK_SPACE
|
||||
const int ENTER_KEY = 13; // VK_RETURN
|
||||
const int ESCAPE_KEY = 27; // VK_ESCAPE
|
||||
const int BACKSPACE_KEY = 8; // VK_BACK
|
||||
|
||||
const int DOWN_ARROW_KEY = 40; // VK_DOWN
|
||||
const int UP_ARROW_KEY= 38; // VK_UP
|
||||
#else
|
||||
const int LEFT_ARROW_KEY = 81;
|
||||
const int RIGHT_ARROW_KEY = 83;
|
||||
|
||||
Reference in New Issue
Block a user