mirror of https://github.com/bsnes-emu/bsnes.git
Revert an accidental ruby change.
I made a change to ruby/input/joypad/udev.cpp while diagnosing a problem
with higan's rumble behaviour on Linux, and accidentally committed it
in 15b3dc8b0b
as part of a documentation
change.
This commit is contained in:
parent
56293c585b
commit
d060904b8d
|
@ -98,7 +98,6 @@ struct InputJoypadUdev {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto rumble(uint64_t id, bool enable) -> bool {
|
auto rumble(uint64_t id, bool enable) -> bool {
|
||||||
print("Joypad ", id, " rumble: ", enable, "\n");
|
|
||||||
for(auto& jp : joypads) {
|
for(auto& jp : joypads) {
|
||||||
if(jp.hid->id() != id) continue;
|
if(jp.hid->id() != id) continue;
|
||||||
if(!jp.hid->rumble()) continue;
|
if(!jp.hid->rumble()) continue;
|
||||||
|
|
Loading…
Reference in New Issue