meetpatty / basiliskii-vita

GNU General Public License v2.0
26 stars 5 forks source link

implement slow/fast modifiers for analog pointer, allow more memory #9

Open rsn8887 opened 5 years ago

rsn8887 commented 5 years ago

Use key code 1024 (1025) to map a Vita button to slow down (speed up) analog joystick pointer control when held. This works quite well to position the pointer precisely with the analog stick, even over very small buttons.

imap file example "analog_speed":

# Basiliskii Vita input map extended with
# slow/fast analog pointer speed modifiers 
# via holding R/L
#
#    by rsn8887
#
# UP = cursor up
0x0010 0x0000 62 255 255 255
# RIGHT = cursor right
0x0020 0x0000 60 255 255 255
# DOWN = cursor down
0x0040 0x0000 61 255 255 255
# LEFT = cursor left
0x0080 0x0000 59 255 255 255
# LTRIGGER = hold to speed up mouse
0x0100 0x0000 1025 255 255 255
# RTRIGGER = hold to slow down mouse
0x0200 0x0000 1024 255 255 255
# TRIANGLE = command + q
0x1000 0x0000 55 12 255 255
# CIRCLE = control + mouse button 0
0x2000 0x0000 54 256 255 255
# CROSS = mouse button 0
0x4000 0x0000 256 255 255 255
# SQUARE = enter
0x8000 0x0000 36 255 255 255