FAQ  •  Register  •  Login

Mouse1 isn't working in keymap anymore?

Moderator: MiRai

<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Mon Jun 11, 2012 6:42 am

Mouse1 isn't working in keymap anymore?

Since the latest update, Mouse1 in the following keymap isn't working. Mouse2 & Mouse3 work fine. Did something change, or did I muck up my setup (again)?


Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ObjectType>ISBoxer_Toolkit.Configs.KeyMaps.KeyMap</ObjectType>
  <SerializedObject>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;KeyMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Name&gt;Heal Region&lt;/Name&gt;
  &lt;Description /&gt;
  &lt;UseFTLModifiers&gt;false&lt;/UseFTLModifiers&gt;
  &lt;Hold&gt;false&lt;/Hold&gt;
  &lt;Mode&gt;OnRelease&lt;/Mode&gt;
  &lt;Mappings&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Left Click&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Mouse1&lt;/Combo&gt;
        &lt;Modifiers&gt;None&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse1&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;Default&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="SyncCursorAction"&gt;
              &lt;Target&gt;Healer&lt;/Target&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;Healer&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Mouse1&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Mouse1&lt;/Key&gt;
                  &lt;Code&gt;0&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;true&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Right Click&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Mouse2&lt;/Combo&gt;
        &lt;Modifiers&gt;None&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse2&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;Default&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="SyncCursorAction"&gt;
              &lt;Target&gt;Healer&lt;/Target&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;Healer&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Mouse2&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Mouse2&lt;/Key&gt;
                  &lt;Code&gt;0&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;true&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Middle Click&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Mouse3&lt;/Combo&gt;
        &lt;Modifiers&gt;None&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse3&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;Default&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="SyncCursorAction"&gt;
              &lt;Target&gt;Healer&lt;/Target&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;Healer&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Mouse3&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Mouse3&lt;/Key&gt;
                  &lt;Code&gt;0&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;true&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
  &lt;/Mappings&gt;
&lt;/KeyMap&gt;</SerializedObject>
</Box>
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Mon Jun 11, 2012 7:15 am

Re: Mouse1 isn't working in keymap anymore?

Use the in-game ISBoxer Control Panel's debugging feature to gather more information...

Ctrl+Shift+Alt+G to bring up the control panel, click the debug tab, tick the "Buttons" box, click "Show debugging console". Then use your mouse1 mapping. The "Buttons" debugging will tell you if any button presses/releases get sent to any given window -- what the button is and where it came from.
<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Mon Jun 11, 2012 7:36 am

Re: Mouse1 isn't working in keymap anymore?

I'm getting inconsistent results. Once it fails, I can't recover without restarting all the clients. Anecdotal evidence suggests it is related to clicking the Role5 clickbar, but I can't seem to reproduce the failure consistently.

http://privatepaste.com/bd5a9256c8

Edit: Here are the steps which reproduce the failure at least once:

Launch 'Even' character set (login not required)
Click Role5 button row 2, column 1 (changes from red circle to healer symbol)

Left click in the heal region (click box in bottom third, center) works as expected (sync_cursor, left click passthrough)

Click 'Broadcast on' clickbar
Left Click anywhere (other than inside a clickbar)
Click 'Broadcast on' clickbar to turn it off

Now, left clicking in the heal region does nothing, but right and middle click work as expected (sync_cursor, click passthrough).
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Mon Jun 11, 2012 8:07 am

Re: Mouse1 isn't working in keymap anymore?

Exporting to Inner Space or using the "Reload settings" button at the top of the in-game ISBoxer Control Panel should be sufficient to reset your Key Maps to the "just launched" state if it's related to clicking one of your bars.

Also from looking at your config you might benefit (a lot) from the concepts in this new guide HOWTO: Configure ISBoxer like a pro. You're already using the same basic ideas, but you're missing out on simplifying your config with virtualization. I'm looking squarely at your Shim key map here. "Do Left Click Role in ___ Key Map -> 1" x 10. Only one of them is ever executed depending on which Key Map is loaded in Slot 1 (or, at least, we are both assuming that only one Key Map will be loaded) ... each of your Mapped Keys like this could be using one Do Mapped Key Action instead of 10 :)

Anecdotal evidence suggests it is related to clicking the Role5 clickbar, but I can't seem to reproduce the failure consistently.

That doesn't narrow it down much for me, there's 15 buttons on your click bar and they cover 20+ key maps. ;)
<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Mon Jun 11, 2012 9:21 am

Re: Mouse1 isn't working in keymap anymore?

I appreciate your input, and I'll read the howto, but I played with virtualization for the role bars, but ultimately went back to turning on/off keymaps because of the amount of setup required to form a new team. I want to mix and match any of the ten toons into a five man team, and put them into different slots. My first attempt at virtualization resulted in having to create 60 virtual mappings for every team, where my current setup requires no work to create a new team.

Did you see my edit on how to reproduce the failure (in the third post)? This only requires clicking a single button on the role bar, and the failure seems unrelated to the clickbar itself.
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Mon Jun 11, 2012 10:24 am

Re: Mouse1 isn't working in keymap anymore?

I appreciate your input, and I'll read the howto, but I played with virtualization for the role bars, but ultimately went back to turning on/off keymaps because of the amount of setup required to form a new team. I want to mix and match any of the ten toons into a five man team, and put them into different slots. My first attempt at virtualization resulted in having to create 60 virtual mappings for every team, where my current setup requires no work to create a new team.

Each Character will have exactly one virtual mapping (e.g. "Virtual Combat" Key Map is now "Holy Paladin" Key Map -- instead of virtualizing individual Mapped Keys), the rest of the setup is very similar to what you're doing. Roles/specs can be swapped on the fly, characters can be replaced in any given team regardless of who or what the other characters are, etc. It should be much simpler than what you're doing now or what you tried.

I see your new edit, I'll see if I can reproduce it and find out whats going on
<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Mon Jun 11, 2012 6:06 pm

Re: Mouse1 isn't working in keymap anymore?

I cut out a lot of stuff, and forced a toon into the Healer ATG, same problem is occurring.

http://privatepaste.com/9a8a312d7d

1) Launch team even
2) Any click inside the heal box gets passed to slot 2 as expected
3) Turn on broadcast by clicking the broadcast icon
4) Left click once anywhere outside of the clickbars
5) Turn off broadcast by clicking the broadcast icon
6) Now left click doesn't get passed through the heal clickbox, but right and middle do

Edit: I tested a couple other versions from backup, 5616 is the latest version that does not exhibit this problem.
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Tue Jun 12, 2012 9:09 am

Re: Mouse1 isn't working in keymap anymore?

No problem, I'll get this taken care of today. Thanks for the detailed information
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Tue Jun 12, 2012 10:12 am

Re: Mouse1 isn't working in keymap anymore?

This should now be fixed as of build 5642 (now live). Please confirm for me. Thanks :)
<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Tue Jun 12, 2012 10:18 pm

Re: Mouse1 isn't working in keymap anymore?

Working correctly now.

Thanks!

Return to Key Maps

Who is online

Users browsing this forum: No registered users and 0 guests