Skip to content

Commit 2b0e4a2

Browse files
committed
sdl: haptic: Export Dir from HapticDirection{} #315
1 parent 930022a commit 2b0e4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl/haptic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type Haptic C.SDL_Haptic
4343
// (https://wiki.libsdl.org/SDL_HapticDirection)
4444
type HapticDirection struct {
4545
Type byte // the type of encoding
46-
dir [3]int32 // the encoded direction
46+
Dir [3]int32 // the encoded direction
4747
}
4848

4949
// HapticConstant contains a template for a constant effect.

0 commit comments

Comments
 (0)