Scancode trouble

Blitz3D Forums/Blitz3D Programming/Scancode trouble

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have big trouble getting the scancode of the "Alt Gr" button.
When I run this little program:
Repeat
   For testkey = 1 To 221
      If KeyHit(testkey)
         Print testkey
      End If
   Next
Forever

I get TWO scancodes for the "Alt Gr" button, 29 and 184.
And they come in no particular order.
Since 29 is the code for "Left Ctrl" there is clearly something wrong. Has anyone else got this problem?

Is this an issue with Blitz or my keyboard or something else?