Skip to content

Commit 5c8c751

Browse files
author
Mathieu Laurendeau
committed
Allow inversion of FFB direction #455
1 parent 216865e commit 5c8c751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/haptic/ff_conv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ void ff_conv_process_report(int device, const unsigned char data[FF_LG_OUTPUT_RE
322322
break;
323323
}
324324
} else {
325-
unsigned short range = 0;
325+
unsigned short range = 0;
326326
switch(data[1]) {
327327
case FF_LG_EXT_CMD_WHEEL_RANGE_200_DEGREES:
328328
range = 200;
@@ -395,7 +395,7 @@ int ff_conv_set_tweaks(int device, int invert) {
395395

396396
CHECK_DEVICE(device, -1)
397397

398-
dprintf("FFB invert: %s\n", invert ? "yes" : "no");
398+
ncprintf("FFB invert: %s\n", invert ? "yes" : "no");
399399

400400
ff_lg_device[device].invert = invert;
401401

0 commit comments

Comments
 (0)