Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use system keystrokes with Sony Ericsson remotes System
Sony Ericsson lets Mac users create their own remote control sets with the Bluetooth Remote Control app (discussed in this recent hint). But if you want to program a phone key with a system keystroke (ex: F9 for Exposť, or keyboard Mute), they are intercepted by the system and the tool does not catch it.

So the solution is to create your remote control with fake simple keys (ex: "A"), save the remote control, and then edit the resulting .hid file with a hex editor, and replace the "A" keycode with what you want. For a hex editor, you can choose Resorcerer or HexEdit.

The HID file structure is explained on this page of the Sony Ericsson developer site. The keycodes are described on a USB.org PDF (see page 53). Note that the keys are given for a US keyboard layout. For example:
Exposť (F9) = 42
Mute = 7F
I created an example (44KB download); here's a preview. It's a Mac OS remote control that allows you to change system volume, activate various Exposť effects, switch current app, zoom the display, move the cursor, etc.
    •    
  • Currently 3.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[11,770 views]  

Use system keystrokes with Sony Ericsson remotes | 3 comments | Create New Account
Click here to return to the 'Use system keystrokes with Sony Ericsson remotes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use system keystrokes with Sony Ericsson remotes
Authored by: zimmerleut on Oct 05, '05 12:46:31PM

If it's just about the shortcuts for Exposť etc., it might be easier to turn them off temporarily in the System Preferences rather than having to look up codes in ominous lists...

Jonas

[ Reply to This | # ]

Use system keystrokes with Sony Ericsson remotes
Authored by: sd on Oct 06, '05 04:10:55AM

OK for Exposť shortcuts.
But no other way for system keys like Volume+, Mute or Eject.
Nor keys combination that can not be desactivated (activation of universal access zoom, app switching, force quit, etc...)



[ Reply to This | # ]
Use system keystrokes with Sony Ericsson remotes
Authored by: _merlin on Oct 06, '05 01:37:45AM

You don't need a hex editor. The .hid file is just a tar archive containing an XML file and an image. Use tar to unpack the archive at the command line, edit the XML file with a text editor, then re-pack it with tar.



[ Reply to This | # ]