diff --git a/include/fggl/input/basics.hpp b/include/fggl/input/basics.hpp new file mode 100644 index 0000000000000000000000000000000000000000..78036f6d68ba889b94165b9b798c829dbf1dafa7 --- /dev/null +++ b/include/fggl/input/basics.hpp @@ -0,0 +1,33 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +// +// Created by webpigeon on 19/06/22. +// + +#ifndef FGGL_INPUT_BASICS_H +#define FGGL_INPUT_BASICS_H + +namespace fggl::input { + + enum class InputType { + BUTTON, // 0 || 1 + UNIDIRECTIONAL_AXIS, // [0,1], absolute + BIDIRECTIONAL_AXIS, // [-1, 1], absolute + RELATIVE_AXIS // [-1, 1], relative + }; + +} // namespace fggl::input + +#endif //FGGL_INPUT_BASICS_H