summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authormtgmonkey <mtgmonkey@nixos>2025-12-16 11:14:40 +0100
committermtgmonkey <mtgmonkey@nixos>2025-12-16 11:14:40 +0100
commit93bee37b83bbd88f2a7542415cd960e72ac3868e (patch)
tree3245e4351cd70c5ae54f8b201df11d6afd814c7b /CHANGELOG.md
parentd36bbad5a86315100d69370466a4654ba5da5bc7 (diff)
key callbacks, tidy
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md36
1 files changed, 35 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0baa6ab..5a2f1c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,41 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
### Added
- support for Windows
-- support for actually doing anything
+- native Wayland support
+
+### Removed
+
+- `C'u8` as an alias to `CChar`
+
+## [0.2.2] -- 2025-12-16
+
+### Added
+
+- enums `RGFW_keymod` and `RGFW_key` as `CUChar` aliases
+ - all variants bound as constants
+- `C'RGFW_bool` as `CUChar` alias. 0 is true, else is false
+- new callback
+ - `RGFW_keyfunc`
+- various new methods in `RGFW.hsc`
+ - `RGFW_window_setShouldClose`
+ - `RGFW_pollEvents`
+ - `RGFW_setKeyCallback`
+- key callback functionallity in demo application
+ - `esc` closes the window
+
+### Changed
+
+- modularized `hs-rgfw.cabal` for the sake of tidiness
+
+### Deprecated
+
+- `C'u8` as a type alias to `CChar`
+ - such declarations are needed in C but not in Haskell
+ - `CUChar` is the preferable type for cross-platform later
+
+### Fixed
+
+- correctly inherit `version` in `flake.nix`
## [0.2.1] -- 2025-12-16