(function(f,d,e){var b="Rho.KeyCapture";var a=e.apiReqFor(b);function c(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][e.rhoIdParam()]){if(b!=arguments[0][e.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][e.rhoIdParam()]}else{g=e.nextId()}}e.createPropsProxy(c.prototype,[],a,function(){return this.getId()});e.createMethodsProxy(c.prototype,[],a,function(){return this.getId()});e.createRawPropsProxy(c.prototype,[]);c.IPHONE_VOLUME_DOWN=11;c.IPHONE_VOLUME_UP=10;e.createPropsProxy(c,[{propName:"homeKeyValue",propAccess:"rw"}],a);e.createMethodsProxy(c,[{methodName:"captureKey",nativeName:"captureKey",persistentCallbackIndex:2,valueCallbackIndex:4},{methodName:"remapKey",nativeName:"remapKey",valueCallbackIndex:2},{methodName:"captureTrigger",nativeName:"captureTrigger",persistentCallbackIndex:0,valueCallbackIndex:2}],a);e.namespace(b,c)})(Rho.jQuery,Rho,Rho.util);