Switch controller/HID bridging to non-retained since the controller lives as long...
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 26 Feb 2013 21:05:34 +0000 (22:05 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 26 Feb 2013 21:05:34 +0000 (22:05 +0100)
commitd2b45b2c32dcc7c3cc553b62252ca48842e08d48
treee071b49c53103ea89f13654fa1caed24f3564885
parent8ab26ba60a5cf895797e24a432949a1c11622fed
Switch controller/HID bridging to non-retained since the controller lives as long as the app delegate. Do not manually open and close HID devices; the HID manager does this and a manual close therefore causes a double-close and crash when a device is removed. Some reformatting, and make the joystick display name a virtual readonly attribute.
Joystick.h
Joystick.m
JoystickController.m