Anonymous | Login | 03-02-2021 23:42 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005650 | [Squeak] OS-Linux | minor | always | 12-19-06 08:05 | 04-15-07 22:06 | |||||||
Reporter | matthewf | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | ||||||||||
Summary | 0005650: No Joystick support on Unix machines | |||||||||||
Description | PrimitiveJoystickPlugin has a null implementation on Unix. | |||||||||||
Additional Information |
Attached is the new trunk/platforms/unix/plugins/JoystickTabletPlugin/sqUnixJoystickTablet.c Also attached is a C script that acts as a stand-alone unit-test for sqUnixJoystickTablet.c. |
|||||||||||
Attached Files |
![]() ![]() |
|||||||||||
|
![]() |
|
(0008727 - 496 - 544 - 544 - 544 - 544 - 544) matthewf 12-19-06 08:20 |
Issues with this implementation: - /dev/input/js* is hard-coded as the appropriate file - reads the joystick even if Squeak does not have X input focus - assumes that the kernel always reports axis values as signed 16-bit integers (-32768...32767) - cannot handle over 32 buttons - assumes the existence of linux (will probably not work on bsd or sun) - it accesses the kernel directly; perhaps it should use XINPUT, SDL, or HAL I do not know if any of these assumptions are justifiable. |
(0010553 - 127 - 133 - 341 - 341 - 341 - 341) matthewf 04-15-07 22:06 |
An email about the current Joystick framework: http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-January/032596.html [^] |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed. 28 unique queries executed. |