Victor Berger
4acf437221
Move api module into platform::linux
2017-03-04 09:09:09 +01:00
Victor Berger
64c8f66e72
wayland: implement modifiers
2017-03-03 22:28:02 +01:00
Erik Rigtorp
f3ccdb7aec
Add keyboard modifiers to input event
...
Making applications track modifier keys results in unnecessary work for
consumers, it's error prone, and it turns out to have unavoidable bugs.
For example, alt-tabbing with x11 results in the alt modifier state
getting stuck.
To resolve these problems, this patch adds a Mods value to the keyboard
input event.
Based on this patch: d287fa96e3
2017-02-27 13:36:11 -06:00
Pierre Krieger
422b332c1b
Add a transition macro system
2017-01-28 15:00:17 +01:00
Andy Barron
db45e58390
Add MouseEntered/MouseLeft for Windows, X11, Wayland, & Cocoa
2016-11-03 01:31:16 -07:00
Victor Berger
db6b4606a1
wayland: Support for wheel scrolling
2016-10-16 22:35:18 +02:00
Victor Berger
2d025a4a35
wayland: gracefully handle missing libxkbcommon
2016-10-09 18:26:24 +02:00
Victor Berger
c6f8ed2f81
wayland: handle Focused event
2016-10-09 16:33:29 +02:00
Victor Berger
a5ba9983c9
wayland: basic mouse & keyboard support
2016-10-09 16:08:10 +02:00
Victor Berger
34c00aa153
wayland: window creation & resizing
2016-10-09 16:08:10 +02:00
Victor Berger
a505eddf29
wayland: bases of backend and output handling
2016-10-09 16:08:10 +02:00
Victor Berger
c991172a28
wayland: remove old code for new backend
2016-10-09 16:08:10 +02:00
Victor Berger
14323656b6
wayland: Remove EGL-dependent code.
...
This removes all EGL-specific code from the wayland backend.
Notable unresolved question: due to wayland design, the resizing
methods will only get/set the size of the drawn borders, not of the
actual content drawn. This latter size cannot be controlled by winit.
2016-05-08 09:11:15 +02:00
Victor Berger
42551d20fd
api/wayland: output and fullscreen handling.
2015-12-22 14:36:41 +01:00
Victor Berger
84f1aef100
api/wayland: add keyboard support.
2015-12-22 14:36:41 +01:00
Victor Berger
0792557f4b
api/wayland: pointer events support.
2015-12-22 14:36:41 +01:00
Victor Berger
6294d3c7dd
api/wayland: core windows and events structure.
2015-12-22 14:36:41 +01:00
Victor Berger
741311b619
api/wayland: core context
2015-12-22 14:36:41 +01:00
Victor Berger
fad2e77a36
api/wayland: Reset to empty API.
...
In order to build the whole new structure.
2015-12-22 14:36:41 +01:00
Victor Berger
f3e67128db
wayland: Resized event
2015-08-21 18:48:08 +02:00
Victor Berger
bfc709fdd1
wayland: fix events Moved -> MouseMoved
2015-08-21 18:47:54 +02:00
Victor Berger
1cea6a65a4
Update wayland backend to draw decorations.
...
Integrate with wayland-window crate to draw decorations
allowing resize & move of the window.
Leaving the wayland backend as disabled until full usability
is ensured.
2015-08-16 14:12:21 +02:00
Victor Berger
2ac78cadf6
Update wayland dependency to 0.2.
2015-06-23 11:23:10 +02:00
Victor Berger
178b7b133b
UTF8 keyboard events for wayland.
2015-05-15 12:20:25 +02:00
Victor Berger
02bd3758ee
Basic raw keyboard handling.
2015-05-14 21:46:29 +02:00
Victor Berger
562d6cd1e3
Move WaylandContext in its own file.
2015-05-13 08:12:09 +02:00