Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

anyone tried to use Storm as a bluetooth mouse? ( is 18mG accelerometer usable?)

I just grabbed my Storm thinking it was a mouse but now I'm curious if it would work

via bluetooth with the accelerometer? I guess 18mg would be sensitive enough for most

gestures, not sure though. Wouldn't be hard to use the keys or touch screen for cool

buttons and custom features but it slides better upside down. Putting those tabs on the back

makes it stick and also harder to use as a level ( if senstivity allowed it).

 

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: anyone tried to use Storm as a Bluetooth mouse? ( is 18mG accelerometer usable?)

That's an interesting idea. I unfortunately don't have a Bluetooth receiver so can't do any testing.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: anyone tried to use Storm as a Bluetooth mouse? ( is 18mG accelerometer usable?)

Not sure if MSFT still gives away their driver development kit but not sure if there are bluetooth mouse drivers.

That could be a probject in itself but imagine a 3D accelerometer with a touch screen. Not quite a game console but you could do something versatile. Are the game controlls accel based and limited to 18mg?

I guess if the idea works you could get a cradle to make it slde better. I had one phone that I coated

in dabs of silicone bath caulk to guard against dropping and bumping.

 

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: anyone tried to use Storm as a Bluetooth mouse? ( is 18mG accelerometer usable?)

MSFT still gives away there Driver Development Kit, I recently downloaded the one for Win7 (http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx).

 

I remember using something similar to what you might be thinking of, you hold the mouse at a certain angle which is "neutral" then tilt it forwards to go up, backwards to go back, left and right to go in the appropriate directions.

 

Add support for gestures like shake and flick (the motion not the touchscreen) and support for multitouch and you have a pretty interesting controller. In the game area I'm thinking "extra function keys." There is a lot that could be done, I work with 3D and programming so I could use it like a 3D mouse or shader display. For programming I could have the variable information show up on that while I debug something.

 

I really have not looked into accelerometer accuracy so I have no idea what you are talking about when you say 18mg.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: anyone tried to use Storm as a Bluetooth mouse? ( is 18mG accelerometer usable?)

I guess you could leave the BB stationary and use finger motions to move the mouse but I thought that would

just be a fancy set of buttons and the accelerometer measures scrolling. 18 is 18 milli-g's or .018 g-forces.

I made a level but the resolution is a bit low fo that. If you do this, please try to write drivers for linux. I'd have a great system here but I need to run wireless card through ndiswrapper and it seems to have quirks.

 

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: anyone tried to use Storm as a Bluetooth mouse? ( is 18mG accelerometer usable?)

I didn't mean leave it stationary, I meant in addition to using it as an actual mouse. Thanks for the information on the accelerometer, it seems like most other smartphones operate to about the same level. Unfortunately I don't have any plan to write a driver, I feel lucky enough to be able to write an extremely basic driver let alone a cross platform one.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.