In former versions of PB, pressing e.g. 0 on the numpad returned 48 (the same as pressing the ‘normal’ 0 key)
from the debug in the example program below.
In PB6.04, pressing the 0 on the numpad is not recognised any more.
Could a Mac user test this on his machine please?
My system:
MacBook Pro with M1 Pro, Sonoma 14.1.2, BT Keyboard MX MCHNCL, Purebasic 6.04LTS
Code: Select all
If OpenWindow(0,0,0,200,200,"",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
For i = 0 To 255
AddKeyboardShortcut(0,i,i)
Next
Repeat
Select WaitWindowEvent()
Case #PB_Event_Menu
Select EventMenu()
Case 0 : Debug EventMenu()
Default : Debug EventMenu()
EndSelect
Case #PB_Event_CloseWindow
quit = 1
EndSelect
Until quit
EndIf
End