Page 1 of 1

Miac - Key Mapping

Posted: Mon Mar 09, 2015 2:20 pm
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.

Re: Miac - Key Mapping

Posted: Mon Mar 09, 2015 3:43 pm
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...

Re: Miac - Key Mapping

Posted: Tue Mar 10, 2015 3:46 pm
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 476 times
The key mapping assignments can be accessed via the Edit -> Key Mappings menu.

Re: Miac - Key Mapping

Posted: Tue Mar 10, 2015 6:47 pm
by Jay Dee
Thanks Ben, will have a play.
I also liked the state toggle, state = (state+1)&1
useful. John.