Example #1
0
 /*
  * (non-Javadoc)
  *
  * @see com.hifiremote.jp1.SpecialProtocolFunction#update(com.hifiremote.jp1.SpecialFunctionDialog)
  */
 public void update(SpecialFunctionDialog dlg) {
   dlg.setMacroKey(getMacroKeyCode());
 }
Example #2
0
 /**
  * Creates the hex.
  *
  * @param dlg the dlg
  * @return the hex
  */
 public static Hex createHex(SpecialFunctionDialog dlg) {
   short[] hex = new short[1];
   hex[0] = (short) dlg.getMacroKey();
   return new Hex(hex);
 }