History log of /haiku/src/tests/kits/device/stickit_BJoystick/JoystickWindow.cpp
Revision Date Author Comments
# d0f53f15 14-Feb-2015 Michael Lotz <mmlr@mlotz.ch>

StickIt: Don't close the app when closing a JoystickWindow.

Since it now actually works to open multiple windows for different
devices, don't close the app when closing the device window.


# e2d7e6c4 14-Feb-2015 Michael Lotz <mmlr@mlotz.ch>

StickIt: Construct a new BJoystick object to pass to the window.

Previously the same BJoystick object was reused when opening a new
window, which caused all windows to show the data of the same device.


# 660fe6bc 03-Jun-2011 Michael Lotz <mmlr@mlotz.ch>

* Make use of the new BJoystick::GetButtonValues() so any number of buttons can
be retrieved. I think the fixed layout will actually make it impossible to see
anything beyond the 9th button however... The coding style of this app is,
different, to say the least and I didn't really bother fixing it up right now,
so the changes just mimic what's there.
* Some automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41883 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 57475964 14-Jul-2008 Fredrik Modeen <fredrik@modeen.se>

BJoystick test app. A updated Stickit demo app the original article included

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26413 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d0f53f151d426e73d466030a942a344212c3ee4c 14-Feb-2015 Michael Lotz <mmlr@mlotz.ch>

StickIt: Don't close the app when closing a JoystickWindow.

Since it now actually works to open multiple windows for different
devices, don't close the app when closing the device window.


# e2d7e6c4be9142efe0d8964943d674a6a784c6de 14-Feb-2015 Michael Lotz <mmlr@mlotz.ch>

StickIt: Construct a new BJoystick object to pass to the window.

Previously the same BJoystick object was reused when opening a new
window, which caused all windows to show the data of the same device.


# 660fe6bca9ff2117ada8bfec7be1db6e8193b025 03-Jun-2011 Michael Lotz <mmlr@mlotz.ch>

* Make use of the new BJoystick::GetButtonValues() so any number of buttons can
be retrieved. I think the fixed layout will actually make it impossible to see
anything beyond the 9th button however... The coding style of this app is,
different, to say the least and I didn't really bother fixing it up right now,
so the changes just mimic what's there.
* Some automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41883 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 574759641edbbe7db014741184d5394a82c55833 14-Jul-2008 Fredrik Modeen <fredrik@modeen.se>

BJoystick test app. A updated Stickit demo app the original article included

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26413 a95241bf-73f2-0310-859d-f6bbb57e9c96