Wow it is hard work to fit everything in. I’ve been working hard on progressing and investigating the two ideas I proposed last week;

  • Waggle my mouse : Find your mouse pointer on Windows desktops with very high resolution monitors, or multiple displays.
  • Social Media authorization for groups : Supporting the Brexit campaigns I’ve seen on Facebook who are struggling to all members of the group to access other resources, such as wordpress blogs etc.

Waggle My Mouse

This looked the most technically straight forward of the two ideas, and one with probably the easiest route to market. So this week I set up to investigate what APIs where available on Windows to track the mouse cursor. Now, I’ve done some win32 programming in the past so I thought “This can’t be too hard… right?”. Alas, as anyone who’s done win32 and ‘c’ programming knows, there are always twists in the tale. So I spend a number of hours chasing through the MSDN win32 documentation trying to discover how you track the mouse. In brief, it’s really easy to track the mouse if the cursor is moving over your application’s window, but if it isn’t - then it’s a bit more tricky. I discovered the rawinput APIs which are pretty cool. They give the raw input from the mouse device driver. I thought this would solve the problem, and it does and then it doesn’t.

RAWINPUT on Windows

While the rawinput API does give me information about the mouse, even when it is not over my application, it doesn’t actually tell me where the mouse is. The API gives the delta between the mouse’s last location, and its current location. This is great or detecting a “waggle” - as this is exactly what I would need to do, but it doesn’t tell me where on the screen the mouse is, or on multiple displays - which display. I’ve some more work todo.

WaggleMyMouse.com

Well on the basis on my hunch for implementing the idea I went out and bought the domain name anyway. I had a number of domains up for renewal and though, heck, I’ll get this one while I’m at it. I plan to setup a simple WordPress page, with a pre-bought template. I known that I can get a template that will hook up with mailchimp and provide me with a quick sign up mailing list. Now I’ve just got to go searching for that.

Before I do, I want to go searching for this silly Win32 API - talk about an itch I need to scratch, this technical issue about he mouse location is bugging me.

Social Media authorization for groups

I did some API investigation on this one. The core idea is that members of a specific Facebook group would be able to sign in to say, WordPress, and then would be provided access to the editor based on their group membership within Facebook. That way user access control is done by the Facebook group admins. Now, after checking I can see that all the APIs are there to do this, and it seems deceptively straight forward. However given all the trouble with the win32 idea, I’m wondering if it really is.

The goal of this plugin / tool is to support the existing Facebook groups. So I’ve a meeting this Wednesday with a group. It also happens to a brexit group, one I’d like to help anyway - perhaps I would be able to kill two birds with one stone? - I’ll have to wait and see…

Keep moving forward

Of the two ideas Waggle My Mouse looks like the idea with the least unknowns, both technically and route to market. So that’s the one I will follow for now.

I’m going to see how I can help the brexit group more generally, if anything comes out of that conversation which could be a candidate for my own MegaMaker challenge, then that’s a bonus.

Time challenge

The originally challenge from Justin was to launch something every week. That’s tough, especially while your holding down a day job - and I’m contracting at the moment, and have a young family to hangout with. But even doing the API investigations has engendered that love of technology and software development I have, and I’ve really enjoyed it.

Justin mentioned finding something that you enjoy doing - and this has been it.

And all the rest

In addition to the work I’ve done on these projects, I’ve also taken part in an AirRun - it’s a 5k race with adult style bouncy castle obsticals to cross. It was a huge amount of fun, and if you get the chance you should totally do it. It also reminded me that I need to get back and exercise. I’d eased off in the run up to my holidays, but I really do need to get back at it.