Commit Graph

19 Commits

Author SHA1 Message Date
Sasha Koshka e588d7d791 Modifier states returned from x backend should be 100% correct now 2022-11-24 22:16:22 -05:00
Sasha Koshka 33ed2af075 We now take into account keypad keys
However, num lock is not accounted for. This still needs to be
implemented.
2022-11-24 18:20:47 -05:00
Sasha Koshka ae514f5ae2 Add proper and reliable (i hope) support for modifier keys 2022-11-22 00:21:35 -05:00
Sasha Koshka 75200a7310 Mouse scroll events are properly compressed and summed up 2022-11-17 19:23:39 -05:00
Sasha Koshka c57c8acba7 Changed the API for scrolling 2022-11-17 19:11:49 -05:00
Sasha Koshka 43696543d8 Compress motion notify events 2022-11-17 19:01:16 -05:00
Sasha Koshka 0ee58d22f6 Made centering the buffer in the window optional
It causes jitter while resizing in floating wms
2022-11-16 11:31:35 -05:00
Sasha Koshka 81a0c60943 Added simpler method of detecting window bounds change on draw 2022-11-16 11:14:30 -05:00
Sasha Koshka cab280a371 Removed the need for a quit handler 2022-11-16 11:08:30 -05:00
Sasha Koshka e030f8632b Overhauled event system 2022-11-16 00:29:23 -05:00
Sasha Koshka 77cf88b856 There is only one type of buffer now 2022-11-15 17:36:41 -05:00
Sasha Koshka 02d010818f Fix possible segfault in X backend 2022-11-15 11:40:10 -05:00
Sasha Koshka 6b251e6fee Position buffer in center of screen 2022-11-14 23:38:41 -05:00
Sasha Koshka d9c9895e82 Fixed mouse buttons 2022-11-14 23:17:10 -05:00
Sasha Koshka 1d71df180d Changed how buttons are stored in press and release events 2022-11-14 23:15:21 -05:00
Sasha Koshka 84cd21b16d Added untested advanced keycode translation 2022-11-14 22:33:46 -05:00
Sasha Koshka 820c7d4f6a Made separate function for converting keycode to keysym 2022-11-14 15:58:34 -05:00
Sasha Koshka aee4158d2d Added keyboard input 2022-11-13 23:47:35 -05:00
Sasha Koshka 82caf1efd8 Split X backend into multiple files 2022-11-13 22:44:19 -05:00