Commit Graph

7 Commits

Author SHA1 Message Date
Gyorgy Sarvari 1559130d37 libmanette: fix ptests
The original content of the ptest package, manette-test, is a helper demo
application (like evtest), and not a test suite. Also, the recipe did not
provide a run-ptest script.

Fix it by installing the actual tests, and adding a run-ptest script.

Note that the test folder structure looks like a gnome desktop test suite
(and the application is under the gnome umbrella), however the project
doesn't provide all necessary scaffolding for gnome-desktop-test to work, so
the tests are executed directly from the run-ptest script.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-17 14:10:38 -07:00
Gyorgy Sarvari c26c858340 libmanette: upgrade 0.2.9 -> 0.2.13
Changelog:
0.2.13:
- Update controller mappings

0.2.12:
- Add a deadzone for Steam Deck analog sticks
- Fix build with older gobject-introspection

0.2.11:
- Port documentation to gi-docgen
- Add support for Steam Deck gamepad
  - Add ManetteDeviceType and manette_device_get_device_type()
  - Add manette_device_supports_mapping()
- Deprecate LIBMANETTE_* version check symbols, add MANETTE_* instead
- Add runtime version check functions
- Make hat to buttons mapping always emit button release
  (fixes d-pad getting stuck when quickly flipping right->left etc)
- Fix paddle keycodes
- Fix DualSense motion sensor and touchpad being recognized as gamepads
- Fix half-range axis mappings
- Build
  - Depend on hidapi-hidraw
  - Specify --doc-format for GIR data
  - Fix build warnings

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-17 14:10:38 -07:00
Wang Mingyu c0d2d6032d libmanette: upgrade 0.2.7 -> 0.2.9
Changelog:
===========
* Update and clean up the game controller mapping database
* ManetteDevice
 - add manette_device_get_mapping() and manette_device_get_guid()
 - Handle keycodes before BTN_MISC as well
* ManetteMapping
 - Allow to map paddle1-4, misc1-6 and touchpad buttons
 - Improve error handling
* ManetteMappingManager
 - Check if user mapping file exists
* Tests
 - Test default mappings

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-18 21:03:14 -07:00
Wang Mingyu 5688b8c330 libmanette: upgrade 0.2.6 -> 0.2.7
Changelog:
==========
* Allow building as a static library
* ManetteMappingManager:
 - Strip leading and trailing spaces from mappings
* ManetteMonitor
 - Always use file backend in Flatpak
 - Skip non-evdev devices
 - Fix object construction
* Various cleanups

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:20 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj cf0b587ddd libmanette: Add recipe
Its needed for gamepad support in webkit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-06 09:02:12 -07:00