Monday, April 25, 2016

Native ScummVM for PlayBook, progress

I was sick and tried to do something usefull at the time. So, a bit of hacking on the BlackBerry fork of SDL to add support for native gestures (Swipe down and and Back swipe "down-left to upper-right").

Swipe down is obviously used for the game menu access (F5 key) and back swipe for Escape to skip cut-scenes (ESC key).

It is pretty much ready for submission!

See below for a quick video on how the swipes are working in Sam & Max Hit the Road and Flight of the Amazon Queen.


Wednesday, April 13, 2016

ScummVM for PlayBook and BB10

Started to scratch an itch as nobody seemed to have done a proper native port of ScummVM for the PlayBook or BlackBerry 10 devices.

It runs and the games seems to work. Now what is needed is some way to handle left/right clicks, F5 and other keyboard shortcuts.

Native ScummVM on BlackBerry PlayBook



Monday, March 21, 2016

Monday, February 22, 2016

SID Player for BlackBerry 10

Looks like I've been neglecting my blog again... well, let us do something about that.

I've been planning on doing a SID player for a long long time already for BB10 devices but been a bit scary of doing the low-level audio stuff. No need for such under Linux devices thanks to gstreamer but BB10 does not come with a easy to extend media framework, you need to do everything yourself pretty much.

Got inspired to do something about it a couple of days ago and started with a simple test application using libsidplayfp and QAudioOutput. Works. So next was to use QSA instead as QAudioOutput is not supported on BB10. Turned out to be quite easy (thanks to my effort to get espeak-ng speaking).

A quick demo of my work in progress SID Player for BlackBerry 10


Friday, August 28, 2015

Electric generator excercise bike project

It was first just a test and as it worked as intended we decided at work to continue with it and make it more interesting. The intended target groups are  mainly schools (in City of Turku) and also various sustainability events.

It has gone forward nicely, all basic functionality has been now implemented. The device has 3 main functions:
  1. 12V, 5W incandescent light bulb
  2.  12V, 1.5W LED light bar
  3. Generic 12V plug for anything else you can think of
For option 3 we provide a 5V USB charger and a 12V travel kettle for boiling water. The kettle is 100W, it should take 20 minutes to get it to boil, I'm a fat-ass so almost died after pedalling for a couple of minutes... :)

That was the basics, there are some parts that are still work in progress. Installed are already a current sensor and an LCD screen but they are currently unused. The bike itself also provides a RPM sensor (aka "a switch") that we can also use.

The idea is to show the load in Amps, the Voltage and from there the Watts produced and of course RPM. One ideas was to also add a temperature sensor that could be put in the kettle to see if the water gets any warmer.

It currently still needs manual activation to magnetize the alternator, but that could be made automatic.

Check out the video below for a quick look:


Wednesday, August 26, 2015

Need a large box for your project ? Go to Ikea

I needed a box to put all the wires, switches, connectors, fuses and stuff. First I checked a local electronics shop, they had some nice ones but expensive.

Then we went to Ikea on the way home. And I found a nice 5l plastic container, cost a couple of € only.



Just Perfect!

Thursday, August 20, 2015

Fours years ago N950 arrived in the mail #TBT

Four years and two days to be exact. A N950 arrived. The absolutely best phone design ever made by Nokia, (IMO of course).

Nokia N950 dev kit


Full size touch screen with a full QWERTY keyboard that you could hide/show, running a proper Linux. A hackers dream device this. Just lovely.

Very unfortunate that the "N9 with keyboard" never go to market, it would have been an awesome device.

sigh...