From d8404ce7529465bd5d921df2117e63f2d1e6b5ab Mon Sep 17 00:00:00 2001 From: JailDoctor Date: Thu, 19 Oct 2023 20:00:38 +0200 Subject: [PATCH] =?UTF-8?q?-=20Afegides=20constants=20per=20a=20quin=20num?= =?UTF-8?q?eret=20es=20cada=20bot=C3=B3=20del=20ratol=C3=AD,=20que=20mai?= =?UTF-8?q?=20ho=20recorde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/jinput.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/jinput.h b/source/jinput.h index 5c43118..77cf9f1 100644 --- a/source/jinput.h +++ b/source/jinput.h @@ -3,6 +3,16 @@ namespace input { + namespace mouse + { + namespace button + { + const int left = 1; + const int middle = 2; + const int right = 3; + } + } + /// @brief Inicialitza els sistemes de teclat, ratolĂ­ i gamepad void init(const int zoom);