Daniel Petersen's Blog

Documenting my struggle to make a videogame, amongst other nonsense

Home Projects

I'll Be Damned if I Can't Do That

Posted on 2014-09-19

I moved into a new apartment a few weeks ago, and I haven’t yet bothered to get a computer desk. Truth be told, I’m not sure if I’m going to even bother getting one. My current setup has me situated on the couch, with my desktop monitor on a small table in front of me. This is a pretty good setup, but it’s not very practical to use a mouse with. I mainly use my PC for programming nowadays, and there’s not too much of a need for a mouse, so I decided to get a keyboard which had a trackpad attached to it.

It’s not what I’d call a good keyboard, but it’s pretty good for my use case. Problem is, I use the F5-F7 keys as hotkeys for programming, and this keyboard has media keys in their place. You can press the F keys, but you’ll have to press and hold the FN key first, which is annoying to say the least. I hopped onto Logitech’s website and downloaded their software which lets you control how the keyboard works. I didn’t see an option to disable the media keys, or switch the FN toggle. After a bit of googling I found a forum post by a Logitech help staff saying that you can’t do what I want to do.

That can’t be true now can it? I think the coolest thing about programming is being able to make the computer do whatever you want. I’m happy to report I have my Fkeys back by writing a short script which will convert a media key into it’s prospective F key upon press. It took 3 minutes.

Copyright © - Daniel J. Petersen