#ifndef TPRINTF_H #define TPRINTF_H #include "built_in.h" #include "colors.h" extern void tprintf_init(void); extern void tprintf(char *msg, ...) __check_format_printf(1, 2); extern void tprintf_flush(void); extern void tprintf_cleanup(void); extern void tputchar_safe(int c); extern void tputs_safe(const char *str, size_t len); #define DEFAULT_TTY_SIZE 80 #endif /* TPRINTF_H */ it://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wood <gitsend@mungewell.org>2016-09-18 10:55:39 -0600
committerJiri Kosina <jkosina@suse.cz>2016-09-26 15:39:55 +0200
commitb456634b8d08b184a437bba55ac0efe7ef02d3b3 (patch)
tree1fc15dce948a896775f436c2679803fd6f5398cf
parentc832f86effbcf8833fc2c842aa501ce1eb4d0478 (diff)
HID: hid-logitech: Compute combined pedals value
Add support for computing a combined accelerator/brake axis for wheels which don't contain combined data in their HID stream. This includes DFGT, G25, G27, G29 and Wii-Wheel. Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-lg4ff.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c