Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 28, 2007, 03:36 PM   #1
iSee
macrumors 68040
 
iSee's Avatar
 
Join Date: Oct 2004
Where/How/Whether to release my little utility

I wrote a little utility for the Mac that converts the 'enter' key on your keyboard to a right mouse button.

This would be useful to Apple laptop owners who never use that key but wish they had a right mouse button instead.

If you are curious about the technical details, it uses the "event tap" API introduced in 10.4 and is installed as a launchd daemon.

Anyway, I thought I'd release it as open source and I'm not quite sure where to do that. I guess I'd also like to release it to end users who may find it useful, and I'm not sure where to do that either. (I did make an installer package for it, so it's fairly painless to install--there's an uninstaller, too).
iSee is online now   0 Reply With Quote
Old Jun 28, 2007, 03:52 PM   #2
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
Open source is not a bad idea...perhaps www.sourceforge.net ? I like www.versiontracker.com (you need to sign up as a developer), don't know if that's the best place if you want to open-source it though (but you could still put it up there). On versiontracker, you can keep multiple versions, see how many people download it, and it has builtin feedback forums. Good luck.
__________________
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote
Old Jun 28, 2007, 07:05 PM   #3
Krevnik
macrumors 68020
 
Krevnik's Avatar
 
Join Date: Sep 2003
Google has a repository for OSS projects as well.
__________________
iMac 2013 27", 13" 2012 rMBP, iPad Air, iPhone 6
Krevnik is offline   0 Reply With Quote
Old Jun 28, 2007, 08:00 PM   #4
iSee
Thread Starter
macrumors 68040
 
iSee's Avatar
 
Join Date: Oct 2004
Thanks, I'll check those out.

Also, if anyone is interested, here's the project (the guts are in main.c):
http://www.jjmn.net/dl/EnterKeyRemapperD.zip
And here's a disk image with the installer/uninstaller.
http://www.jjmn.net/dl/EnterkeyRemapper.dmg

I've tested it on 10.2.8, 10.3.9 (installer just prevents installation), 10.4.0 PPC, 10.4.10 PPC, 10.4.10 Intel.
iSee is online now   0 Reply With Quote
Old Jun 29, 2007, 12:36 AM   #5
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
You should turn it into a general util with a GUI in System Preferences
kainjow is offline   0 Reply With Quote
Old Jun 29, 2007, 06:42 AM   #6
whooleytoo
macrumors 603
 
whooleytoo's Avatar
 
Join Date: Aug 2002
Location: Cork, Ireland.
Send a message via AIM to whooleytoo
You could go the shareware route, and still release the source if you like.

I'm of the opinion if you spend your precious time writing something which people find useful, you've every right to make a little money out of it.

I know most people don't make a lot from shareware, but I do know know one ex-colleague who made a small fortune from it.
__________________
Mac <- Macintosh <- McIntosh apples <- John McIntosh <- McIntosh surname <- "Mac an toshach" <- "Son of the Chief"
whooleytoo is offline   0 Reply With Quote
Old Jun 29, 2007, 08:55 AM   #7
djbahdow01
macrumors 6502a
 
Join Date: Jan 2004
Location: Northeast, CT
Send a message via AIM to djbahdow01 Send a message via Skype™ to djbahdow01
Quote:
Originally Posted by iSee View Post
I wrote a little utility for the Mac that converts the 'enter' key on your keyboard to a right mouse button.

This would be useful to Apple laptop owners who never use that key but wish they had a right mouse button instead.

If you are curious about the technical details, it uses the "event tap" API introduced in 10.4 and is installed as a launchd daemon.

Anyway, I thought I'd release it as open source and I'm not quite sure where to do that. I guess I'd also like to release it to end users who may find it useful, and I'm not sure where to do that either. (I did make an installer package for it, so it's fairly painless to install--there's an uninstaller, too).

Intersting concept but when you can ctrl/click to get a right click, is it really worth it. Its pretty easy to do this already. And if you really need a right click that bad you could just pick up a 2 button mouse.

I'm not trying to bash the program or concept, but it just seems a little redundant.
__________________
2.8GHz Mac Pro
G5 Dual 2.5GHz (Deceased)
Photography Portfolio
Sports Photography
djbahdow01 is offline   0 Reply With Quote
Old Jun 29, 2007, 09:15 AM   #8
iSee
Thread Starter
macrumors 68040
 
iSee's Avatar
 
Join Date: Oct 2004
Well, yeah, it's of minor use, I admit.

I got used to using the enter key as a right mouse button under Boot camp using InputRemapper, so I thought I'd try to implement the same functionality on my Mac.

A more useful version might allow you to map the enter key to more interesting things... Hmm....

* Some other key - some people might like a ctrl or option key on the right-hand side. Or maybe some of the keys that don't appear on the laptop keyboards like F13.
* Perhaps it could trigger a key-combo.
* Perhaps it could trigger an entire key macro sequence.
* Maybe it could launch a favorite program.
iSee is online now   0 Reply With Quote
Old Jun 29, 2007, 09:56 AM   #9
whooleytoo
macrumors 603
 
whooleytoo's Avatar
 
Join Date: Aug 2002
Location: Cork, Ireland.
Send a message via AIM to whooleytoo
Being able to simulate multi-button mice, or even scroll-wheel functionaltiy with the keyboard might be an option.
__________________
Mac <- Macintosh <- McIntosh apples <- John McIntosh <- McIntosh surname <- "Mac an toshach" <- "Son of the Chief"
whooleytoo is offline   0 Reply With Quote
Old Jun 29, 2007, 09:59 AM   #10
mrkramer
macrumors 601
 
mrkramer's Avatar
 
Join Date: Jul 2006
Location: Somewhere
Quote:
Originally Posted by iSee View Post
A more useful version might allow you to map the enter key to more interesting things... Hmm....

* Some other key - some people might like a ctrl or option key on the right-hand side. Or maybe some of the keys that don't appear on the laptop keyboards like F13.
* Perhaps it could trigger a key-combo.
* Perhaps it could trigger an entire key macro sequence.
* Maybe it could launch a favorite program.
What would be more usefull to me is if it had the option to make it act as a middle mouse button, since I already use the two finger right click.
__________________
"Jesus was the first socialist, the first to seek a better life for mankind." -Mikhail Gorbachev
mrkramer is offline   0 Reply With Quote
Old Jun 29, 2007, 10:05 AM   #11
djbahdow01
macrumors 6502a
 
Join Date: Jan 2004
Location: Northeast, CT
Send a message via AIM to djbahdow01 Send a message via Skype™ to djbahdow01
Quote:
Originally Posted by iSee View Post
Well, yeah, it's of minor use, I admit.

I got used to using the enter key as a right mouse button under Boot camp using InputRemapper, so I thought I'd try to implement the same functionality on my Mac.

A more useful version might allow you to map the enter key to more interesting things... Hmm....

* Some other key - some people might like a ctrl or option key on the right-hand side. Or maybe some of the keys that don't appear on the laptop keyboards like F13.
* Perhaps it could trigger a key-combo.
* Perhaps it could trigger an entire key macro sequence.
* Maybe it could launch a favorite program.
Thats a cool start. A key-combo using one key wouldn't be a bad idea. Sometimes I forget which keys to press on certain things.
__________________
2.8GHz Mac Pro
G5 Dual 2.5GHz (Deceased)
Photography Portfolio
Sports Photography
djbahdow01 is offline   0 Reply With Quote
Old Jun 29, 2007, 11:27 AM   #12
Mernak
macrumors 6502
 
Join Date: Apr 2006
Location: Boston, MA
Quote:
Originally Posted by mrkramer View Post
What would be more usefull to me is if it had the option to make it act as a middle mouse button, since I already use the two finger right click.
That would be nice, I miss scrolling on my iBook. Ctrl + Click is easy enough for right click, bu the functionality for scrolling in missing.
__________________
MB, 2.0Ghz, 2GB Ram, 80GB
iPhone, 8GB
Mernak is offline   0 Reply With Quote
Old Jun 29, 2007, 11:32 AM   #13
PlaceofDis
macrumors Core
 
Join Date: Jan 2004
Quote:
Originally Posted by iSee View Post
Well, yeah, it's of minor use, I admit.

I got used to using the enter key as a right mouse button under Boot camp using InputRemapper, so I thought I'd try to implement the same functionality on my Mac.

A more useful version might allow you to map the enter key to more interesting things... Hmm....

* Some other key - some people might like a ctrl or option key on the right-hand side. Or maybe some of the keys that don't appear on the laptop keyboards like F13.
* Perhaps it could trigger a key-combo.
* Perhaps it could trigger an entire key macro sequence.
* Maybe it could launch a favorite program.
see that would be sweet. i'd really like to have an option key there instead of the enter key. so being able to freely re-map it would be gravy.
__________________
dim my eyes on the waves of confessions...
PlaceofDis is offline   0 Reply With Quote
Old Jun 29, 2007, 11:47 AM   #14
iSee
Thread Starter
macrumors 68040
 
iSee's Avatar
 
Join Date: Oct 2004
Quote:
Originally Posted by mrkramer View Post
What would be more usefull to me is if it had the option to make it act as a middle mouse button, since I already use the two finger right click.
That one's an easy change to the source code... But... To make it an option, I'd have to make a prefs panel. Although to get started, I could just create a parameter in the associated .plist...
iSee is online now   0 Reply With Quote
Old Jul 3, 2007, 07:46 PM   #15
abhibeckert
macrumors member
 
Join Date: Jun 2007
Quote:
Originally Posted by iSee View Post
That one's an easy change to the source code... But... To make it an option, I'd have to make a prefs panel. Although to get started, I could just create a parameter in the associated .plist...
A parameter in the plist is easy enough for now, people can just run defaults write com.isee.mygreatkeyremapper mouseButton middle in terminal.

Definitely go for releasing it as open source. Could be only a few people will use the app, but I bet plenty of people are interested in seeing the source code.

I've worked with SourceForge before, and found it a total pain in the ass. Google's project hosting looks really nice, but I haven't used it.
abhibeckert is offline   0 Reply With Quote
Old Jul 3, 2007, 07:53 PM   #16
mkrishnan
Moderator emeritus
 
mkrishnan's Avatar
 
Join Date: Jan 2004
Location: Grand Rapids, MI, USA
Quote:
Originally Posted by HiRez View Post
Open source is not a bad idea...perhaps www.sourceforge.net ? I like www.versiontracker.com (you need to sign up as a developer), don't know if that's the best place if you want to open-source it though (but you could still put it up there). On versiontracker, you can keep multiple versions, see how many people download it, and it has builtin feedback forums. Good luck.
Definitely get listed in Versiontracker and Macupdate at a minimum. My personal take is that your best bet is probably to use Sourceforge, because it has so many OSS support tools (you can easily indicate different versions of GPL, you get forums and bugtrackers, version management, etc), and then simply list with VT and MU.

Quote:
Originally Posted by iSee
A more useful version might allow you to map the enter key to more interesting things... Hmm....

* Some other key - some people might like a ctrl or option key on the right-hand side. Or maybe some of the keys that don't appear on the laptop keyboards like F13.
* Perhaps it could trigger a key-combo.
* Perhaps it could trigger an entire key macro sequence.
* Maybe it could launch a favorite program.
FWIW DoubleCommand already does some of these things. The mouse-replacing ideas are really interesting, though.
__________________
Mira C. Krishnan
mkrishnan is offline   0 Reply With Quote
Old Jul 3, 2007, 08:02 PM   #17
kalisphoenix
Banned
 
Join Date: Jul 2005
Some people don't have a left arm, and they might like this, seeing as how there are no right control keys on MBs.

I'm kinda surprised that Apple doesn't enable this possibility, actually. It might seem like a rather rare situation, but...
kalisphoenix is offline   0 Reply With Quote
Old Jul 4, 2007, 06:20 AM   #18
Eraserhead
macrumors G4
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: UK
@Software sites, the site I get most hits from Apple's download site, in fact I generally get more than MacUpdate/Versiontracker. I submit to MacUpdate/Versiontracker/Apple/Softpedia (Who are really nice), and occasionally to download.com and macgamefiles.

Download.com are total jokes though and take 14 days to submit anything.
Eraserhead is offline   0 Reply With Quote
Old Jul 4, 2007, 07:37 PM   #19
iSee
Thread Starter
macrumors 68040
 
iSee's Avatar
 
Join Date: Oct 2004
Thanks for all this info and the suggestions.
I got a little contract job to occupy my evenings for a little while, but I'll get back to this. Heh, I have bigger plans than this little app, but it's nice to go through all this with something small and unimportant...
iSee is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone 5S release is a prelude to XBOX ONE/PS4 RELEASE. FooArk Console Games 26 Sep 21, 2013 10:42 PM
A small thought on the 12th September release. (W/ iPhone release) nicklaz0r iMac 42 Sep 6, 2012 08:12 PM
Would it be ethical for Apple to release false iPhone info leading up to a release? thermal iPhone 27 Aug 11, 2012 09:13 AM
Should Apple have waited for ML's release to release the rMBP? pgiguere1 MacBook Pro 24 Jul 9, 2012 01:17 PM
Can I install the final ML release over the beta release? wreckthisplace OS X 10.8 Mountain Lion 6 Jun 27, 2012 11:38 AM

Forum Jump

All times are GMT -5. The time now is 06:48 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC