diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-03-24 20:43:42 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-03-24 20:54:28 +0200 |
| commit | 2814c3eb42a0ed97d40a42aaefa1bfcd79781bdc (patch) | |
| tree | fcb985d45828430dbc66d8ba60df0afd02cf01a4 /hid-tmff2.h | |
| parent | 51623455c8136f40f47ad98a0532ea70dd1c99e4 (diff) | |
| download | hid-tmff2-2814c3eb42a0ed97d40a42aaefa1bfcd79781bdc.tar.gz hid-tmff2-2814c3eb42a0ed97d40a42aaefa1bfcd79781bdc.zip | |
add master gain
Diffstat (limited to 'hid-tmff2.h')
| -rw-r--r-- | hid-tmff2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hid-tmff2.h b/hid-tmff2.h index 390bd94..765f071 100644 --- a/hid-tmff2.h +++ b/hid-tmff2.h @@ -11,6 +11,7 @@ extern int spring_level; extern int damper_level; extern int friction_level; extern int range; +extern int gain; extern int alt_mode; #define USB_VENDOR_ID_THRUSTMASTER 0x044f @@ -34,6 +35,7 @@ extern int alt_mode; #define PARAM_FRICTION_LEVEL (1 << 2) #define PARAM_RANGE (1 << 3) #define PARAM_ALT_MODE (1 << 4) +#define PARAM_GAIN (1 << 5) #undef fixp_sin16 #define fixp_sin16(v) (((v % 360) > 180) ?\ |
