Hi there,
I am making a little Gui for my needs and I want to make an edit box which repeat the keys when they are maintained down. So I ve decided to use the Blitz Keydown function but I need to combine all the keys with the Shift one to make upper chars.
The problem is it don't work with all keys and apparently those which scancodes are above the shift scancode.
let's see:
------
Graphics3D 640, 480, 16, 2
SetBuffer GraphicsBuffer()
While Not KeyDown(1)
Cls
result = 0
For n = 1 To 127
k = KeyDown(n)
If k Then result = n : Exit
Next
Text 10, 10, result
Flip
Wend
-------
In this example I first press shift (sc = 42) then I combine with another one that modify the scancode.
What I ve constated on my computer is when I combine Shift with a key that have an upper scancode, the scancode stay at 42.
So, is there a way or maybe a dll that i could use to avoid this problem
thanks, köchOn
I am making a little Gui for my needs and I want to make an edit box which repeat the keys when they are maintained down. So I ve decided to use the Blitz Keydown function but I need to combine all the keys with the Shift one to make upper chars.
The problem is it don't work with all keys and apparently those which scancodes are above the shift scancode.
let's see:
------
Graphics3D 640, 480, 16, 2
SetBuffer GraphicsBuffer()
While Not KeyDown(1)
Cls
result = 0
For n = 1 To 127
k = KeyDown(n)
If k Then result = n : Exit
Next
Text 10, 10, result
Flip
Wend
-------
In this example I first press shift (sc = 42) then I combine with another one that modify the scancode.
What I ve constated on my computer is when I combine Shift with a key that have an upper scancode, the scancode stay at 42.
So, is there a way or maybe a dll that i could use to avoid this problem
thanks, köchOn