From dafaeaa6d7ff47615595340bd71b1b7f10284092 Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Sun, 24 Feb 2019 17:39:02 -0500 Subject: [PATCH] Updated Keyboard API (markdown) --- Keyboard-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Keyboard-API.md b/Keyboard-API.md index 6bdbcc7..fe083ee 100644 --- a/Keyboard-API.md +++ b/Keyboard-API.md @@ -13,13 +13,13 @@ The public API surface of this package consists of the following: The **keyboard.Key** type represents keys on the keyboard. The package provides predefined values for some of the keys which can be used directly, e.g: ```go -var key Keyboard +var key keyboard.Key key = keyboard.KeyEnter ``` For all other keys like regular letters, the character that represents the letter can be directly assigned to the Key type. ```go -var key Keyboard +var key keyboard.Key key = 'a' ``` \ No newline at end of file