Commit Graph
66 Commits
Author SHA1 Message Date
fgsfds be4d8330bd port: add settings for HIDAPI and raw input 2025-03-29 12:29:14 +01:00
AL2009man c44704e2af added SDL Hint for Wii Controllers 2025-03-27 01:55:25 -04:00
AL2009man 1a5e42e55f changed note 2025-03-27 01:49:28 -04:00
AL2009man a26260e932 added SDL Hints field
For some reason: this sourceport isn't using SDL Hints. this is very crucial inorder to implement features sets like Gyro Aiming. Thus: most of the important hints will be forcefully enabled while improving Contorller compatibility when using RawInput
2025-03-27 01:47:49 -04:00
fgsfds 9cff3591dd port: add an option to make opposite c-buttons cancel each other
for #581
2025-02-22 10:49:48 +01:00
fgsfds 9a462d3ca8 port: log controller GUID to aid in binding generation 2025-01-25 11:55:50 +01:00
fgsfds 5084b4be39 port: simplify the keyboard input a bit and match it to port-net's
backspace key now repeats properly

TYPE WITH KEYBOARD changes into a tooltip when typing

players with controllers are allowed to type, because that seems more convenient

players 2, 3 and 4 are allowed to type too if they hit the button, but only one player can have keyboard focus at a time
2025-01-05 15:27:45 +01:00
Matthew Coppola da07772b1c Allow typing with keyboard in menuitemKeyboard 2024-12-17 05:47:43 -05:00
fgsfds a1ca69d9ee port: fix issues mentioned in #530 and #532 2024-12-04 16:27:53 +01:00
fgsfds d2d35263a4 port: sanitize controller names
because apparently some of them can't fucking resist putting a funny R or TM in there
2024-11-20 13:00:41 +01:00
fgsfds 07e6fdc1e0 port: add mouse lock mode option 2024-05-31 10:54:33 +02:00
fgsfds dce96a4a3d port: add separate extra buttons for accept/cancel 2024-05-18 19:32:34 +02:00
fgsfds a83e0aa407 port: add mouse control to menus; mouse now unlocks when you pause 2024-05-14 20:28:59 +02:00
fgsfds 9cde121b52 port: don't call rumble function if rumble strength is 0 2024-01-15 12:58:00 +01:00
fgsfds d1be171939 port: only use SDL_CONTROLLER_TYPE_VIRTUAL when available 2023-12-04 18:22:37 +01:00
fgsfds e0249067b9 port: reset the controller LEDs on unassign 2023-11-27 01:26:45 +01:00
fgsfds 31ad9351f5 port: load gamecontrollerdb if available 2023-11-27 01:20:09 +01:00
fgsfds 116dc7e8b6 port: allow assigning controllers manually 2023-11-27 00:57:52 +01:00
fgsfds 5d7b7adb57 port: expose FirstGamepadNum as checkbox in ext options menu 2023-11-26 19:26:07 +01:00
fgsfds 94e8e1b5e7 port: don't nuke all binds when resetting one player 2023-11-26 19:05:13 +01:00
fgsfds d3a2ed216a port: add a second set of default bindings for N64 controls 2023-11-26 18:40:06 +01:00
fgsfds d75adeb0c8 port: per-player settings
NOTE: this will reset big parts of your config
2023-11-04 02:08:45 +01:00
fgsfds fbae610a3b port: rework config system a bit 2023-11-04 02:08:44 +01:00
fgsfds c040c17b49 port: fix whitespace 2023-11-01 16:35:48 +01:00
SilentException 83d22c3b70 Allow mouse input by default 2023-11-01 04:23:34 +01:00
fgsfds c8db5fa106 port: add keybind menu 2023-10-28 18:17:35 +02:00
fgsfds cea9527936 port: add controller axis settings
also make sliders look nicer and save some input settings on quit
2023-10-28 14:36:00 +02:00
fgsfds 015817f204 port: add extended options menu
as well as support for string literals in the menu system
2023-10-28 05:33:09 +02:00
fgsfds be689a0495 port: add forgotten DPAD_RIGHT setting 2023-10-22 15:29:36 +02:00
fgsfds f638d49693 port: fit the CK_ enum back into 32 bits 2023-10-22 14:45:58 +02:00
fgsfds d1817aaea6 port: cleanup; camspy and slayer respect invert pitch option
note: dual analog mode now only works if you set StickCButtons=0 in pd.ini
2023-10-22 14:38:44 +02:00
Catherine Reprobate 80d787caf9 Support for two-sticks, one controller
port: implements analog movement for pc controllers

port: Implement menu movement with the C stick

port: Implement analog leaning

port: Implement 1.2 + 1 analog zooming

port: pd input lib now handles 32 buttons

port: modern crouch implementation

port: implement analog slayer airbraking

port: xbla farsight strafing

Map crouch buttons

- map cycle crouch to L3
- sensible 1964-style crouch bindings
2023-10-17 18:28:18 -07:00
fgsfds 63b38e48ba port: actually use RumbleScale 2023-10-03 11:03:27 +02:00
fgsfds 9a7e9c9ee3 port: small fixes for previous commit 2023-09-30 14:05:53 +02:00
Catherine Reprobate 940ba8c4c0 fixup: Use the float abs function 2023-09-29 17:29:08 -07:00
Catherine Reprobate b0c6e79329 hack: cp inputMouseGetScaledDeltaAbsSens for ammenu 2023-09-28 23:00:07 -07:00
Catherine Reprobate 0d6a62ada0 Use XBox / PC Menu A/B semantics
Fixes #110
2023-09-02 13:28:21 -07:00
fgsfds b6a3aef345 port: add logging and some command line args
--log: logs messages to pd.log

--boot-stage N: sets initial stage number to N (MP stages will crash or hang if booted like this)

--no-sound: disable sound

--rom-file S: set ROM filename
2023-08-31 12:54:18 +02:00
fgsfds af1422a1de port: move CrosshairSway and FovY to the [Game] ini section
fov doesn't really belong in the video functions either
2023-08-30 12:31:27 +02:00
squiddingme 3f562c3009 Add config option to control crosshair/gun sway 2023-08-28 02:40:50 +08:00
fgsfds 89849bc805 port: read keybinds from config file 2023-08-27 17:26:57 +02:00
Catherine Reprobate 10844e7a52 fixup controller use buttons 2023-08-26 16:14:43 -07:00
Catherine Reprobate 077a091f7d fixup camspy bindings 2023-08-26 16:14:43 -07:00
Catherine Reprobate f88493870a Address multiple extended input nits
- Q for radial menu
- mapped remaining xbla buttons, but the menus follow switch controller handfeel
- based on @Phnod's switch-weapons PR: https://github.com/fgsfdsfgs/perfect_dark/pull/57
2023-08-26 16:14:43 -07:00
Catherine Reprobate 3f6f0b3f9c map sensible xbox inputs
xbox A is mapped to n64 B for using items
n64 A is unmapped for controller.

When radial / weapon switching is mapped way from n64 A n64 A can be
remapped as a cancel button .
Trigger will need to be used for the menus until
2023-08-26 16:14:43 -07:00
Phnod 5a0580005f Added scrollwheel weapon swapping 2023-08-26 16:14:43 -07:00
fgsfds 2670db7ca1 port: add rstick fields to OSContPad 2023-08-21 00:29:51 +02:00
fgsfds 2b6b205a78 port: min supported SDL version should now be 2.0.12 2023-08-20 21:25:06 +02:00
fgsfds bd5d613a24 port: whitespace cleanup 2023-08-20 15:42:40 +02:00
fgsfds d007550adb Merge branch 'port' into port 2023-08-20 15:30:19 +02:00