From e4c22ada2f508a39976fa6333dbf79dffccb5666 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Aug 2016 17:08:13 +0200 Subject: dinput, logic: add copyright, remove unused headers --- opentrack-dinput/keybinding-worker.hpp | 5 ----- opentrack-dinput/win32-joystick.hpp | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'opentrack-dinput') diff --git a/opentrack-dinput/keybinding-worker.hpp b/opentrack-dinput/keybinding-worker.hpp index 439d2066..c0d61c2f 100644 --- a/opentrack-dinput/keybinding-worker.hpp +++ b/opentrack-dinput/keybinding-worker.hpp @@ -20,11 +20,6 @@ #include #include -#undef DIRECTINPUT_VERSION -#define DIRECTINPUT_VERSION 0x0800 -#include -#include - struct OPENTRACK_DINPUT_EXPORT Key { BYTE keycode; diff --git a/opentrack-dinput/win32-joystick.hpp b/opentrack-dinput/win32-joystick.hpp index c4fcdde2..a69ec765 100644 --- a/opentrack-dinput/win32-joystick.hpp +++ b/opentrack-dinput/win32-joystick.hpp @@ -1,3 +1,10 @@ +/* Copyright (c) 2015-2016, Stanislaw Halik + + * Permission to use, copy, modify, and/or distribute this + * software for any purpose with or without fee is hereby granted, + * provided that the above copyright notice and this permission + * notice appear in all copies. + */ #pragma once #ifdef _WIN32 -- cgit v1.2.3