12 releases (breaking)
Uses old Rust 2015
0.9.1 | Apr 13, 2022 |
---|---|
0.8.0 | Aug 5, 2018 |
0.7.1 | Jun 26, 2018 |
0.2.0 | Feb 24, 2018 |
#225 in #window
Used in 6 crates
(2 directly)
520KB
13K
SLoC
Aldaron's Window Interface
This project has been discontinued, and replaced with the window crate.
Contact me at aldaronlau@gmail.com if you wish to reclaim the crate name.
Interface through a window to a device.
This project is part of ADI.
Features
- Create a window
- Poll the window's input
- Get the window's native handle
Platform Support
Plans are for awi to support all of the following platforms (or any other platform that exists). AWI's goal is to be able to run on any computer. If you see a missing platform you would like supported, open an issue.
platform | support |
---|---|
1. Windows | Yes (windows) |
2. Linux / BSD | Yes (linux - TODO: Wayland, fallback on XCB) |
3. Raspberry Pi¹ | TODO (rpi - directfb) |
4. Deskron² | TODO (deskron) |
5. Android | TODO (android) |
6. MacOS / iOS | TODO (apple - TODO: Cocoa) |
7. Web App | TODO (wasm32) |
8. Nintendo Switch | TODO (switch) |
9. Redox | TODO (redox) |
10. XBox One | TODO (xbox) |
- ¹ Needs feature
directfb
enabled, since target_os is linux. - ² Needs feature
deskron
enabled, since the DE can be installed on any OS.
Roadmap to 1.0 (Future Features)
- Complete the first 9 platforms.
Roadmap to 1.1
- Complete the first 10 platforms.
Change Log
0.8
- Update afi
- Update dl_api
0.7
- Use c_void in std instead of in libc, since libc isn't needed on Windows.
0.6
- Simplified input.
- Added support for joysticks / controllers.
Dependencies
~1.2–2MB
~34K SLoC