As much as I know 0xB9 and 0xBA are the same signs with most keyboard language settings.
But there is some error - I am sorry for that:
Just change line
for (int i = 0x04; i < 0x38; i++) {
to
for (int i = 0x04; i < 0x39; i++) {
I suppose you may get the missing signes at 0xC0.
You can even go with higher numbers - take a look at the scancode table (USB HID usage table):
0x37 Keyboard . and >
0x38 Keyboard / and ?
0x39 Keyboard Caps Lock
0x3A Keyboard F1
0x3B Keyboard F2
0x3C Keyboard F3
0x3D Keyboard F4
0x3E Keyboard F5
0x3F Keyboard F6
0x40 Keyboard F7
0x41 Keyboard F8
0x42 Keyboard F9
0x43 Keyboard F10
0x44 Keyboard F11
0x45 Keyboard F12
...
But take care, there are the F keys which may start some special functions, depending on the software. So you may lose control of your computer. ![]()