mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Unify 'deprecated' comment formats
This commit is contained in:
parent
431cd33839
commit
6bc22d4587
@ -488,7 +488,7 @@ const (
|
||||
KeyMax Key = KeyMeta
|
||||
|
||||
// Keys for backward compatibility.
|
||||
// Deprecated: as of 2.1.0.
|
||||
// Deprecated: as of v2.1.
|
||||
{{range $old, $new := .OldEbitenKeyNameToDriverKeyName}}Key{{$old}} Key = Key(driver.Key{{$new}})
|
||||
{{end}}
|
||||
)
|
||||
|
6
input.go
6
input.go
@ -39,7 +39,7 @@ func AppendInputChars(runes []rune) []rune {
|
||||
|
||||
// InputChars return "printable" runes read from the keyboard at the time update is called.
|
||||
//
|
||||
// Deprecated: as of v2.2.0. Use AppendInputChars instead.
|
||||
// Deprecated: as of v2.2. Use AppendInputChars instead.
|
||||
func InputChars() []rune {
|
||||
return AppendInputChars(nil)
|
||||
}
|
||||
@ -155,7 +155,7 @@ func AppendGamepadIDs(gamepadIDs []GamepadID) []GamepadID {
|
||||
|
||||
// GamepadIDs returns a slice indicating available gamepad IDs.
|
||||
//
|
||||
// Deprecated: as of v2.2.0. Use AppendGamepadIDs instead.
|
||||
// Deprecated: as of v2.2. Use AppendGamepadIDs instead.
|
||||
func GamepadIDs() []GamepadID {
|
||||
return AppendGamepadIDs(nil)
|
||||
}
|
||||
@ -221,7 +221,7 @@ func AppendTouchIDs(touches []TouchID) []TouchID {
|
||||
|
||||
// TouchIDs returns the current touch states.
|
||||
//
|
||||
// Deperecated: as of v2.2.0. Use AppendTouchIDs instead.
|
||||
// Deperecated: as of v2.2. Use AppendTouchIDs instead.
|
||||
func TouchIDs() []TouchID {
|
||||
return AppendTouchIDs(nil)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user