-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
'
wnd.KeyDown = func(scancode int, rn rune, name string) {
switch name {
//french Keyboard
case "Digit1":
//print("digit1\n")
buttonUtility(name, souris.X, souris.Y)
case "Digit2":
//print("digit2\n")
buttonUtility(name, souris.X, souris.Y)
case "Digit3":
print("digit3\n")
buttonUtility(name, souris.X, souris.Y)
case "KeyW":
//print(" z\n")
thisPlayer.H = true
thisPlayer.B = false
case "KeyA":
//print(" q\n")
thisPlayer.G = true
thisPlayer.D = false
case "KeyS":
//print(" s\n")
thisPlayer.B = true
thisPlayer.H = false
case "KeyD":
//print(" d\n")
thisPlayer.Droite = true
thisPlayer.Gauche = false
}'
all my programm run correctly, execpt some event:
- keyboard touch 3 don't trigger event whenever key s and key d are downed
-
- keyboard touch 1 don't trigger event whenever key q and key s are downed
PS: im on french keyboard
- keyboard touch 1 don't trigger event whenever key q and key s are downed
someone know why that don't work?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels