Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

02.09.2008 23:01:32
Mapping to ctrl key (alone) and simultaneous button presses in wiimote
View

This posting is older than 6 months and can contain outdated information.
Hi

I am trying to create a behaviour for MacMAME in order to use the Wiimote to play MAME games. In MAME the first button is the ctrl key, hence, I am mapping a Wiimote button (button '1') to the ^. However, I am not sure how I can do that. If I just select the ^ checkbox it does not work in MAME and if I try to place a letter in the Keystroke field and select the ^ checkbox it does not work either. How do I create a mapping to one of the special keys? (if it is possible). 
My second question is if remote buddy is able to handle simultaneous button presses in the wiimote. For example, if I press the up button and the right button both mappings should run.

Thanks in advance

Daniel

These entries from the FAQ may be relevant to this topic:

Behaviours
Hardware
Hardware - Apple® Remote
User

03.09.2008 11:17:17
Re: Mapping to ctrl key (alone) and simultaneous button presses in wiimote
View

This posting is older than 6 months and can contain outdated information.
Thanks for asking.

You can simply map the Virtual Keyboard's Control Key action to 
achieve what you want. RB then emulates the press and release of just 
the Ctrl key on the press and release of the remote's button.

Multiple button presses are currently not supported. You'll find a lot 
of discussion on this topic and also an explaination on why it is not 
supported at this point here in the forum. Support for multiple button 
presses is definately on the roadmap, though.

Best regards, 
Felix Schwarz 

User

03.09.2008 22:01:27
Re: Mapping to ctrl key (alone) and simultaneous button presses in wiimote
View

This posting is older than 6 months and can contain outdated information.
Hi Felix

Thanks for the answer but I cannot find the ctrl key press as an option in the virtual keyboars submenu. Am I looking in the wrong place? I am in the Behaviour Construction Kit -> Behaviour Factory -> Default mapping ->Virtual Keyboard. There I see cursor key presses, Esc key, return key, space and different combinations of Show/Hide Virtual Keyborad but no way to say "Ctrl key"

Daniel 

User

08.09.2008 13:27:17
Re: Re: Mapping to ctrl key (alone) and simultaneous button presses in wiimote
View

This posting is older than 6 months and can contain outdated information.
Hi Daniel,

thanks for the info. I remember now that that few actions are in fact 
not exposed outside of the virtual keyboard Behaviour.

The following AppleScript code is unsupported and (although unlikely) 
can stop working in future versions of Remote Buddy, but for the 
moment it'll do what you are looking for:

-- snip -- 
tell application "Remote Buddy"

-- Start pressing Ctrl key 
behaviouraction actionIdentifier "input.keyboardCursor.Ctrl" event 
"pressed"

-- Example: hold Ctrl key for one second 
delay 1

-- Release Ctrl key 
behaviouraction actionIdentifier "input.keyboardCursor.Ctrl" event 
"released"

end tell 
-- snap --

You can rip above sample code apart and package it into two 
AppleScript actors, both part of the same action, one executed on the 
press:

-- snip -- 
tell application "Remote Buddy" to behaviouraction actionIdentifier 
"input.keyboardCursor.Ctrl" event "pressed" 
-- snap --

and one executed on the release of a button:

-- snip -- 
tell application "Remote Buddy" to behaviouraction actionIdentifier 
"input.keyboardCursor.Ctrl" event "released" 
-- snap --

Best regards, 
Felix Schwarz