keypad broken?
BlitzMax Forums/BlitzMax Beginners Area/keypad broken?| 
 | ||
| I hate to sound like an idiot but is the keypad functionality broken in blitz?  I know it isn't my system because Calculator works fine but the following code doesn't.  Is there something I have to turn on prior to using KeyHit? Graphics 1024, 768 Global y:Int = 10 While Not KeyHit(KEY_ESCAPE) If KeyHit(KEY_2) DrawText "keyboard", 10, y y :+ 15 End If If KeyHit(KEY_NUM2) DrawText "keypad", 10, y y :+ 15 End If Flip Wend | 
| 
 | ||
| works fine for me (Win32), maybe a mac related issue? | 
| 
 | ||
| Not sure, anyone with a mac have any input <pun intended>? | 
| 
 | ||
| Does this terminate when you press a keypad key? Graphics 640,480,0 WaitKey() End | 
| 
 | ||
| nope | 
| 
 | ||
| Anyone with a mac having any problems with their keypad in blitzmax? | 
| 
 | ||
| Getting back into Max after a stay of absense. The following code works when I hit the '1' on the macs keypad. While Not KeyHit(KEY_ESCAPE) If KeyHit(KEY_NUM1) Then Print "key pad 1 hit dude" Wend |