Charmed Quark Systems
Google
WWW CharmedQuark.com

Go Back   Charmed Quark Systems > General Discussion > Beta Driver Development
Register FAQ Members List Calendar Mark Forums Read

Beta Driver Development Discussion of new drivers, finding someone to write a new driver, etc...

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2010, 10:05 AM
sic0048 sic0048 is offline
 
Join Date: Jun 2005
Location: South Carolina
Posts: 3,155
Default Changing the field name of an existing driver

I have several different TVs that I need to control. Two of the most used are from Sharp and LG. The Sharp driver uses the moniker "Inputs" as the name of the field used to change the input on the TV while the LG driver uses the moniker "Input".

I need to change one of these drivers to make sure the moniker matches across all drivers. This will make the action commands much easier in my templates.

Could someone walk me through the process of modifying an existing driver field name. I have to assume it is very easy, but I'm not sure how many places I would need to change the name in the driver code, etc, etc, etc.

Thanks!
__________________
Brian

"Really dear, it was too good of a deal to pass up. Besides, look at what it does now...."
I think my wife is getting a little tired of hearing this
Reply With Quote
  #2  
Old 09-26-2010, 10:18 AM
Fonceur Fonceur is offline
 
Join Date: Sep 2008
Location: Canada
Posts: 1,058
Default

Just open up either and search for input. Ignore the name of any of the variable and just change the single instance where the field's name is defined. Then save and compile.
__________________
Fonceur's Place
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:17 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.