doc: Add comments for keys

This commit is contained in:
Hajime Hoshi 2017-04-10 10:45:04 +09:00
parent 7e4e762d96
commit 12f14e5140
2 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,8 @@ import (
)
// A Key represents a keyboard key.
// These keys represent pysical keys of US keyboard.
// For example, KeyQ represents Q key on US keybaords and ' (quote) key on Dvorak keyboards.
type Key int
// Keys

View File

@ -21,6 +21,8 @@ import (
)
// A Key represents a keyboard key.
// These keys represent pysical keys of US keyboard.
// For example, KeyQ represents Q key on US keybaords and ' (quote) key on Dvorak keyboards.
type Key int
// Keys