diff options
author | Robert Knight <robert.knight@mendeley.com> | 2015-06-22 22:49:48 +0100 |
---|---|---|
committer | Robert Knight <robert.knight@mendeley.com> | 2015-06-28 13:25:09 +0100 |
commit | 94c31e42a44b2621ae1ddc02b36ee5f0ee0bc16a (patch) | |
tree | 79be93cc5541225a47fc2aa737daff2055634732 /src/api/x11/ffi.rs | |
parent | 164d47b93c7dc95cf52c5ef205a107a8a439e4ef (diff) | |
download | glutin-94c31e42a44b2621ae1ddc02b36ee5f0ee0bc16a.tar.gz glutin-94c31e42a44b2621ae1ddc02b36ee5f0ee0bc16a.zip |
Use XInput2 for event handling
This provides smooth scrolling for touchpad devices and will
enable support for touch events etc. in future.
Diffstat (limited to 'src/api/x11/ffi.rs')
-rw-r--r-- | src/api/x11/ffi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/x11/ffi.rs b/src/api/x11/ffi.rs index 8c9a35d..3d4f0ed 100644 --- a/src/api/x11/ffi.rs +++ b/src/api/x11/ffi.rs @@ -2,6 +2,8 @@ pub use x11_dl::keysym::*; pub use x11_dl::xcursor::*; pub use x11_dl::xf86vmode::*; pub use x11_dl::xlib::*; +pub use x11_dl::xinput::*; +pub use x11_dl::xinput2::*; pub use self::glx::types::GLXContext; |