| Copyright | (c) 2011-2016 Ian-Woo Kim |
|---|---|
| License | BSD3 |
| Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell98 |
Hoodle.Device
Description
Documentation
data PointerType Source #
Instances
Constructors
| PenButton1 | |
| PenButton2 | |
| PenButton3 | |
| EraserButton | |
| TouchButton |
data DeviceList Source #
Constructors
| DeviceList | |
Fields
| |
Instances
data PointerCoord Source #
Constructors
| PointerCoord | |
Fields
| |
| NoPointerCoord | |
Instances
initDevice :: Config -> IO DeviceList Source #
getPointer :: DeviceList -> EventM t (Maybe PenButton, Maybe PointerCoord) Source #
wacomCoordConvert :: WidgetClass self => self -> (Double, Double) -> IO (Double, Double) Source #
wacomPConvert :: WidgetClass self => self -> PointerCoord -> IO (Double, Double) Source #