mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Fix the do-not-edit comment https://golang.org/s/generatedcode
This commit is contained in:
parent
63c33b24df
commit
3fa2beb502
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package assets
|
package assets
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package audio
|
package audio
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package audio
|
package audio
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package audio
|
package audio
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package fonts
|
package fonts
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package fonts
|
package fonts
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package blocks
|
package blocks
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package blocks
|
package blocks
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package images
|
package images
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package images
|
package images
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package flappy
|
package flappy
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package flappy
|
package flappy
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package images
|
package images
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package keyboard
|
package keyboard
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package platformer
|
package platformer
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package platformer
|
package platformer
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package platformer
|
package platformer
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package platformer
|
package platformer
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package images
|
package images
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package images
|
package images
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Code generated by file2byteslice. DO NOT EDIT
|
// Code generated by file2byteslice. DO NOT EDIT.
|
||||||
// (gofmt is fine after generating)
|
// (gofmt is fine after generating)
|
||||||
|
|
||||||
package images
|
package images
|
||||||
|
@ -347,7 +347,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Follow the standard comment rule (https://golang.org/s/generatedcode).
|
// 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{}{}
|
namesSet := map[string]struct{}{}
|
||||||
namesWithoutModsSet := map[string]struct{}{}
|
namesWithoutModsSet := map[string]struct{}{}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// 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
|
package input
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// 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 darwin freebsd linux windows
|
||||||
// +build !js
|
// +build !js
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// 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
|
// +build js
|
||||||
|
|
||||||
|
4
keys.go
4
keys.go
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// 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
|
package ebiten
|
||||||
|
|
||||||
@ -28,6 +28,8 @@ import (
|
|||||||
type Key int
|
type Key int
|
||||||
|
|
||||||
// Keys.
|
// Keys.
|
||||||
|
//
|
||||||
|
// Known issue: KeyKPEnter and KeyKPEqual don't work on Edge browsers.
|
||||||
const (
|
const (
|
||||||
Key0 Key = Key(input.Key0)
|
Key0 Key = Key(input.Key0)
|
||||||
Key1 Key = Key(input.Key1)
|
Key1 Key = Key(input.Key1)
|
||||||
|
Loading…
Reference in New Issue
Block a user