this might work better...
This commit is contained in:
parent
9397aa2348
commit
96b47c6e49
1 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ static rc71l_xbox360_user_data_t controller_user_data = {
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.replay = {
|
.replay = {
|
||||||
.delay = 0x00,
|
.delay = 0x00,
|
||||||
.length = 1000
|
.length = 500
|
||||||
},
|
},
|
||||||
.u = {
|
.u = {
|
||||||
.rumble = {
|
.rumble = {
|
||||||
|
|
@ -982,7 +982,7 @@ static void rc71l_timer_xbox360(
|
||||||
|
|
||||||
xbox360_data->timeout_after_mode_switch++;
|
xbox360_data->timeout_after_mode_switch++;
|
||||||
|
|
||||||
if (xbox360_data->timeout_after_mode_switch >= 4) {
|
if (xbox360_data->timeout_after_mode_switch >= 10) {
|
||||||
xbox360_data->mode_switch_rumbling = false;
|
xbox360_data->mode_switch_rumbling = false;
|
||||||
|
|
||||||
if (xbox360_data->mode_switch_rumble_effect.id != -1) {
|
if (xbox360_data->mode_switch_rumble_effect.id != -1) {
|
||||||
|
|
@ -1141,7 +1141,7 @@ input_dev_t timer_dev = {
|
||||||
.filters = {
|
.filters = {
|
||||||
.timer = {
|
.timer = {
|
||||||
.name = "RC71L_timer",
|
.name = "RC71L_timer",
|
||||||
.ticktime_ms = 150,
|
.ticktime_ms = 60,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.user_data = NULL,
|
.user_data = NULL,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue