LibretroAdmin
fc48ecaa1d
Local 'len' variables need to prefixed with '_', inner-loop len
...
variables need to be prefixed with '__'
2025-01-07 02:57:24 +01:00
Aleksey Samoilov
9ffb458626
wayland: add support for single-pixel-buffer-v1 protocol ( #17298 )
...
* wayland: add support for single-pixel-buffer-v1 protocol
* Create single pixel buffer instead of checkerboard if available
* Fix identations
2024-12-29 18:56:32 +01:00
Aleksey Samoilov
4fc6bbe8c2
wayland: improve logging ( #17291 )
...
* wayland: improve logging
* wayland: minor cleanup
2024-12-27 15:51:13 +01:00
Aleksey Samoilov
a2d9c74978
wayland: add support for content-type-v1 protocol ( #17288 )
...
* wayland: add support for content-type-v1 protocol
* update gitignore, remove generated files
* Fix typos
2024-12-27 00:16:36 +01:00
Aleksey Samoilov
7887719d42
wayland: add support for cursor-shape-v1 protocol ( #17284 )
...
* wayland: add support for cursor-shape-v1 protocol
* Bump required wayland-protocols to 1.32
2024-12-25 08:18:45 -08:00
libretroadmin
442b9bc3da
Syntax style nits
2024-12-23 05:44:40 +01:00
Jesse Talavera
d682917e44
Add Linux support for illuminance sensors ( #17208 )
...
* First crack at light sensor support for Linux
* Add light-sensor support to most Linux input drivers
* Fix a compiler error
- Whoops, forgot to declare `sdl`
* Refactor linux_illuminance_sensor_t
- Allow the poll rate to be specified
- Poll the sensor on a separate thread
- Open a file handle each time we poll the sensor, since sysfs doesn't update the contents of an existing handle
* Set the `done` flag when closing the light sensor
- Whoops
* Avoid a division by zero when updating the poll rate of an existing sensor
* Don't try to open illuminance sensors from ".", "..", or hidden files
* Never mind
* Fix some silly mistakes
* Skip hidden files, ".", and ".."
* Cancel the sensor poll thread mid-sleep when closing it
- POSIX says it's fine
* Add to CHANGES.md
* Address feedback given on PR
* Use libretro-common's file system instead of stdio
2024-12-17 05:49:39 -08:00
Viačasłaŭ
3019b926c2
Fix typos ( #17068 )
2024-10-01 17:36:33 -07:00
Colin Kinloch
ee55623678
wayland: Check for relative_pointer support ( #17029 )
2024-09-23 08:50:34 -07:00
zoltanvb
286d65b42e
[X11] Support for mouse buttons 4 and 5
...
Support added for extra mouse buttons. Since these buttons were
not returned by XQueryPointer(), some additional logic was needed
which fit best to scroll wheel handling.
2024-06-25 08:18:51 -05:00
zoltanvb
3b21273858
[Wayland] Support for mouse buttons 4&5 and horizontal wheel
2024-06-19 18:40:15 -05:00
Reilly Brogan
7f3de64ef8
wayland: Fix Wayland appId
2024-05-30 22:54:50 -05:00
Colin Kinloch
cdd6aed8ec
wayland: Ignore configure events during splash ( #16398 )
...
These were causing the gl/vk surfaces to be created with the wrong size.
2024-04-02 17:55:02 -07:00
Colin Kinloch
a2057d6069
input/wayland: Use unaccelerated pointer motion ( #16074 )
...
This fixes small mouse movements being rounded down to 0.
Fix "Mouse cursor appears to have a deadzone on Wayland" (#16015 )
2024-01-04 15:30:47 -08:00
zoltanvb
fd04c8ca57
Rebase of wakira's wp_fractional_scale_v1 support ( #15965 )
...
A rebase of earlier PR https://github.com/libretro/RetroArch/pull/15355
No changes added (except for one log).
2023-11-30 03:29:38 -08:00
Colin Kinloch
2cb787c5bf
(Wayland) Apply output scale to touch inputs
2023-07-21 22:31:51 +02:00
Grisly Glee
de0c6d5cd1
Trivial warnings fixes ( #15383 )
...
* Trivial graphics context drivers fix
* Assorted minor warnings fixes
2023-06-14 23:46:27 +02:00
libretroadmin
31751a3945
Cleanups
2023-06-01 22:52:05 +02:00
Colin Kinloch
402b381c9b
Revert "(Wayland) Remove splash screen ( #15178 )"
...
This reverts commit f19def349f79a20355a2466006486222fb2ea2a1.
2023-05-29 19:16:21 +02:00
vanfanel
155d2c9ada
[Wayland+GL] Add frame callback after egl_swap_buffers to improve latency when max_swapchain<=2.
2023-05-28 23:19:13 +02:00
Colin Kinloch
f19def349f
(Wayland) Remove splash screen ( #15178 )
2023-04-10 16:37:48 +02:00
Colin Kinloch
e8ec3031a8
(Wayland) wp_viewporter + scaling fix ( #15176 )
...
* Use wp_viewporter
* Set buffer scale to highest of displays the window is touching
* Fixes fullscreen issue mentioned in #15168
* Simplify process of adding new wayland protocols
2023-04-10 06:29:41 +01:00
Colin Kinloch
d2c40b48ab
(Wayland) Mouse grab cleanup ( #15114 )
2023-03-21 14:36:24 +01:00
Manuel Alfayate Corchete
aaa53da148
[Wayland] Add mouse grab/lock functionality. ( #15103 )
...
* [Wayland] Add mouse grab functionality.
Co-authored-by: Colin Kinloch <colin@kinlo.ch>
2023-03-20 11:30:04 +01:00
Colin Kinloch
e31b7fe6c2
(Wayland) Fix resize check ( #15065 )
...
* (Wayland) Fix resize check
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
* (Wayland/GL) Correct scaling on resize
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
* (Wayland) Fix fullscreen buffers being initially double scaled
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
---------
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-08 20:08:31 +01:00
libretroadmin
52a800a520
(Wayland input) Cleanups
2023-02-20 10:26:14 +01:00
libretroadmin
5ae2b9f753
(UWP) Cleanups/style nits
...
(Joypad drivers) Cleanup/slim down axis code
2023-02-19 19:32:05 +01:00
libretroadmin
96d39a78cc
(Wayland) Silence implicit declaration warnings
2023-02-19 12:29:07 +01:00
libretroadmin
1d9cb216ca
Silence some warnings/LTO issues
2023-02-19 10:21:37 +01:00
libretroadmin
6a098d37ac
Use HAVE_DYLIB instead of HAVE_DYNAMIC when loading shared libraries
2022-11-21 05:37:35 +01:00
LibretroAdmin
fc78f96a3a
(X11) Turn boolean variables into flags
2022-10-26 19:30:36 +02:00
LibretroAdmin
5ad204bea5
(Wayland) Turn more functions static
2022-10-03 03:38:56 +02:00
LibretroAdmin
91f4892cbe
(wayland) Cleanups; turn functions static and other nits
2022-10-03 03:36:12 +02:00
LibretroAdmin
ace21d28f7
Fix C++ comments
2022-10-01 17:56:16 +02:00
Colin Kinloch
60fab1c4a1
(Wayland) Create wl_data_device only when wl_seat and wl_data_device_manager exist
2022-03-23 06:52:16 +01:00
Colin Kinloch
d95bc2dd54
(Wayland) Dynamically load libdecor at runtime
2022-03-22 06:58:41 +01:00
Colin Kinloch
47c850c7fd
(Wayland) Dedupe VK/GL code
2022-03-21 07:50:34 +01:00
Colin Kinloch
82c69995f0
(Wayland) SHM anti-collision for the splash screen
2022-03-20 18:31:30 +01:00
Colin Kinloch
065fb5acee
(Wayland) Skip splash screen if window is not ready
2022-03-18 16:29:49 +01:00
Colin Kinloch
86ca2006ea
(Wayland) Fallback to shm_open when memfd_create fails ( #13740 )
2022-03-14 19:20:29 +01:00
Colin Kinloch
3b08d63b23
(Wayland) Initial drag and drop (wl_data_offer) support ( #13515 )
2022-03-09 16:34:47 +01:00
Colin Kinloch
6dec52fda7
(Wayland) Fix wayland vulkan not reacting to initial resize ( #13640 )
...
(Wayland) Correct log stamps for GL or Vulkan
(Wayland) Fix style issues and sync formatting on identical code in GL and Vulkan
2022-02-22 08:58:46 +01:00
Colin Kinloch
b2527b43e8
(Wayland) Show window early to get screen info ( #13591 )
...
* (Wayland) Show window early to get screen info
* Report current monitor size on initial get_video_size call
* Fullscreen to monitor selected in settings
* Fullscreen on current monitor when setting is set to automatic
* Fallback to shm_open when memfd_create is not supported
2022-02-18 19:59:41 +01:00
Autechre
b45a192416
Revert "(Wayland) Show window early to get screen info ( #13582 )" ( #13590 )
...
This reverts commit 4bb2c14293e7d0822c9ee8aa29efa6560374dc75.
2022-02-01 12:47:53 +01:00
Colin Kinloch
4bb2c14293
(Wayland) Show window early to get screen info ( #13582 )
...
* Report current monitor size on initial get_video_size call
* Fullscreen to monitor selected in settings
* Fullscreen on current monitor when setting is set to automatic
2022-02-01 10:30:34 +01:00
Colin Kinloch
a431760829
(Wayland) Release keys and mouse buttons on lost focus ( #13567 )
2022-01-29 19:57:06 +01:00
Aleksey Samoilov
f17deb90c7
[Wayland] Fix toplevel close ( #13415 )
2021-12-25 11:19:27 +01:00
Colin Kinloch
0168fe0303
(Wayland) Ignore mouse clicks on window decoration ( #13412 )
2021-12-25 04:08:22 +01:00
Colin Kinloch
f0392474f2
(Wayland) Add libdecor for client side decoration ( #13397 )
2021-12-24 14:20:45 +01:00
Colin Kinloch
c48d533950
(Wayland) Add scroll wheel support ( #13398 )
2021-12-24 03:42:33 +01:00