PDA

View Full Version : What's wrong with this block?



ZoltanE
12-05-2011, 01:32 PM
I made an very basic MCE. As soon as I insert the following block, it
disappears from the list (I'm using the latest beta):



<binding>
<name>Left Hand</name>
<conditions>
<trigger>
<controller>P1L</controller>
<action>press</action>
<threshold>.4</threshold>
</trigger>
</conditions>
<actions>
<mouse_button>
<which>left</which>
</mouse_button>
</actions>
</binding>

Everything is copy-pasted from other MCEs.

If you're unable to provide a proper user interface for customization at
least produce a descriptive error message giving me a clue what's wrong.

This is a bad joke guys... making an flashy MCE editor with Python and Qt
would take about two weeks for a UI designer - coder pair. Hell, I'll do the
UI for you if you want, for free, just sort out this MCE editing already...

Danny
12-05-2011, 03:03 PM
I'll ignore all of the slams and just answer your question. Absolutely nothing is wrong with that binding. It works perfectly.

Also if the mce is formatted correctly you can use the xml editor in vs2010 express. Here's how: viewtopic.php?f=24&t=1162 (http://www.sixense.com/forum/phpBB3/viewtopic.php?f=24&t=1162)

ZoltanE
12-05-2011, 11:15 PM
Alright, I've attached the two files. As far as I can tell then only
difference between them is the piece I pasted earlier. All tags
are properly closed as I can collapse them in NP++.

ZoltanE
12-05-2011, 11:19 PM
Well, apparently the second "!" in the line
<!-- LEFT HAND --!>
is the problem.

Danny
12-06-2011, 11:25 AM
It shows up as an error if you use vs2010 xml editor.