58 Commits
Author SHA1 Message Date
Jean-André Santoni a6b0eb06c0 GLFW 3.4 (#574)
* GLFW 3.4

* Specify the tag for the x11 vet

* Temporary fix
2026-04-10 22:43:31 +02:00
Jean-André Santoni d3a0b57176 Bump dependencies (#570)
* Bump dependencies

* Run on macos-26

* Fix go vet

* Also disambiguate Print

* Return when core is nil

* Fix CD too

* Provide the test core for arm64 too

* Update the test
2026-04-10 17:42:23 +02:00
Jean-André Santoni 2061759bce Update joypad mappings again 2025-03-16 17:10:29 +01:00
Jean-André Santoni d01f19f69f Fix naive joypad detection 2025-03-16 16:03:31 +01:00
Jean-André Santoni fcfb74d710 Bump SDL joypad mappings (#549) 2025-01-14 12:54:49 +01:00
Dhemas Nurjaya 2c9a4fdc36 Update mappings.go (#545) 2024-12-08 17:11:06 +01:00
Jean-André Santoni 819878fdbb Revert "Lutro compat"
This reverts commit 0fa704c79e.
2022-10-07 08:43:59 +02:00
Jean-André Santoni 0fa704c79e Lutro compat 2022-10-07 08:38:36 +02:00
Jean-André Santoni 3fd4dbd740 Update mappings 2022-10-01 18:11:57 +02:00
Jean-André Santoni 038765b2b0 Mouse support (#469) 2021-10-25 10:20:15 +07:00
Jean-André Santoni ba35d639d8 Update controller mappings 2021-08-15 15:14:13 +07:00
Jean-André Santoni 99106fc31b Simplify input api 2021-07-18 11:54:58 +07:00
Jean-André Santoni 57492396d3 Ignore unmapped pads (#451) 2021-07-18 11:19:01 +07:00
Jean-André Santoni ba1b6e4fa1 Use GLFW pad bindings (#450)
* Unhardcode some input vars

* Use GLFW pad mappings

* Remove unused types

* Clean
2021-07-17 21:26:02 +07:00
Jean-André Santoni 93ac179b95 Fix dualshock 4 bluetooth on linux 2021-05-29 16:23:40 +07:00
Jean-André Santoni ba01d3a01d Remove fullscreen toggle pad binding on windows too 2021-05-28 18:42:10 +07:00
Jean-André Santoni e4af39f0ec Remove full screen toggle on pad 2021-05-28 09:13:06 +07:00
Jean-André Santoni c42c649a27 Fix Dualshock 4 bt on OSX 2021-05-27 23:35:38 +07:00
Jean-André Santoni 76399d4e25 N64 on Windows (#424)
* N64 on Windows

* Fix
2021-05-23 17:49:15 +07:00
dashodanger 78b4e22d78 Prevent out of range access error in input.go (#420) 2021-05-20 18:40:57 +07:00
Jean-André Santoni d201e5321d Support analog inputs (#416) 2021-05-14 18:34:17 +07:00
Aslak Grinsted 5ddf78c7a8 Add Wireless Xbox Controller (#318)
My SN30 says it is a "Wireless Xbox Controller".
2021-04-06 10:59:32 +07:00
Jean-André Santoni 228c4769e9 Fix linter 2021-01-10 11:19:40 +07:00
Jean-André Santoni 53e18d0815 Prevent index out of bounds in input code 2020-12-05 22:50:12 +07:00
Jean-André Santoni dd6a819f5a Map axis fixes 2020-12-05 19:33:15 +07:00
Jean-André SantoniandAleksei Panfilov b1fbebb6e0 Joy to dpad generic (#377)
* Add Map Sticks To DPad option.

* Mapping axis to dpad logic for dualshock3, 4.

* Fix golint issue.

Co-authored-by: Aleksei Panfilov <[email protected]>
2020-12-05 19:27:42 +07:00
Jean-André Santoni 65cce3c7bf Enable more controllers 2020-12-05 16:59:24 +07:00
Jean-André Santoni 3cf74d87b9 Fix DS4 wired mapping on Windows 2020-09-06 13:46:29 +07:00
Jean-André Santoni d24179dc28 Remove some useless code (#334) 2020-08-02 19:46:42 +07:00
Jean-André Santoni 5faca1d591 SFC30 and SNES30 joypad bindings (#289) 2019-11-24 13:45:08 +07:00
Jean-André Santoni 0a7875a400 Check if joystick has an auto config 2019-11-22 08:43:29 +07:00
Jean-André Santoni 07c4ba4ad6 8BitDo NES30 Pro support for Windows 2019-10-23 22:07:22 +07:00
Jean-André Santoni b5d11b442f Update joypad bindings for OSX 2019-10-23 21:51:33 +07:00
Jean-André Santoni 6733575031 Fix Linux joypad bindings after GLFW 3.3 2019-10-23 21:22:42 +07:00
Jean-André Santoni f8c7d8fd98 Update GLFW to 3.3. Closes #44 (#186) 2019-10-06 13:11:07 +07:00
Jean-André Santoni 044783b098 Fast forward toggle (#235)
* Fast forward toggle

* Reset fast forward in more scenarii
2019-08-31 21:31:49 +02:00
Jean-André Santoni 22d418f241 Ask user's confirmation before exiting. Closes #202 (#205) 2019-06-16 22:43:07 +07:00
Jean-André Santoni 0dde3f2dd7 Log more errors 2019-06-09 11:00:36 +07:00
Rob Loach 1db919b76b Add retro_set_controller_port_device() (#129)
* Add retro_set_controller_port_device()

* Fix callback

* Fix fceumm crashing

* Use libretro.h const

* Set device for all players
2019-01-29 18:28:27 +07:00
Jean-André Santoni 6282d8a613 Colored notifications (#124)
* Colored notifications

* Fix tests

* Severity enum

* Make notifications unique by ID

* Fix tests

* Test Update
2019-01-25 13:36:45 +07:00
Jean-André Santoni bdc2e8e9e4 8BITDO NES30 PRO Linux bindings 2019-01-19 13:38:55 +07:00
Jean-André Santoni 52e295699c Shanwan DS3 binding for Linux 2019-01-19 13:18:16 +07:00
Jean-André Santoni 8752921579 DS3 bindings for Linux 2019-01-19 13:14:58 +07:00
Jean-André Santoni 75f4753b22 Another DS4 Linux binding 2019-01-19 13:03:02 +07:00
Jean-André Santoni 46b5996b70 DS4 binding for Linux 2019-01-19 13:00:17 +07:00
Jean-André Santoni c3e8ed35ca XBox One S pad bindings for Linux 2019-01-19 12:40:38 +07:00
Jean-André Santoni 300c86cdcf Directory settings (#106)
* Allow setting the core directory

* Save abs paths

* Use core directory settings in CoreForPlaylist

* Slurp was in the standard lib

* Better way to set default settings

* Notify when dir is set

* Savestates dir

* Move mkdir

* More directories

* More directories

* Fix savestates

* Create some directories if they don't exist

* Create some directories if they don't exist

* Thumbnails dir
2019-01-01 14:06:48 +07:00
Jean-André Santoni 6575e125e6 Input code cleaning. Bind L and R on keyboard 2018-12-09 11:39:09 +07:00
Jean-André Santoni 80664be1d6 Dualshock 3 bindings for OSX 2018-11-04 23:43:14 +07:00
Jean-André Santoni 22c498f889 Controllers bindings for windows (#86)
* Xbox One and 360 controllers for windows

* DS4 bindings

* Code cleaning
2018-11-04 23:27:24 +07:00