There is a new config file in ~/Applications/Settings/libgtkstylus.conf (or more exactly $XDG_CONFIG_HOME/libgtkstylus.conf ) that has mode = 1 for the new alt = right click mode and mode = 0 for the tap-and-hold => right click (you can change between these using LCD Settings). According to the patch (
http://git.openpando...0c38b90caf4539c ) the config file can also have a line of the format "modifiers = %d" to change the modifier (the %d means that it wants a number...), but the number must be a GDK input modifier mask in numeral form (the default is whatever GDK_MOD1_MASK means to the compiler here ...). I'll figure these out and edit here.
EDIT: So I just looked at a local linux box with gtk2 installed (I think these masks dont change much), so with a small bit of uncertainty, the bits are:
// Shift is already used for moving windows
GDK_SHIFT MASK 1
// And caps lock is a bit unwieldly to use for right click
GDK_LOCK_MASK 2
// I think control might be usable but could cause problems in some things...
GDK_CONTROL_MASK 4
GDK_MOD1_MASK 8 // This is currently in the pandora (and in other places too, at least sometimes) ALT
// I cant recall what are the modifiers 2-5 in our system
GDK_MOD2_MASK 16
GDK_MOD3_MASK 32
GDK_MOD4_MASK 64
GDK_MOD5_MASK 128
// I have no idea what these are:
GDK_BUTTON1_MASK 256
GDK_BUTTON2_MASK 512
GDK_BUTTON3_MASK 1024
GDK_BUTTON4_MASK 2048
GDK_BUTTON5_MASK 4096
And in here there was a comment that "The next few modifiers are used by XKB, so we skip to the end."
"Bits 15-25 are currently unused, Bit 29 is used internally"
GDK_SUPER_MASK (1<<26) 67108864
GDK_HYPER_MASK (1<<27) 134217728
GDK_META_MASK (1<<28) 268435456
GDK_RELEASE_MASK (1<

0) // This propably is just a modifier code for key releases, dont use i think
And yeah I had to ask python what the integers are for those bigger masks
And I cant remember if super hyper or meta are mapped in pandora at all.
The pandora already has the left trigger mapped as shift, and it is used by default to move windows with the ts, so that propably should not be used unless you do more modding. The right trigger is Ctrl...
And yeah, the keycodes for the triggers are 62 and 105.