Comments (4)
also pressing "A/X (in terms of Sony)" even when bound to "shoot" doesn't seem to work on the PDA, so I see that the PDA's UI and the Main menu's UI are input interactions are heavily hardcoded.
from dhewm3.
XBox A/Sony cross is hardcoded to emit a left mouse button event when a UI is focussed or the PDA is opened - no matter what it's bound to.
This is hacky, but there's nothing I can do about it, ingame UIs and especially the PDA are implemented in a real weird way, in the game code. The gamecode actually emulates a mouse there from input that's usually used for camera movement and shooting..
(this is also why the scroll wheel works in the main menu to scroll in menus, but not in the PDA)
The only reason I can imagine why it doesn't work for you in the PDA is that binding the gamepad buttons removed the left mouse button bind for fire.
I don't think having group binds is feasible.
Having more than two binds per command is possible, just not through the settings UI.
You can add additional binds through console commands or by editing the config.
But probably you don't really need more than two binds, for example for firing left mouse button and right trigger should suffice, because of the hardcoded logic for A/cross when a UI is focused.
from dhewm3.
Could it be possible to implement a way to identify what button is getting pressed? like a command via cvar "in_showInputPressed" 1/0, if on then any key or button pressed (mouse, keyboard, gamepad) identifies by name,
by the likes of: "\t'MOUSE3' has been pressed.\n"
so console binding is quite easier to use because the actual buttons are identified more easily.
from dhewm3.
added a pull request with a helper function like the one I proposed: #567
from dhewm3.
Related Issues (20)
- Framerate Capping - Feature Request
- Vulkan support HOT 3
- map_erebus1 not found when start new game for expansion HOT 4
- Certain maps wont load HOT 2
- Grimm mod problem HOT 2
- very low FPS HOT 1
- Question about modding health stations HOT 1
- dhewm3 support on openSUSE Tumbleweed RISCV64 HOT 3
- Flashlight stops working HOT 2
- [Warning] Area 51 (2005)
- [gamepad] inconsistent use of the gamepad buttons HOT 1
- Gamepad mouse emulation focus issue HOT 4
- Error while compiling for PowerPC in OSX HOT 19
- weird error loading the game lib HOT 2
- [Feature Request] Drag and drop mod folders onto exe to launch them
- shadow is broken HOT 6
- Freeze on Mac OS X 10.5 PowerPC HOT 3
- Blue flickering specks in main menu (on Linux with recent AMD iGPU) HOT 7
- Echo of the of SSG shot became much quieter. HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhewm3.