Skip to content

Commit

Permalink
Release v0.0.4 (#7)
Browse files Browse the repository at this point in the history
* Update README.md to reflect version bump

* Update to README.md, new shields

Added AUR Package shield
Changed gitter.im shield

* Added support for oblique gesture swipes.

To add the support the config class was modified to include the new
gestures types: left_up, right_up, left_down, right_down.
Also changed the way the commands are saved in the config class, so
there won't be a need for a lot of if statements to handle 4 finger
swipes and 3 finger swipes.
Finally, the handle_swipe_event_without_coords was modified to detect
the oblique swipes.

* Commenting the code a bit and some minor cosmetic and semantic changes

- Added comments to each function
- Increased string array size to 10 in config.h even though we only need 9 slots, I'm being a bit pedantic about this
- Adding some build flags to CMakeLists.txt to show every error, preferably we'd get clean output eventually
- Renamed find_gesture_device to gesture_device_exists in Input class
- Renamed find_config_file to config_file_exists as this actually describes the logic of this function in Config class
- Renamed find_home_folder to find_config_file in Config class in preparation to adding /etc/gebaar/gebaard.toml to list of possible config file locations

* Prepare for release by bumping up version in README.md

* Let warnings be warnings, release v0.0.4
  • Loading branch information
Coffee2CodeNL authored Feb 23, 2019
1 parent ab30e72 commit ca51681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12.1)
project(gebaar)
set(CMAKE_EXPORT_COMPILE_COMMANDS on)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic-errors")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")

add_executable(gebaard
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This is more stable, faster, and more efficient as it **does not parse the outpu
### How to build and install

1. Clone the repository via `git clone https://github.com/Coffee2CodeNL/gebaar-libinput`
2. Check out the latest version (`git checkout v0.0.3`)
2. Check out the latest version (`git checkout v0.0.4`)
3. Run `git submodule update --init` in the root folder
4. Run `mkdir build && cd build`
5. Run `cmake ..`
Expand Down

0 comments on commit ca51681

Please sign in to comment.