diff --git a/ebitenutil/internal/assets/textrgba.go b/ebitenutil/internal/assets/textrgba.go index 6c6934c81..6207d078b 100644 --- a/ebitenutil/internal/assets/textrgba.go +++ b/ebitenutil/internal/assets/textrgba.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package assets diff --git a/examples/resources/audio/classic.go b/examples/resources/audio/classic.go index 845876318..16d976b9e 100644 --- a/examples/resources/audio/classic.go +++ b/examples/resources/audio/classic.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package audio diff --git a/examples/resources/audio/jab.go b/examples/resources/audio/jab.go index f9622a801..a073aa90b 100644 --- a/examples/resources/audio/jab.go +++ b/examples/resources/audio/jab.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package audio diff --git a/examples/resources/audio/jump.go b/examples/resources/audio/jump.go index 68afe0174..06119dec2 100644 --- a/examples/resources/audio/jump.go +++ b/examples/resources/audio/jump.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package audio diff --git a/examples/resources/fonts/arcaden.go b/examples/resources/fonts/arcaden.go index d3969fc9e..40caca41c 100644 --- a/examples/resources/fonts/arcaden.go +++ b/examples/resources/fonts/arcaden.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package fonts diff --git a/examples/resources/fonts/mplus1pregular.go b/examples/resources/fonts/mplus1pregular.go index f1dc93fb9..efa72a944 100644 --- a/examples/resources/fonts/mplus1pregular.go +++ b/examples/resources/fonts/mplus1pregular.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package fonts diff --git a/examples/resources/images/blocks/background.go b/examples/resources/images/blocks/background.go index 5e73e8c80..69ab4c69c 100644 --- a/examples/resources/images/blocks/background.go +++ b/examples/resources/images/blocks/background.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package blocks diff --git a/examples/resources/images/blocks/blocks.go b/examples/resources/images/blocks/blocks.go index 4c986b310..735f31b5b 100644 --- a/examples/resources/images/blocks/blocks.go +++ b/examples/resources/images/blocks/blocks.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package blocks diff --git a/examples/resources/images/ebiten.go b/examples/resources/images/ebiten.go index 496d04191..239d1af26 100644 --- a/examples/resources/images/ebiten.go +++ b/examples/resources/images/ebiten.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package images diff --git a/examples/resources/images/fiveyears.go b/examples/resources/images/fiveyears.go index 33075ed7f..e28dc38c0 100644 --- a/examples/resources/images/fiveyears.go +++ b/examples/resources/images/fiveyears.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package images diff --git a/examples/resources/images/flappy/gopher.go b/examples/resources/images/flappy/gopher.go index 8185144a8..0ae4581b5 100644 --- a/examples/resources/images/flappy/gopher.go +++ b/examples/resources/images/flappy/gopher.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package flappy diff --git a/examples/resources/images/flappy/tiles.go b/examples/resources/images/flappy/tiles.go index 07e6a723b..d3038c255 100644 --- a/examples/resources/images/flappy/tiles.go +++ b/examples/resources/images/flappy/tiles.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package flappy diff --git a/examples/resources/images/gophers.go b/examples/resources/images/gophers.go index a4f326e83..97961450c 100644 --- a/examples/resources/images/gophers.go +++ b/examples/resources/images/gophers.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package images diff --git a/examples/resources/images/keyboard/keyboard.go b/examples/resources/images/keyboard/keyboard.go index 4c0023d38..43966cac2 100644 --- a/examples/resources/images/keyboard/keyboard.go +++ b/examples/resources/images/keyboard/keyboard.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package keyboard diff --git a/examples/resources/images/platformer/background.go b/examples/resources/images/platformer/background.go index bf0f23d4c..3435b3f7d 100644 --- a/examples/resources/images/platformer/background.go +++ b/examples/resources/images/platformer/background.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package platformer diff --git a/examples/resources/images/platformer/left.go b/examples/resources/images/platformer/left.go index 9445699e3..afed05fdb 100644 --- a/examples/resources/images/platformer/left.go +++ b/examples/resources/images/platformer/left.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package platformer diff --git a/examples/resources/images/platformer/mainchar.go b/examples/resources/images/platformer/mainchar.go index edf2eb06c..66ee5e8e6 100644 --- a/examples/resources/images/platformer/mainchar.go +++ b/examples/resources/images/platformer/mainchar.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package platformer diff --git a/examples/resources/images/platformer/right.go b/examples/resources/images/platformer/right.go index d5545e849..86ca2e588 100644 --- a/examples/resources/images/platformer/right.go +++ b/examples/resources/images/platformer/right.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package platformer diff --git a/examples/resources/images/tile.go b/examples/resources/images/tile.go index f7d5df89f..4e1f8a481 100644 --- a/examples/resources/images/tile.go +++ b/examples/resources/images/tile.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package images diff --git a/examples/resources/images/tiles.go b/examples/resources/images/tiles.go index 7c1a8e97f..5ef2580b5 100644 --- a/examples/resources/images/tiles.go +++ b/examples/resources/images/tiles.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package images diff --git a/examples/resources/images/ui.go b/examples/resources/images/ui.go index 742609312..ef39d3917 100644 --- a/examples/resources/images/ui.go +++ b/examples/resources/images/ui.go @@ -1,4 +1,4 @@ -// Code generated by file2byteslice. DO NOT EDIT +// Code generated by file2byteslice. DO NOT EDIT. // (gofmt is fine after generating) package images diff --git a/genkeys.go b/genkeys.go index 7d045df6b..8a6cc370f 100644 --- a/genkeys.go +++ b/genkeys.go @@ -347,7 +347,7 @@ func main() { } // Follow the standard comment rule (https://golang.org/s/generatedcode). - doNotEdit := "// Code generated by genkeys.go using 'go generate'. DO NOT EDIT" + doNotEdit := "// Code generated by genkeys.go using 'go generate'. DO NOT EDIT." namesSet := map[string]struct{}{} namesWithoutModsSet := map[string]struct{}{} diff --git a/internal/input/keys.go b/internal/input/keys.go index 659858f73..a9b15d4ca 100644 --- a/internal/input/keys.go +++ b/internal/input/keys.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Code generated by genkeys.go using 'go generate'. DO NOT EDIT +// Code generated by genkeys.go using 'go generate'. DO NOT EDIT. package input diff --git a/internal/input/keys_glfw.go b/internal/input/keys_glfw.go index de7d24b41..e41ae4182 100644 --- a/internal/input/keys_glfw.go +++ b/internal/input/keys_glfw.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Code generated by genkeys.go using 'go generate'. DO NOT EDIT +// Code generated by genkeys.go using 'go generate'. DO NOT EDIT. // +build darwin freebsd linux windows // +build !js diff --git a/internal/input/keys_js.go b/internal/input/keys_js.go index b3c5e5b3d..85599a27c 100644 --- a/internal/input/keys_js.go +++ b/internal/input/keys_js.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Code generated by genkeys.go using 'go generate'. DO NOT EDIT +// Code generated by genkeys.go using 'go generate'. DO NOT EDIT. // +build js diff --git a/keys.go b/keys.go index 703bf9e0e..8deea2658 100644 --- a/keys.go +++ b/keys.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Code generated by genkeys.go using 'go generate'. DO NOT EDIT +// Code generated by genkeys.go using 'go generate'. DO NOT EDIT. package ebiten @@ -28,6 +28,8 @@ import ( type Key int // Keys. +// +// Known issue: KeyKPEnter and KeyKPEqual don't work on Edge browsers. const ( Key0 Key = Key(input.Key0) Key1 Key = Key(input.Key1)