VirtualBox

Opened 8 years ago

Closed 8 years ago

#15608 closed enhancement (invalid)

Brazilian Keyboard keys are not mapped in virtual box source code -> configuration problem

Reported by: alanquartman Owned by:
Component: other Version: VirtualBox 5.0.22
Keywords: keyboard brazilian abnt problem virtual box slash backslash question mark barra contrabarra interrogação teclado brasileiro abnt Cc:
Guest type: all Host type: other

Description

Hi,

I am a user of Virtual Box. I have used him with my notebook, with ABNT2 Keyboard and i didn´t have had problems with the brazilian Keyboard.

But in a lot of Keyboards for desktops, there´s some keys that don´t work.

Searching in google i found the old Ticket #599 (virtualbox . org/ticket/599) where i see a attached source code file named keyboard-tables.h with the reference to the Brazilian Keys (see in commented line).

See... #define MAIN_LEN 50 static const unsigned main_key_scan[MAIN_LEN] = { /* ` 1 2 3 4 5 6 7 8 9 0 - = */ 0x29,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D, /* q w e r t y u i o p [ ] */ 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B, /* a s d f g h j k l ; ' \ */ 0x1E,0x1F,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x2B, /* z x c v b n m , . / */ 0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35, / 102nd key Brazilian key Yen / 0x56, 0x73, 0x7d };

Looking in the newest release of Virtual Box, i downloaded the source code and tried to find the same references, that are located in the Ps2KbdCtrller.c source file. For my surprise, these new structure of virtual box source code don´t have reference to the Brazilian Keys, and they don´t work with a lot of Brazilian Keyboards (i tried 3 different with the Brazilian ABNT2 pattern).

Here are the Keys that didn´t work in a capture test that i did: 0x56 - ( \ and | ) (down/up respectively) 0x73 - ( / and ? ) (down/up respectively) 0x7d - ( . )

Keyboard Model = LENOVO KU-0225

Attachments (1)

kit-teclado-mouse-usb-lenovo-novooriginal.jpg (104.8 KB ) - added by alanquartman 8 years ago.
Example Keyboard without three keys mapped

Download all attachments as: .zip

Change History (5)

by alanquartman, 8 years ago

Example Keyboard without three keys mapped

comment:1 by Michael Thayer, 8 years ago

Please attach a virtual machine log file to this ticket.

comment:2 by alanquartman, 8 years ago

Last edited 8 years ago by alanquartman (previous) (diff)

in reply to:  description comment:3 by alanquartman, 8 years ago

The problem is resolved.

It was just the keyboard map of reflection X client, that was using de US map. After change to C:\ProgramData\Microsoft\Windows\Templates\Attachmate\Reflection\X\Brazil.kmp it worked fine with the keyboards.

It was nothing about code defects.

Thanks by attention.

comment:4 by Michael Thayer, 8 years ago

Resolution: invalid
Status: newclosed
Summary: Brazilian Keyboard keys are not mapped in virtual box source codeBrazilian Keyboard keys are not mapped in virtual box source code -> configuration problem

Thanks for letting us know.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use