Not sure where to post this question.

We're developing in Ext JS right now, using the right click command for context menus, as per the norm. We're looking to change our code, and modifying the application to work on an ipad. The taphold command currently resides in the Sencha Touch library. What is the simplest way to ensure that our right click commands are understood as taphold on an ipad? Will we have to replace all code accordingly, and add in the touch library, or is there an Ext-JS switch that can handle this change by reading platform/device type information, etc?