diff --git a/controller.go b/controller.go index 8014b27..96b5333 100644 --- a/controller.go +++ b/controller.go @@ -32,7 +32,7 @@ var Controllers [8]Controller // 0th element is for Player 0, 1st for Player 1 e type Controller struct { // BtnDuration is how many frames button was pressed: - // Index of array is equal to controller button constant. + // Index of array is equal to Button constant BtnDuration [6]uint } diff --git a/mouse.go b/mouse.go index 1cd8b8f..7958195 100644 --- a/mouse.go +++ b/mouse.go @@ -15,7 +15,7 @@ const ( var ( // MouseBtnDuration has how many frames in a row a mouse button was pressed: - // Index of array is equal to mouse button constant. + // Index of array is equal to MouseButton constant. MouseBtnDuration [3]uint // MousePos is the position of mouse in screen coordinates.