Category Archives: Implementing Mouse Lock

How to crash like you mean it

I lost most of a day today trying to track down a bug in our Pointer Lock (nee Mouse Lock) implementation.  We’re literally within inches of being done this patch, and to be honest, I need to get it done so I can focus on other projects.  However, as is the case when programming, being [...]
Also posted in CDOT, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Return early, return often

I’m fixing some code we wrote for the Mouse Lock implementation, based on review comments.  I had forgotten how many of my colleagues teach our students that you should avoid multiple exit points from a function.  It meant that our implementation code had a bunch of deep nesting in order to avoid early returns.  We [...]
Also posted in CDOT, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Implementing Mouse Lock, conclusion

This post is the last in a series I’m writing about my work to implement the Mouse Lock API in Mozilla. I’m doing the work with students in my Mozilla Open Source course at Seneca College, and so these posts are intentionally didactic and self reflective. The aim of the series is [...]
Also posted in CDOT, Mozilla, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Level Up: Mouse Lock + Gamepad builds

I’m finishing up the Mouse Lock patch today so I can get it into review by Friday, which mostly means I’m waiting on my students to get their tests finalized (hurry up, guys!).  Meanwhile, I’ve had a bunch of people ask for builds, and also to fold the Gamepad and Mouse Lock APIs into one [...]
Also posted in CDOT, Mozilla, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Implementing Mouse Lock, part IV

This post is part of a series I’m writing about my work to implement the Mouse Lock API in Mozilla. I’m doing the work with students in my Mozilla Open Source course at Seneca College, and so theses posts are intentionally didactic and self reflective. The aim of the series is to [...]
Also posted in CDOT, Mozilla, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Implementing Mouse Lock, part III

This post is part of a series I’m writing about my work to implement the Mouse Lock API in Mozilla.  I’m doing the work with students in my Mozilla Open Source course at Seneca College, and so theses posts are intentionally didactic and self reflective.  The aim of the series is to show how [...]
Also posted in CDOT, DPS909, Mozilla, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Implementing Mouse Lock, part II

This post is part of a series I’m writing about my work to implement the Mouse Lock API in Mozilla.  I’m doing the work with students in my Mozilla Open Source course at Seneca College, and so theses posts are intentionally didactic and self reflective.  The aim of the series is to show how a [...]
Also posted in CDOT, DPS909, Mozilla, Mozilla Education, Seneca, Teaching Open Source | Comments closed

Implementing Mouse Lock, part I

This is the first in a series of posts I’m going to write about my work to implement the Mouse Lock API in Mozilla.  I’ve got a number of things to say about the API and the need we have for it in Firefox, and on the web in general; but perhaps just as importantly, [...]
Also posted in CDOT, Mozilla, Mozilla Education, Seneca, Teaching Open Source | Comments closed