Hello,
Some binded KeyDown or KeyUp events are not fired:
[TAB]: KeyDown not fired (KeyUp is)
[F10]: KeyDown/KeyUp not fired
[PRINT]: KeyDown not fired (KeyUp is)
[ALT]: KeyDown/KeyUP not fired
[ALTGR]: KeyDown fired for [ALT] & [CTRL], KeyUp fired only for [ALT](18), not for [CTRL](17)
Tested on a french keyboard on Windows7 with x86.
Cheers,
Guy.
[5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
- grabiller
- Enthusiast
- Posts: 309
- Joined: Wed Jun 01, 2011 9:38 am
- Location: France - 89220 Rogny-Les-Septs-Ecluses
- Contact:
[5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
guy rabiller | radfac founder / ceo | raafal.org
Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
Code: Select all
Procedure Test()
Debug GetGadgetAttribute(EventGadget(), #PB_Canvas_Key)
EndProcedure
OpenWindow(0, 0, 0, 400, 300, "", #PB_Window_BorderLess)
CanvasGadget(0, 0, 0, 400, 300, #PB_Canvas_Keyboard)
BindGadgetEvent(0, @Test(), #PB_EventType_KeyDown)
BindGadgetEvent(0, @Test(), #PB_EventType_KeyUp)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
- grabiller
- Enthusiast
- Posts: 309
- Joined: Wed Jun 01, 2011 9:38 am
- Location: France - 89220 Rogny-Les-Septs-Ecluses
- Contact:
Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
Confirmed in v5.20b10 with x86 and x64.
Cheers,
Guy.
Cheers,
Guy.
guy rabiller | radfac founder / ceo | raafal.org
Re: [5.20b9r2] Some Binded KeyDown/KeyUp Events Not Fired
Please don't bump the topic if you don't see a note from us, thank you.