yahoo! open hack day 3
TRANSCRIPT
-
1 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
Bamboo Stylus fineline
( )
Technology Marketing Gr.
-
2 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
OK
Hack it!!
-
3 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-
4 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
l
l Bamboo Stylus fineline
l l iPad
l l 1.9mml 1024l l l 2
http://www.wacom.com/ja-jp/products/stylus/bamboo-stylus-fineline
-
5 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
Event :
Bluetooth :
Wacom Stylus SDK WILLSDK
-
6 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
Bluetooth 4.0 LE
Vender ID : 0x56A () Product ID : 0x0328
- (SDK)
-
7 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
WACOM STYLUS SDK
-
8 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-
9 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
deviceDiscoverd
deviceConnected
deviceDisconnected
registerForNotifications
startDeviceDiscovery
selectDevice
stopDeviceDiscovery
deselectDevice
WacomDiscoveryCallback
WacomManager
-
10 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
Bluetooth
0~-100-100 -6028
[[WacomManager getManager] setMinimumSignalStrength:-60];
-
11 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-
12 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
()
SDK
() !
[[TouchManager GetTouchManager] setHandedness:eh_Right];!
!
[[TouchManager GetTouchManager] setHandedness:eh_Left];!
-
13 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
stylusEvent
-(void)stylusEvent:(WacomStylusEvent *)stylusEvent!{ !
switch ([stylusEvent getType]) !{ !
/// !case eStylusEventType_PressureChange: !
mPressure = [stylusEvent getPressure]; !break; !
/// !} !
}
-
14 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
TrackedTouches
[TouchManager GetTouchManager] !.touchRejectionEnabled = YES;
touchBegan
touchBegan Point
-
15 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-(void)stylusEvent:(WacomStylusEvent *)stylusEvent!{ !
switch ([stylusEvent getType]) !{ !
/// !case eStylusEventType_ButtonPressed: !
buttonId = [stylusEvent getButton]; !/// !break; !
case eStylusEventType_ButtonReleased: !buttonId = [stylusEvent getButton]; !/// !break; !
/// !} !
}
-
16 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-(void)stylusEvent:(WacomStylusEvent *)stylusEvent!{ !
switch ([stylusEvent getType]) !{ !
/// !case eStylusEventType_BatteryLevelChanged: !
butteryLevel = [stylusEvent getBatteryLevel]; !break; !
/// !} !
}
-
17 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
ID ID
Bluetooth MAC ID
-(void)stylusEvent:(WacomStylusEvent *)stylusEvent!{ !
switch ([stylusEvent getType]) !{ !
/// !case eStylusEventType_MACAddressAvaiable: !
penID = [stylusEvent getMACAddress]; !break; !
/// !} !
}
-
18 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-
19 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
Wacom Stylus SDK Bluetooth
Stylus Bluetooth
ID
-
20 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
-
21 All Rights Reserved. Copyright 2015 Wacom Co., Ltd..
Hackathon
()
SDK http://us.wacom.com/en/developerrelations/ios/
Hack it!!