Lales.Charles Posted July 13, 2020 Share Posted July 13, 2020 Dear Unigine support, Just upgraded 2.10 -> 2.11, and get an issue with numpad key not recognized anymore. This used to work properly, from keyboard 0...1 as numpad 0..1 for (int i = 0; i < 10; i++) if (App::clearKeyState(48 + i) == 1) //num key 0..1 [...] But now it seems to detect null 0 when I scan all ascii code, what ever the numpad key pressed is: for (int i = 0; i < 256; i++) if (App::clearKeyState(i) == 1) Log::message("hum hum"); Is it normal? Do you reproduce? Kind regards, Charles Link to comment
Lales.Charles Posted July 13, 2020 Author Share Posted July 13, 2020 Hi, Very weird behavior.. i get it working in 1 case: - No plugin -> KO - Plugin IG/CIGIConnector -> KO - Plugin AppVive -> OK Kind regards, Charles Link to comment
javier.serrano Posted July 14, 2020 Share Posted July 14, 2020 Hi, had same issue with '+' key in 2.11.0.2 app. Also with engine.app.getKeyState('+'). Don't know if it is related but also XPad controls make same issue with ControlsXPad360::getStateButton(CONTROLS_XPAD360_BUTTON_A) Regards, Javier Link to comment
silent Posted July 14, 2020 Share Posted July 14, 2020 javier.serrano You can use Unigine Input (Windows only) to workaround this issue with XPad controls: xpad360_00.cppgetKeyState('+') will work only for '+' key from numpad, for regular '+' key you need to use '=' sign. Lales.Charles Thanks for the additional information, we are currently trying to reproduce it. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts