From e6707358585780d009d0d7ab4db4baab6a23641e Mon Sep 17 00:00:00 2001 From: faiface Date: Thu, 26 Jan 2017 15:31:54 +0100 Subject: [PATCH] rename Button.Name -> String --- input.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input.go b/input.go index 45463d0..afa903b 100644 --- a/input.go +++ b/input.go @@ -186,8 +186,8 @@ const ( KeyLast = Button(glfw.KeyLast) ) -// Name returns a human-readable string describing the Button. -func (b Button) Name() string { +// String returns a human-readable string describing the Button. +func (b Button) String() string { name, ok := buttonNames[b] if !ok { return "Invalid"