The thing I am trying to do is use a gyro to work as a zoom in and zoom out input deivce, when you tilt the gyro, screen for mac computer would zoom in and zoom out. I think it would be possiable to map the short-key for mac zoom in and zoom out with processing program.
But I am not sure how to programm it, other libarary I would need? or I have to work with HID? Any hint would be greatly appreciated.