SFML mainline mirror
Go to file
Elias Daler 95f19ff478 Refactor X11InputManager and align mappings
- getDescription implementation for X11
- Generate KeySym -> Unicode mapping, so we don't need
  to make fake events in getDescription now
- KeySym to sf::Keyboard::Key mapping
- Better names for keycode, sf::Scancode and sf::Key conversion functions
- X11InputManager doesn't need m_display now
- Move a lot of stuff into free functions
- X11InputManager now only has static members
- X11InputManager -> KeyboardImpl
- Removed redundant "sf::" where possible
- Moved some functions from sf::priv::anonymous to anonymous namespace.
- Added NullKeyCode constant for readability
2023-01-20 16:32:59 +01:00
.github Lock CI jobs to Ubuntu 20 2022-12-12 12:09:51 -07:00
cmake Disable warnings as errors for Clang on Windows 2022-12-12 12:09:51 -07:00
doc Fix broken image URLs in doxygen.css 2022-08-03 23:55:43 +02:00
examples Fix minor inconsistency in type cast in voip example 2022-10-01 19:51:48 +02:00
extlibs Update stb_image to v2.27 and stb_image_write to v1.16 2022-12-29 00:08:52 +01:00
include/SFML Initial Windows implementation 2023-01-20 16:32:59 +01:00
src/SFML Refactor X11InputManager and align mappings 2023-01-20 16:32:59 +01:00
test Fix wrong cast in sf::Packet 2021-12-06 08:06:20 +01:00
tools Update year to 2022 (amended) 2022-02-12 19:29:09 +01:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Added a FLAC file to the Sound example to cover all three supported formats. 2015-03-28 22:49:46 +01:00
.gitignore Add '.gitignore' file 2022-01-10 10:34:55 +01:00
changelog.md Updated the changelog and version number for 2.5.1 2018-10-15 21:52:40 +02:00
CMakeLists.txt Add option for enabling DRM 2022-12-13 21:52:42 -07:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Update year to 2022 (amended) 2022-02-12 19:29:09 +01:00
readme.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00

SFML logo

SFML — Simple and Fast Multimedia Library

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.

Authors

Download

You can get the latest official release on SFML's website. You can also get the current development version from the Git repository.

Install

Follow the instructions of the tutorials, there is one for each platform/compiler that SFML supports.

Learn

There are several places to learn SFML:

Contribute

SFML is an open-source project, and it needs your help to go on growing and improving. If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the contribution guidelines.