mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-10-07 02:41:38 +02:00
Update to v094r42 release.
byuu says: I imagine you guys will like this WIP very much. Changelog: - ListView check boxes on Windows - ListView removal of columns on reset (changing input dropdowns) - DirectSound audio duplication on latency change - DirectSound crash on 20ms latency - Fullscreen window sizing in multi-monitor setups - Allow joypad bindings of hotkeys - Allow triggers to be mapped (Xbox 360 / XInput / Windows only) - Support joypad rumble for Game Boy Player - Video scale settings modified from {1x,2x,3x} to {2x,3x,4x} - System menu now renames to active emulation core - Added fast forward hotkey Not changing for v095: - not adding input focus settings yet - not adding shaders yet Not changing at all: - not implementing maximize
This commit is contained in:
@@ -146,6 +146,11 @@ auto Program::inputPoll(unsigned port, unsigned device, unsigned input) -> int16
|
||||
}
|
||||
|
||||
auto Program::inputRumble(unsigned port, unsigned device, unsigned input, bool enable) -> void {
|
||||
if(presentation->focused() || !enable) {
|
||||
auto guid = emulator->port[port].device[device].input[input].guid;
|
||||
auto mapping = (InputMapping*)guid;
|
||||
if(mapping) return mapping->rumble(enable);
|
||||
}
|
||||
}
|
||||
|
||||
auto Program::dipSettings(const Markup::Node& node) -> unsigned {
|
||||
|
Reference in New Issue
Block a user