There is joystick support in 4.0, but not in Unix (plugin looks pretty
empty).

Smalltalk vm listBuiltinModules select: [ :each | each beginsWith:
'Joystick' ].

JoystickTabletPlugin VMMaker-oscog-nice13154.314

So, it is all in the InputEventSensor

Check for senders of primReadJoystick:

--> joystickXY:, joystickButtons: ...

Phil


On Sun, Apr 10, 2016 at 1:18 AM, Stephan Eggermont <step...@stack.nl> wrote:

> On 09-04-16 15:24, Carolina Hernández wrote:
>
>> I couldn't find any direct way to use a joystick in Pharo, if someone
>> knows
>> about one, I'd like to integrate it to my code.
>>
>
> https://github.com/Geal/Squeak-VM/tree/master/platforms/Mac%20OS/plugins/JoystickTabletPlugin
>
> Refers to a joystick plugin for squeak. I don't know if that is in the
> current distribution
> (it doesn't seem to be), so you might ask on the vm-dev list about it. I
> haven't looked
> at it, so it could be for a RS-232 based joystick instead of something
> more useful with
> a modern pc.
>
> Can't SDL2 be used with a joystick?
>
> Stephan
>
>
>
>
>
>

Reply via email to