public class SmartiesDevice extends Object
Modifier and Type | Method and Description |
---|---|
void |
connect() |
String |
getIP()
Return the IP address of the device
|
String |
getMacAddress()
Return the MAC address of the device.
|
int |
getSelectedPuckID()
Return the identifier of the selected
SmartiesPuck for this device
(-1 if there is no selected SmartiesPuck for this device). |
int |
getTouchpadHeight()
Return the height of the touchpad area
|
int |
getTouchpadWidth()
Return the width of the touchpad area
|
int |
getWidgetsAreaHeight()
Return the height of the widget area
|
int |
getWidgetsAreaWidth()
Return the width of the widget area
|
float |
getXPixelsByMM()
Return the number of pixels by mm in the x coordinate
|
float |
getYPixelsByMM()
Return the number of pixels by mm in the y coordinate
|
void |
reconnect(int proto) |
public String getIP()
public String getMacAddress()
public int getSelectedPuckID()
SmartiesPuck
for this device
(-1 if there is no selected SmartiesPuck
for this device).public int getWidgetsAreaWidth()
public int getWidgetsAreaHeight()
public int getTouchpadWidth()
public int getTouchpadHeight()
public float getXPixelsByMM()
public float getYPixelsByMM()
public void reconnect(int proto)
public void connect()
Copyright © 2017. All rights reserved.