PDA

View Full Version : [VU+ Solo2] Usb keyboard dongle ascii not work



vubelt
12-12-17, 23:20
The usb keyboard dongle works correctly for the actionmap, but the ascii codes are not recognized, the problem is that GetPrevAsciiCode returns on any ascii key the value 71 not the correct ascii code.
So every time GetPrevAsciiCode is called, the result for each key does not change, it always returns the value 71.

vubelt
16-12-17, 12:52
Looking, another team has removed these days, the VUPLUS_RC_WORKAROUND, tested the image (in the last image, the ascii code, not work): remote control 100% works, USB keyboard 100% works.

vubelt
21-12-17, 19:28
Test the .006 with driver changes: [rc] assumes remote control when name says so

Keyboard still does not work.
In virtual keyboard, each key returns "G"
Inputbox, etc, etc does not work.

Remote control:
No more need to enable, text support.
In virtual keyboard, the numeric keys work both as number and text (2abcABC, 3defDEF, etc, etc)
before changes returns "G"
Inputbox, etc, etc works.

vubelt
25-12-17, 19:56
Now the remote control works 100%

To enable the ascii on the keyboard, you need to turn off "text support" for the remote contrrol.
but every ascii key returns G
Trying virtualkeyboard:
From def selectAsciiKey(self, char)
char value:
The remote control returns the correct character (a, b, c, etc, etc.)
The keyboard always returns G does not load the ascii character of the key.

vubelt
26-12-17, 15:25
Check all the files in .py (config, keyboar, consol, etc, etc,) of the two images.
The management of ascii codes are the same.
Infofargeneric returns: key 510 (fom enigma: ascii code)
Actionmap returns: gotAsciiCode (InputAsciiActions >> KEY_ASCII >> gotAsciiCode)
The problem in vix: gotAsciiCode does not return the ascii code for the key. (always G)

The only difference is that in the vix there is the option RC code text support, which must be disabled to enable the ascii on the keyboard.

The keyboard is recognized and loads the keymap ( default US ).

abu baniaz
26-12-17, 15:35
We have removed the text support
We have removed a commit that caused this.

This has been fixed in the Dev branch, (at least for a non-Vu mips receivers). Please wait for next Release image.

vubelt
09-01-18, 01:00
After the changes i tried the 5.1.9 text support it's not useful,
but always the ascii codes always return "G"
The same thing was done by the remote control before removing the workaround (text support disable, remote control returned for each key "G" )