Commit Graph
204 Commits
Author SHA1 Message Date
AL2009man f251653317 Vertical camera angle wrapping fix
Solves a issue when using Input Remapper's Mouse-based Reset to Horizon camera function (e.g. Steam Input), where the recenter couldn't stay centered.
2026-01-31 23:38:58 -05:00
AL2009man 2d0375da2e fixed Crosshair Swivel conflicting when using Mixed Input
Addresses the issue with Crosshair Swivel conflciting with each other when using both Mouse and Camera at the same time.
2025-12-04 14:55:31 -05:00
Al. Lopez 09df313d09 remove gyro leftover text 2025-06-27 21:24:25 -04:00
AL2009man 01b78105ff added Crosshair Edge Boundary Box 2025-06-27 21:18:52 -04:00
AL2009man d8aefc33fc fixed Sniper Rilfle zoom when using FOV higher than 60%
Removing the scaling entirely beraks Sniper Rifle zoom. So: we're switching back to FOV Scaling, but now it'll be based on `PLAYER_DEFAULT_FOV` instead of `60.0f`. This now ensures tha
2025-05-16 19:26:46 -04:00
AL2009man cdd116830d fixed tmp spacing 2025-05-16 00:50:57 -04:00
AL2009man 11d02dd8f2 last attempt on whitespace fix 2025-05-16 00:46:08 -04:00
AL2009man 73631e8d5f attempted whitespace fix 1 2025-05-16 00:42:34 -04:00
AL2009man a1136f4d61 fixed Mouse Sensitivity affecting FOV Slider
Your mouse sens scale should now behave exactly the same, regardless of FOV Slider
2025-05-16 00:36:17 -04:00
fgsfds 8a3dd74d5c port: add option to reload with use key in extcontrols 2025-02-11 20:02:35 +01:00
fgsfds 23d5a5771a port: fix mouse X speed using wrong aspect in split screen 2024-12-20 13:38:19 +01:00
Matthew Coppola 615e9267d8 Make mouse aim speed resolution-independent 2024-12-10 17:36:57 -05:00
fgsfds b2338179d6 port: don't uncrouch in spaces where we don't fit when using extended controls 2024-11-23 12:14:03 +01:00
fgsfds 06dcbcc1b1 port: rename random to rngRandom to avoid conflicts with libc 2024-11-17 11:03:57 +01:00
fgsfds 130b286d0d port: avoid stack corruption in bmoveProcessInput 2024-11-14 23:00:30 +01:00
fgsfds a83e0aa407 port: add mouse control to menus; mouse now unlocks when you pause 2024-05-14 20:28:59 +02:00
fgsfds c6a36633f5 port: untie radial menu open delay from framerate 2023-11-26 20:43:31 +01:00
fgsfds 626b5937ce port: possibly fix reloading and some altmodes in N64 schemes 2023-11-26 20:32:46 +01:00
fgsfds 600dae58e2 port: allow using N64 control schemes
change from Ext to another control scheme to activate

note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
fgsfds e43d29f357 port: add hold crouch 2023-11-24 22:30:52 +01:00
fgsfds 4a16f27abd port: don't slow down the mouse at exactly 240 fps 2023-11-15 12:13:13 +01:00
fgsfds 11e318b70f port: mouselook speed now independent of framerate 2023-11-15 10:32:54 +01:00
Catherine Reprobate 0e043f24b5 Remote mine fixes
- N64 fix: fixes issue where selecting the remote mine from the active menu
  or the inventory menu when Jo already has a remote mine equipped
  causes the player to unequip the detonator

Confirmed this issue presents on ntsc-final on 1964GEPD.

- port fix: fixes issue with remote mine input handler where the
  previous active menu slotnum would be activeated. The slotnum is
  unconditionally set to 4 (the "resting no-op" slotnum) to prevent this
2023-11-06 22:09:48 -08:00
fgsfds d75adeb0c8 port: per-player settings
NOTE: this will reset big parts of your config
2023-11-04 02:08:45 +01:00
Catherine Reprobate 9b65199d3d fix: port: xbla-style quick detonate fix
- adds A + X to list of quick-detonate keybinds: correct xbla behavior for quick detonating per the xbox
implementation
2023-10-29 15:48:50 -07:00
Catherine Reprobate 0ea3bea096 port: put instant detonate flow in own function 2023-10-22 16:35:30 -07:00
Catherine Reprobate 05c108a950 fixup: quick detonate 2023-10-22 16:23:25 -07:00
fgsfds 6957c1540d port: fix digital grab movement 2023-10-22 18:49:48 +02:00
fgsfds 0b9f99a084 port: only allow crouch cycling when crouching is allowed 2023-10-22 15:22:01 +02:00
fgsfds 4c1076080d port: allow user to go back to the original crouch controls
set Game.ClassicCrouch=1
2023-10-22 15:17:47 +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
fgsfds e2b1cdce86 Merge pull request #196 from NeonNyan/1.2_analog
1.2 + 1 Analog Controls
2023-10-22 13:29:42 +02:00
fgsfds ba51e9d5d1 port: don't autoturn when looking too far to the side in horizon scanner mode 2023-10-18 16:17:26 +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 8a62b884cc port: make crosshair sway resolution independent
this might suck
2023-09-22 20:37:52 +02:00
fgsfds 6686221029 port: fix #169 2023-09-15 20:53:06 +02:00
fgsfds 78ff5683ce port: make the reverse pitch option affect mouselook 2023-09-14 20:41:19 +02:00
Phnod d033a7fa02 Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
# Conflicts:
#	src/include/data.h
2023-09-02 19:05:12 -04:00
fgsfds 56df5b4054 port: ignore invert pitch setting when mouse aiming 2023-09-01 23:08:52 +02:00
Phnod 5033c096a2 cleanup: move PLATFORM_N64 preprocessor checks for fov zoom into a separate macro to reduce clutter 2023-09-01 09:48:53 -04:00
Phnod 2a5160c519 cleanup: move repetitive zoom fov logic to single multiplier value 2023-08-31 20:39:30 -04:00
Phnod 349b502149 port: apply FovAffectsZoom to Farsight's secondary fire mode 2023-08-31 20:39:30 -04:00
fgsfds 24ced381de port: add separate mouse aim sensitivity
Game.MouseAimSpeedX and Game.MouseAimSpeedY
2023-08-31 01:21:33 +02:00
fgsfds 687682cab0 port: fix gamepad aiming with MOUSEAIM_CLASSIC
also uninvert Y when moving the camera with it
2023-08-30 16:10:42 +02:00
fgsfds c3b4d59168 port: add 1964GEPD-like mouse aim mode
you can switch to the old variant by setting Game.MouseAimMode to 1 in pd.ini
2023-08-30 15:28:33 +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
Catherine Reprobate 2a78f6902d handle b button differently if N64 platform 2023-08-26 17:56:36 -07:00
Catherine Reprobate 8ec0feb49b fix: grabbable 2023-08-26 17:16:41 -07:00
Catherine Reprobate df8c1139a1 fix: sniper crouching 2023-08-26 16:27:41 -07:00