Advertisement
MX_Master

UnifiedRemote - CNC USB Controller - layout.xml

Jun 30th, 2015
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.85 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout>
  3.  
  4.     <row weight="7">
  5.         <button weight="1" text="X" onhold="cmd_home_x" color="green" />
  6.         <label weight="3" id="xPos" text="0.0" />
  7.         <button weight="1" text="A" onhold="cmd_home_a" color="yellow" />
  8.         <label weight="3" id="aPos" text="0.0" />
  9.     </row>
  10.     <row weight="7">
  11.         <button weight="1" text="Y" onhold="cmd_home_y" color="blue" />
  12.         <label weight="3" id="yPos" text="0.0" />
  13.         <button weight="1" text="B" onhold="cmd_home_b" color="purple" />
  14.         <label weight="3" id="bPos" text="0.0" />
  15.     </row>
  16.     <row weight="7">
  17.         <button weight="1" text="Z" onhold="cmd_home_z" color="red" />
  18.         <label weight="3" id="zPos" text="0.0" />
  19.         <button weight="1" text="C" onhold="cmd_home_c" color="pink" />
  20.         <label weight="3" id="cPos" text="0.0" />
  21.     </row>
  22.     <row weight="7">
  23.         <label weight="1" text="SPD:" lightcolor="#777777" darkcolor="#777777" />
  24.         <label weight="3" id="spd" text="0.0" />
  25.         <label weight="1" text="JOG:" lightcolor="#777777" darkcolor="#777777" />
  26.         <label weight="3" id="jog" text="0.0" />
  27.     </row>
  28.  
  29.     <row weight="15">
  30.         <button weight="7" text="X=0" onhold="cmd_zero_x" light="normal:green;focus:#888888;active:#888888;color:black" />
  31.         <button weight="10" text="--X" color="green" ondown="move_down_start_x" onup="move_down_end_x" />
  32.         <button weight="7" text="-X" color="green" ontap="move_down_step_x" />
  33.         <button weight="7" text="X+" color="green" ontap="move_up_step_x" />
  34.         <button weight="10" text="X++" color="green" ondown="move_up_start_x" onup="move_up_end_x" />
  35.         <button weight="10" icon="play" onhold="cmd_machine_play" />
  36.     </row>
  37.     <row weight="15">
  38.         <button weight="7" text="Y=0" onhold="cmd_zero_y" light="normal:blue;focus:#888888;active:#888888;color:black" />
  39.         <button weight="10" text="--Y" color="blue" ondown="move_down_start_y" onup="move_down_end_y" />
  40.         <button weight="7" text="-Y" color="blue" ontap="move_down_step_y" />
  41.         <button weight="7" text="Y+" color="blue" ontap="move_up_step_y" />
  42.         <button weight="10" text="Y++" color="blue" ondown="move_up_start_y" onup="move_up_end_y" />
  43.         <button weight="10" icon="pause" onhold="cmd_machine_pause" />
  44.     </row>
  45.     <row weight="15">
  46.         <button weight="7" text="Z=0" onhold="cmd_zero_z" light="normal:red;focus:#888888;active:#888888;color:black" />
  47.         <button weight="10" text="--Z" color="red" ondown="move_down_start_z" onup="move_down_end_z" />
  48.         <button weight="7" text="-Z" color="red" ontap="move_down_step_z" />
  49.         <button weight="7" text="Z+" color="red" ontap="move_up_step_z" />
  50.         <button weight="10" text="Z++" color="red" ondown="move_up_start_z" onup="move_up_end_z" />
  51.         <button weight="10" icon="stop" onhold="cmd_machine_stop" />
  52.     </row>
  53.     <row weight="15">
  54.         <button weight="7" text="A=0" onhold="cmd_zero_a" light="normal:yellow;focus:#888888;active:#888888;color:black" />
  55.         <button weight="10" text="--A" color="yellow" ondown="move_down_start_a" onup="move_down_end_a" />
  56.         <button weight="7" text="-A" color="yellow" ontap="move_down_step_a" />
  57.         <button weight="7" text="A+" color="yellow" ontap="move_up_step_a" />
  58.         <button weight="10" text="A++" color="yellow" ondown="move_up_start_a" onup="move_up_end_a" />
  59.         <button weight="10" image="estop256.png" onhold="cmd_machine_eStop" color="transparent"/>
  60.     </row>
  61.  
  62.     <row weight="12">
  63.         <text weight="9" id="commandText" hint="enter command here" onchange="inputChanged" textalign="center" />
  64.         <button weight="2" text="SEND" onhold="cmdRunTap" color="blue" />
  65.     </row>
  66.  
  67.     <row weight="10">
  68.         <label id="infoLabel" text="info panel" />
  69.     </row>
  70.  
  71. </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement