SFML playground
Go to file
Lukas Dürrenberger 39b8d67262 Align and fix mappings and general logic
- Aligned mappings
  - ScanDash -> ScanHyphen
  - Numpad keys include Numpad
  - *Equals -> *Equal
  - Key 29/42 are Backslash
  - Key 45 is Non-US Backslash
  - Add additional media & more scancodes
  - Rename ScanAgain to ScanRedo
  - Rename ScanMute to ScanVolumeMute
  - Add the missing F-key mappings for macOS
  - Fix mapping in Windows code
  - Correctly handle numpad keys on Windows for isKeyPressed
- Refactorings
  - Use mapping for Linux from different key config
  - Refactor some mapping code
  - Fix map initialization
  - Layout independent keys also don't have unicode characters, so it
    makes more sense to translate them first and use unicode as fallback
  - Fix iteration limits on Windows
  - Consistently use 'Scancode' instead of 'ScanCode' everywhere
  - Use 'delocalize' instead of 'unlocalize'
  - Fix conversion warnings
  - Remove unused mapping function
  - Hide parameters for non-applicable iOS functions
- Update documentation
- Add Android InputImpl scancode function stubs
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 Align and fix mappings and general logic 2023-01-20 16:32:59 +01:00
src/SFML Align and fix mappings and general logic 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.