summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-31 21:33:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-31 21:49:21 +0300
commit8a999b66fd697404c6640778a6dd1ce0e747334a (patch)
treeb9d16368acff30878f28264286b1b8be8b01b168 /src/gui
parentb310c51796d1632aeefc834dc0e931c52f909a41 (diff)
downloadplus-8a999b66fd697404c6640778a6dd1ce0e747334a.tar.gz
plus-8a999b66fd697404c6640778a6dd1ce0e747334a.tar.bz2
plus-8a999b66fd697404c6640778a6dd1ce0e747334a.tar.xz
plus-8a999b66fd697404c6640778a6dd1ce0e747334a.zip
move input related files into input dir.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/charcreatedialog.cpp5
-rw-r--r--src/gui/charselectdialog.cpp3
-rw-r--r--src/gui/chatwindow.cpp5
-rw-r--r--src/gui/editserverdialog.cpp5
-rw-r--r--src/gui/gui.cpp7
-rw-r--r--src/gui/inventorywindow.cpp5
-rw-r--r--src/gui/itemamountwindow.cpp3
-rw-r--r--src/gui/logindialog.cpp5
-rw-r--r--src/gui/outfitwindow.cpp5
-rw-r--r--src/gui/popupmenu.cpp3
-rw-r--r--src/gui/quitdialog.cpp5
-rw-r--r--src/gui/registerdialog.cpp5
-rw-r--r--src/gui/sdlinput.cpp5
-rw-r--r--src/gui/sdlinput.h2
-rw-r--r--src/gui/serverdialog.cpp5
-rw-r--r--src/gui/setup_input.cpp5
-rw-r--r--src/gui/setup_joystick.cpp3
-rw-r--r--src/gui/setupactiondata.h2
-rw-r--r--src/gui/socialwindow.cpp7
-rw-r--r--src/gui/statuspopup.cpp5
-rw-r--r--src/gui/statuspopup.h2
-rw-r--r--src/gui/textcommandeditor.cpp3
-rw-r--r--src/gui/textdialog.cpp2
-rw-r--r--src/gui/updaterwindow.cpp5
-rw-r--r--src/gui/viewport.cpp5
-rw-r--r--src/gui/widgets/browserbox.cpp3
-rw-r--r--src/gui/widgets/button.cpp5
-rw-r--r--src/gui/widgets/checkbox.cpp5
-rw-r--r--src/gui/widgets/dropdown.cpp5
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp5
-rw-r--r--src/gui/widgets/extendedlistbox.cpp3
-rw-r--r--src/gui/widgets/guitable.cpp3
-rw-r--r--src/gui/widgets/inttextfield.cpp4
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp5
-rw-r--r--src/gui/widgets/listbox.cpp3
-rw-r--r--src/gui/widgets/radiobutton.cpp5
-rw-r--r--src/gui/widgets/slider.cpp3
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/tabbedarea.cpp4
-rw-r--r--src/gui/widgets/textbox.cpp4
-rw-r--r--src/gui/widgets/textfield.cpp5
-rw-r--r--src/gui/windowmenu.cpp5
-rw-r--r--src/gui/worldselectdialog.cpp5
44 files changed, 111 insertions, 74 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp
index b0a7d730c..86c1a0003 100644
--- a/src/gui/charcreatedialog.cpp
+++ b/src/gui/charcreatedialog.cpp
@@ -22,11 +22,12 @@
#include "gui/charcreatedialog.h"
-#include "keydata.h"
-#include "keyevent.h"
#include "main.h"
#include "units.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
+
#include "gui/confirmdialog.h"
#include "gui/okdialog.h"
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index 92f1aeba8..806cd5b86 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -25,7 +25,8 @@
#include "client.h"
#include "configuration.h"
#include "units.h"
-#include "keyevent.h"
+
+#include "input/keyevent.h"
#include "gui/charcreatedialog.h"
#include "gui/confirmdialog.h"
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index d31278e51..8705af925 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -29,14 +29,15 @@
#include "configuration.h"
#include "game.h"
#include "guild.h"
-#include "inputmanager.h"
-#include "keyevent.h"
#include "localplayer.h"
#include "party.h"
#include "playerinfo.h"
#include "spellshortcut.h"
#include "soundmanager.h"
+#include "input/inputmanager.h"
+#include "input/keyevent.h"
+
#include "gui/emotewindow.h"
#include "gui/gui.h"
#include "gui/setup.h"
diff --git a/src/gui/editserverdialog.cpp b/src/gui/editserverdialog.cpp
index 3882defe5..516d30ffe 100644
--- a/src/gui/editserverdialog.cpp
+++ b/src/gui/editserverdialog.cpp
@@ -22,8 +22,9 @@
#include "gui/editserverdialog.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/okdialog.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index dda067644..0145332c8 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -35,12 +35,13 @@
#include "client.h"
#include "configuration.h"
#include "dragdrop.h"
-#include "keydata.h"
-#include "keyevent.h"
-#include "keyinput.h"
#include "mouseinput.h"
#include "touchmanager.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
+#include "input/keyinput.h"
+
#include "resources/image.h"
#include "resources/imageset.h"
#include "resources/resourcemanager.h"
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 86704c09c..bcd2c5108 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -23,11 +23,12 @@
#include "gui/inventorywindow.h"
#include "configuration.h"
-#include "inputmanager.h"
-#include "keyevent.h"
#include "playerinfo.h"
#include "units.h"
+#include "input/inputmanager.h"
+#include "input/keyevent.h"
+
#include "gui/equipmentwindow.h"
#include "gui/gui.h"
#include "gui/itemamountwindow.h"
diff --git a/src/gui/itemamountwindow.cpp b/src/gui/itemamountwindow.cpp
index 61760f6d3..e9a178b02 100644
--- a/src/gui/itemamountwindow.cpp
+++ b/src/gui/itemamountwindow.cpp
@@ -24,7 +24,8 @@
#include "inventory.h"
#include "item.h"
-#include "keyboardconfig.h"
+
+#include "input/keyboardconfig.h"
#include "gui/tradewindow.h"
#include "net/inventoryhandler.h"
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp
index 701981008..03975d0f4 100644
--- a/src/gui/logindialog.cpp
+++ b/src/gui/logindialog.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/confirmdialog.h"
#include "gui/okdialog.h"
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index e1c36fd90..c31f1c980 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -27,13 +27,14 @@
#include "emoteshortcut.h"
#include "equipment.h"
#include "game.h"
-#include "inputmanager.h"
#include "inventory.h"
#include "item.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
#include "playerinfo.h"
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
+
#include "gui/chatwindow.h"
#include "gui/inventorywindow.h"
#include "gui/viewport.h"
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index da33b6915..54e6f4154 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -28,7 +28,6 @@
#include "game.h"
#include "guild.h"
#include "guildmanager.h"
-#include "inputmanager.h"
#include "item.h"
#include "itemshortcut.h"
#include "localplayer.h"
@@ -38,6 +37,8 @@
#include "playerrelations.h"
#include "spellmanager.h"
+#include "input/inputmanager.h"
+
#include "gui/buydialog.h"
#include "gui/chatwindow.h"
#include "gui/equipmentwindow.h"
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index 894d4ff24..c6f59d92d 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -25,11 +25,12 @@
#include "client.h"
#include "configuration.h"
#include "game.h"
-#include "keydata.h"
-#include "keyevent.h"
#include "soundconsts.h"
#include "soundmanager.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
+
#include "gui/chatwindow.h"
#include "gui/npcdialog.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp
index 233bf9bf9..22537ac7d 100644
--- a/src/gui/registerdialog.cpp
+++ b/src/gui/registerdialog.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/logindialog.h"
#include "gui/okdialog.h"
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 4655bcbec..f37ae858e 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -58,12 +58,13 @@
#include "gui/sdlinput.h"
-#include "inputmanager.h"
-#include "keydata.h"
#include "logger.h"
#include "mouseinput.h"
#include "sdlshared.h"
+#include "input/inputmanager.h"
+#include "input/keydata.h"
+
#ifdef USE_SDL2
#include "gui/gui.h"
#endif
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index 8f0f0b793..1674fcfd0 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -59,7 +59,7 @@
#ifndef GUI_SDLINPUT_H
#define GUI_SDLINPUT_H
-#include "keyinput.h"
+#include "input/keyinput.h"
#include <SDL.h>
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 26144c30d..a1b743f3d 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -25,10 +25,11 @@
#include "chatlogger.h"
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
#include "main.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
+
#include "gui/editserverdialog.h"
#include "gui/gui.h"
#include "gui/logindialog.h"
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp
index 0b0fd70de..ad2e3f7d9 100644
--- a/src/gui/setup_input.cpp
+++ b/src/gui/setup_input.cpp
@@ -24,8 +24,9 @@
#include "gui/setup_input.h"
#include "configuration.h"
-#include "inputmanager.h"
-#include "keyboardconfig.h"
+
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
#include "gui/okdialog.h"
#include "gui/setupactiondata.h"
diff --git a/src/gui/setup_joystick.cpp b/src/gui/setup_joystick.cpp
index 1ac5dae8d..b714ffaf3 100644
--- a/src/gui/setup_joystick.cpp
+++ b/src/gui/setup_joystick.cpp
@@ -23,7 +23,8 @@
#include "gui/setup_joystick.h"
#include "configuration.h"
-#include "joystick.h"
+
+#include "input/joystick.h"
#include "gui/widgets/button.h"
#include "gui/widgets/checkbox.h"
diff --git a/src/gui/setupactiondata.h b/src/gui/setupactiondata.h
index 4b5b721e1..6fa33f673 100644
--- a/src/gui/setupactiondata.h
+++ b/src/gui/setupactiondata.h
@@ -24,7 +24,7 @@
#ifndef GUI_SETUPACTIONDATA_H
#define GUI_SETUPACTIONDATA_H
-#include "keydata.h"
+#include "input/keydata.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index f25ca3e37..baeaf847f 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -24,19 +24,20 @@
#include "actorspritemanager.h"
#include "guild.h"
#include "guildmanager.h"
-#include "inputmanager.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
#include "maplayer.h"
#include "party.h"
#include "playerrelations.h"
-#include "gui/whoisonline.h"
+
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
#include "gui/confirmdialog.h"
#include "gui/okdialog.h"
#include "gui/outfitwindow.h"
#include "gui/setup.h"
#include "gui/textdialog.h"
+#include "gui/whoisonline.h"
#include "gui/widgets/browserbox.h"
#include "gui/widgets/chattab.h"
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp
index b00184a52..3c1479594 100644
--- a/src/gui/statuspopup.cpp
+++ b/src/gui/statuspopup.cpp
@@ -30,10 +30,11 @@
#include "gui/widgets/layout.h"
#include "gui/widgets/textbox.h"
-#include "inputmanager.h"
#include "localplayer.h"
#include "units.h"
-#include "keyboardconfig.h"
+
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
#include <guichan/font.hpp>
diff --git a/src/gui/statuspopup.h b/src/gui/statuspopup.h
index 7ee98c32d..69c6c7053 100644
--- a/src/gui/statuspopup.h
+++ b/src/gui/statuspopup.h
@@ -24,7 +24,7 @@
#ifndef GUI_STATUSPOPUP_H
#define GUI_STATUSPOPUP_H
-#include "keydata.h"
+#include "input/keydata.h"
#include "gui/widgets/popup.h"
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp
index 029089704..7ad27c50f 100644
--- a/src/gui/textcommandeditor.cpp
+++ b/src/gui/textcommandeditor.cpp
@@ -26,9 +26,10 @@
#include "item.h"
#include "localplayer.h"
#include "main.h"
-#include "keyboardconfig.h"
#include "spellmanager.h"
+#include "input/keyboardconfig.h"
+
#include "gui/chatwindow.h"
#include "gui/widgets/button.h"
diff --git a/src/gui/textdialog.cpp b/src/gui/textdialog.cpp
index 773949e6e..3b26ec2de 100644
--- a/src/gui/textdialog.cpp
+++ b/src/gui/textdialog.cpp
@@ -22,7 +22,7 @@
#include "gui/textdialog.h"
-#include "keyboardconfig.h"
+#include "input/keyboardconfig.h"
#include "gui/widgets/button.h"
#include "gui/widgets/label.h"
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index f41269179..5466c54d7 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index fe5238e41..e8ae6bd6c 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -27,13 +27,14 @@
#include "configuration.h"
#include "game.h"
#include "itemshortcut.h"
-#include "inputmanager.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
#include "playerinfo.h"
#include "sdlshared.h"
#include "textmanager.h"
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
+
#include "gui/beingpopup.h"
#include "gui/chatwindow.h"
#include "gui/gui.h"
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index c1910ae88..6fd38e4c6 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -24,7 +24,8 @@
#include "gui/widgets/browserbox.h"
#include "client.h"
-#include "inputmanager.h"
+
+#include "input/inputmanager.h"
#include "gui/gui.h"
#include "gui/sdlfont.h"
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index ed9ac0580..1fb4fa5e4 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -25,8 +25,9 @@
#include "client.h"
#include "configuration.h"
#include "graphicsvertexes.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "resources/imageset.h"
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index d0c10ecb6..5548390bc 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "resources/image.h"
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index 9845c295c..8eac7bf79 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/sdlinput.h"
#include "gui/viewport.h"
diff --git a/src/gui/widgets/dropshortcutcontainer.cpp b/src/gui/widgets/dropshortcutcontainer.cpp
index d0bf896eb..96d068ade 100644
--- a/src/gui/widgets/dropshortcutcontainer.cpp
+++ b/src/gui/widgets/dropshortcutcontainer.cpp
@@ -25,10 +25,11 @@
#include "client.h"
#include "dragdrop.h"
#include "dropshortcut.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
#include "playerinfo.h"
+#include "input/keyboardconfig.h"
+
#include "gui/inventorywindow.h"
#include "gui/itempopup.h"
#include "gui/viewport.h"
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index 977b55a4f..d72f5379d 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -25,13 +25,14 @@
#include "client.h"
#include "configuration.h"
#include "emoteshortcut.h"
-#include "inputmanager.h"
#include "inventory.h"
#include "item.h"
#include "itemshortcut.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
+
#include "gui/textpopup.h"
#include "gui/viewport.h"
diff --git a/src/gui/widgets/extendedlistbox.cpp b/src/gui/widgets/extendedlistbox.cpp
index 00bb5e5fd..69c7e4d54 100644
--- a/src/gui/widgets/extendedlistbox.cpp
+++ b/src/gui/widgets/extendedlistbox.cpp
@@ -22,7 +22,8 @@
#include "client.h"
#include "configuration.h"
-#include "keyevent.h"
+
+#include "input/keyevent.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 638f310bd..68068acf7 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -24,7 +24,8 @@
#include "client.h"
#include "configuration.h"
-#include "keyevent.h"
+
+#include "input/keyevent.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/widgets/inttextfield.cpp b/src/gui/widgets/inttextfield.cpp
index be8b2e310..1c1fc222c 100644
--- a/src/gui/widgets/inttextfield.cpp
+++ b/src/gui/widgets/inttextfield.cpp
@@ -22,8 +22,8 @@
#include "gui/widgets/inttextfield.h"
-#include "keydata.h"
-#include "keyevent.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index c42074d6b..40eaefcf9 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -26,14 +26,15 @@
#include "configuration.h"
#include "dragdrop.h"
#include "inventory.h"
-#include "inputmanager.h"
#include "item.h"
#include "itemshortcut.h"
#include "spellshortcut.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
#include "playerinfo.h"
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
+
#include "gui/inventorywindow.h"
#include "gui/itempopup.h"
#include "gui/skilldialog.h"
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp
index a5ffc2f8b..29b7b0e48 100644
--- a/src/gui/widgets/listbox.cpp
+++ b/src/gui/widgets/listbox.cpp
@@ -24,7 +24,8 @@
#include "client.h"
#include "configuration.h"
-#include "keyevent.h"
+
+#include "input/keyevent.h"
#include "gui/gui.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index ff4a8f6f4..8f595e6c3 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "resources/image.h"
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp
index 00b55f936..b8988964e 100644
--- a/src/gui/widgets/slider.cpp
+++ b/src/gui/widgets/slider.cpp
@@ -24,7 +24,8 @@
#include "client.h"
#include "configuration.h"
-#include "keyevent.h"
+
+#include "input/keyevent.h"
#include "resources/image.h"
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 335be9866..0ffb25b1d 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -25,10 +25,11 @@
#include "client.h"
#include "dragdrop.h"
#include "itemshortcut.h"
-#include "keyboardconfig.h"
#include "localplayer.h"
#include "spellshortcut.h"
+#include "input/keyboardconfig.h"
+
#include "gui/inventorywindow.h"
#include "gui/okdialog.h"
#include "gui/shortcutwindow.h"
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 5a8b7265f..d9b75dc11 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -22,8 +22,8 @@
#include "gui/widgets/tabbedarea.h"
-#include "keydata.h"
-#include "keyevent.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/tab.h"
diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp
index d38c3c9c9..53f071d3d 100644
--- a/src/gui/widgets/textbox.cpp
+++ b/src/gui/widgets/textbox.cpp
@@ -22,8 +22,8 @@
#include "gui/widgets/textbox.h"
-#include "keydata.h"
-#include "keyevent.h"
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include <guichan/font.hpp>
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index bff4f67f2..aac233d24 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -24,8 +24,9 @@
#include "client.h"
#include "configuration.h"
-#include "inputmanager.h"
-#include "keyevent.h"
+
+#include "input/inputmanager.h"
+#include "input/keyevent.h"
#include "gui/popupmenu.h"
#include "gui/sdlinput.h"
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 0e2cc5397..d12fc807d 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -23,8 +23,9 @@
#include "gui/windowmenu.h"
#include "emoteshortcut.h"
-#include "inputmanager.h"
-#include "keyboardconfig.h"
+
+#include "input/inputmanager.h"
+#include "input/keyboardconfig.h"
#include "gui/didyouknowwindow.h"
#include "gui/helpwindow.h"
diff --git a/src/gui/worldselectdialog.cpp b/src/gui/worldselectdialog.cpp
index 37dbbc3cf..8a9cf8ed2 100644
--- a/src/gui/worldselectdialog.cpp
+++ b/src/gui/worldselectdialog.cpp
@@ -23,8 +23,9 @@
#include "gui/worldselectdialog.h"
#include "client.h"
-#include "keydata.h"
-#include "keyevent.h"
+
+#include "input/keydata.h"
+#include "input/keyevent.h"
#include "gui/sdlinput.h"