I had a laugh today. I took my younger daughter to the park today. They have a tire swing there. Megan really like to ride it.
When we first got there I pushed Megan a little, she likes to go fast. Then I sat down to watch people for a little bit. Frankly I was surprised by the number of fathers there with their children, way more than usual.
One father was there with his boy and girl. The boy was taking a lot of his time, so my daughter decided to ask this little girl if she wanted to tire swing with her. She looked to be about five years old, about half my daughter’s age. The girl agreed and they both got on the swing and Megan started pushing.
I was only half paying attention, and saw that Megan was spinning really fast. But it didn’t bother me much because it wasn’t as fast as I usually spin her. After a few minutes of this I see the little getting off the tire swing and walking toward her father, vomiting. Megan came over to me and I said to her she should apologize to her father. She didn’t. I ended up cleaning a little vomit off the tire swing. We left shortly after that.
The sickness didn’t seem to effect the little girls much. She was playing with other kids soon after.
SDLMESS inherited it’s keyboard handling code from mainline MESS. Mainline MESS uses the Scroll Lock key to toggle between User Interface modes. On the Mac, SDLMESS has a conditional compile to use the Insert key instead of the other key. This worked well before the new Apple keyboard.
The new Apple keyboard has removed the Insert key and replaced it with an fn key. A press on this key is never sent to the operating system. It changes a mode internal to the keyboard. This is good and bad for SDLMESS on the Macintosh.
Thankfully SDLMESS has no hardwired keys in the software. All keys can be reassigned in the tab menu. But the one catch-22 situation is the User Interface Mode toggle key. If this key is inaccessible, you are stuck with no access to the tab menu. About a year ago I saw this situation with some Macintosh laptop computers and submitted a patch to assign the keyboard mode key on the command line or inside the INI file. The switch is uimodekey. Since I have the new keyboard I changed it to ITEM_ID_DEL. This is the key directly below the fn key. This is a good way to solve the problem.
There is also a benefit to the new Apple keyboard. Apple has been assigning many different functions to the function keys (F1-F12) over the past few years and SDLMESS also assigns functions to the functions keys. Since Mac OS X would take precedence, SDLMESS would never receive the keydowns and it would look like SDLMESS was malfunctioning. If you hold the fn key and then press a function key, SDLMESS will receive the keydown and the system will ignore the key. You can even reverse this in the system preferences.