Merge pull request #2717 from ianyfan/tablet-config

input config: merge left_handed option
This commit is contained in:
Drew DeVault 2018-09-27 04:17:53 -05:00 committed by GitHub
commit 58af001517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ void merge_input_config(struct input_config *dst, struct input_config *src) {
if (src->dwt != INT_MIN) {
dst->dwt = src->dwt;
}
if (src->left_handed != INT_MIN) {
dst->left_handed = src->left_handed;
}
if (src->middle_emulation != INT_MIN) {
dst->middle_emulation = src->middle_emulation;
}