Samsung i8510 Optical Joystick Support?

Subforum for discussion and help with ScummVM's Symbian (mobile phones, etc) ports

Moderator: ScummVM Team

dazzyb2k3
Posts: 3
Joined: Sat Oct 04, 2008 5:16 pm

Samsung i8510 Optical Joystick Support?

Post by dazzyb2k3 »

Hi Guys,

I just got round to installing ScummVM on my new Samsung i8510 and it works great but it would be amazing if it could take advantage of the optical Joystick in this device.

Was just curious if it's likely to be on the agenda?
Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

The optical joystick works like a normal fourway key arrangement. So you can change the tolerans and sensitivity for that. Otherwise I don't know of any special APIs that are available to implement any kind of special support for that joystick since it behaves as a standard S60 one.
dazzyb2k3
Posts: 3
Joined: Sat Oct 04, 2008 5:16 pm

Post by dazzyb2k3 »

On the D pad that's true but the i8510 also has an optical pad built into the centre button which behaves like the touchpad on a laptop and gives you true analogue mouse movement. This would be great to use in Scumm VM
Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

APIs still not available to do this and no documentation how it works. So unless I get a i8510 (sold in Sweden during November) I won't be able to test that.
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

hi, any news on this one?
It would be really great to have the optical sensor supported. since this one works like an ordinary mouse.
do you have a innov8 yet?
Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

Well I don't have the correct APIs to be able to use the optical joystick yet. :-(
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

Hopefully it has been updated since I checked last time. :-)
Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

It might be so that there are only normal mouse event support needed, just like S60v5, then I have already some working support. Still things to do. :-)
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

would be great... I cant wait to play with this...
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

@ Anotherguest:
Hey, did you check this samsung SDK? can I somehow help you?
Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

It only provides support for emulation of the optical thing, no extra apis added, so I guess it will behave like a touch device or something.
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

hi, but it should work like in this video. http://www.youtube.com/watch?v=66Rp5vaI-DY

and is this example program not included in this SDK?
I currently have only linux working, so I can't check for that. Besides I wouldn't understand a thing most properly..

could you check for that? In my fist link it says that this example program is included...
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

===============================================================================
RELEASE NOTES FOR SAMSUNG SDK EXTENSION FOR S60 3RD EDITION FP2 20.10.2008
===============================================================================

The Samsung 3.2 SDK Extension enables application development for Samsung
devices based on the S60 Platform.
Extension is created on top of S60 3rd Edition, FP2 and Symbian OS 9.3.
See Release Note of the S60 SDK and Symbian OS to learn about their features
and known issues.

Binary compatibility for APIs introduced in S60 3rd Edition is maintained
unless otherwise stated below.



Features proper of the Samsung 3.2 SDK Extension
================================================
- Emulator for testing and debugging applications, including bitmaps and keys
proper of the Samsung i8510 phone.
- SDKSwitcher tool
- Emulator supports UI resolutions: QVGA Portrait and QVGA Landscape
- Emulation of the Optical Joystick
- Selection functionality of the Optical Joystick can be achieved by keeping
the Alt key pressed. A rounded pointer cursor indicates that the user is in
OJ mode.
- Optical Joystick settings can be configured.
- Emulation of the G-Sensor, based on NaviSensor API
- Change of layout (portrait <--> landscape) when pressing "top" and "left"
orientation G-Sensor buttons
- Data proper of Samsung environment are returned by HAL and SDK manifest
- Samsung animations used at startup and shutdown



New C++ Example Applications
============================
- GSensorExample is a sample application using G-Sensor API.
It shows some bubbles moving on the screen, following the given accelerations
and screen orientation (code included).

- GSensorObserver, to test basic functionality of G-Sensor emulator (code not
included)

- OJExample, to test Mouse mode of the Optical Joystick (code included)
so if you use the code of the example it should easyly give you the xy position of the mouse cursor. Is it hard to implement this to the the symbian port?
royalcs
Posts: 19
Joined: Sun Jan 11, 2009 12:51 pm

Post by royalcs »

I am kind of sorry for my doubble posting...

but, did you check this example?
Post Reply