Properly use max_effects

This commit is contained in:
Ingo Ruhnke 2009-01-24 18:48:17 +01:00
parent 1b5f64654e
commit 71b0192eba
3 changed files with 9 additions and 1 deletions

6
NEWS
View file

@ -1,3 +1,9 @@
xboxdrv 0.4.5 - (??/Jan/2009)
=============================
* fixed mixup between strong and weak rumble
xboxdrv 0.4.4 - (24/Jan/2009)
=============================

2
TODO
View file

@ -14,6 +14,8 @@ git push --tags
Stuff to do before 0.5 release:
===============================
* test TR:Anniversary with max effect 16
* create dummy joystick, mouse and keyboard buttons so that the
devices always act as they should, also figure out the exakt minimum
requirements for each device.

View file

@ -182,7 +182,7 @@ LinuxUinput::finish()
user_dev.id.product = product;
if (ff_bit)
user_dev.ff_effects_max = 64;
user_dev.ff_effects_max = ff_handler->get_max_effects();
//std::cout << "Finalizing uinput: '" << user_dev.name << "'" << std::endl;