Miac - Key Mapping

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Miac - Key Mapping

Post by Jay Dee »

Hi,
Refreshing an old project and trying to add key mapping to a MIAC project for simulation purposes.
Does the standard MIAC component graphic have the 'keys' functionality built in?
The Key Mapping menu does not show up any devices or actions even when the MIAC graphic is shown.
Are they any examples out there?
regards, John.

User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Re: Miac - Key Mapping

Post by Jay Dee »

Hmm. Ok build a new simple MAIC in V6 and seemed to be able to click on the buttons during simulation... My problem might be during the conversion from V5 to V6. J.
So it looks like you dont have any keyboard mappings as they are already built into the componet...

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Miac - Key Mapping

Post by Benj »

Hello,

The MIAC component has click on events so you can click the buttons.

You can also use the Key mapping interface to allow you to simulate button presses based on keyboard input.

Here I have linked the 'A' key so that transistor output blinks on and off if either the 'A' key is pressed or the MIAC keypad is clicked.
MIAC_KeyMapping.fcfx
(5.34 KiB) Downloaded 451 times
The key mapping assignments can be accessed via the Edit -> Key Mappings menu.

User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Re: Miac - Key Mapping

Post by Jay Dee »

Thanks Ben, will have a play.
I also liked the state toggle, state = (state+1)&1
useful. John.

Post Reply