Skip to content

Commit

Permalink
Fixed interpreting transducer type data
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Feb 22, 2020
1 parent ce9b580 commit 623942d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
VoodooInput Changelog
=====================

#### v1.0.3
- Fixed interpreting transducer type data

#### v1.0.2
- Minor deployment fixes
- Resolved loading issues on some configurations (thx @Sniki)
Expand Down
6 changes: 3 additions & 3 deletions VoodooInput.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
7BBAB1F022E3A2F800B2941A /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1120;
LastUpgradeCheck = 1130;
ORGANIZATIONNAME = "Kishor Prins";
TargetAttributes = {
7BBAB1F822E3A2F800B2941A = {
Expand Down Expand Up @@ -380,7 +380,7 @@
"$(PROJECT_DIR)/VoodooInput/Library",
);
MODULE_NAME = me.kishorprins.VoodooInput;
MODULE_VERSION = 1.0.2;
MODULE_VERSION = 1.0.3;
PRODUCT_BUNDLE_IDENTIFIER = me.kishorprins.VoodooInput;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = kext;
Expand All @@ -399,7 +399,7 @@
"$(PROJECT_DIR)/VoodooInput/Library",
);
MODULE_NAME = me.kishorprins.VoodooInput;
MODULE_VERSION = 1.0.2;
MODULE_VERSION = 1.0.3;
PRODUCT_BUNDLE_IDENTIFIER = me.kishorprins.VoodooInput;
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = kext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ void VoodooInputSimulatorDevice::constructReportGated(const VoodooInputEvent& mu

const VoodooInputTransducer* transducer = &multitouch_event.transducers[0];

if (!transducer)
return;

if (transducer->type == VoodooInputTransducerType::STYLUS)
if (transducer->isValid && transducer->type == VoodooInputTransducerType::STYLUS)
stylus_check = 1;

// physical button
Expand Down

0 comments on commit 623942d

Please sign in to comment.