Shared by Cyran0Cyran0
- 02 Feb 2021 10:42

rating: 0+x

Configuration to play Barony with JoyShockMapper

### Barony Flick Stick Configuration
### By Cyrano

### First, reset to defaults so we don't have to set values we don't care about
RESET_MAPPINGS
### Calibrate. Flick stick relies on good calibration; gyro and stick sens make more sense with it, too
REAL_WORLD_CALIBRATION = 227.44

### Please set IN_GAME_SENS to your in game mouse speed setting whenever you change it :)
IN_GAME_SENS = 16.0

#################
### IMPORTANT ###
#################

### MAKE SURE TO CHECK 'disable mouse rotation speed limit' IN THE IN-GAME MOUSE SETTINGS
### OR ELSE FLICK STICK WILL NOT WORK CORRECTLY

### I believe Barony uses raw input
IGNORE_OS_MOUSE_SPEED

#######################
### Button mappings ###
#######################

### Left Stick
LLEFT = A         #WSAD is self explanatory
LRIGHT = D
LUP = W
LDOWN = S

### D-Pad
UP = TAB          #inventory
LEFT = Q          #repeat NPC command
RIGHT = E' C_     #cycle NPCs, hold to command NPCs
DOWN = M          #spell list

### Triggers and Shoulder Buttons
ZR = GYRO_OFF     #gyro off 
ZL = SPACE        #block/sneak
R = LMOUSE        #attack
L = RMOUSE        #use

### Face Buttons
N = MMOUSE' TAB_  #hotbar select, hold for inventory
W = SCROLLUP      #hotbar scroll left
E = SCROLLDOWN    #hotbar scroll right
S = F' M_         #cast spell, hold for spell list

### Menu Buttons
+ = ESC           #menuing
- = X             #map resize

### In this configuration, ZL (which is assigned to block) is also used as a modifier for different buttons.
### Namely, N, L, and R. If you're familiar with Barony's hidden controls, feel free to take a look at the
### ZL modifiers below.

ZL,R = !LSHIFT' !LMOUSE'     #drop item from inventory
ZL,L = !LALT' !RMOUSE'       #alternate use, for wielding potions and pie
ZL,N = !LALT' !MMOUSE' TAB_  #alternate hotbar select, for wielding potions and pie

# Mouse, call user set sensitivity and right stick functionality (look vs flick)
GyroConfigs/_3Dmouse.txt

Cyran0's Notes

MAKE SURE TO CHECK 'disable mouse rotation speed limit' IN THE IN-GAME MOUSE SETTINGS
OR ELSE FLICK STICK WILL NOT WORK CORRECTLY

How to Use this Config

Using JoyShockMapper configurations is easy once you know how. If you haven't used it before, check out the guide. For using a community config like this one, you only need to get through the first two sections — Installing JSM and Using an already-made configuration file.

Just copy the above configuration into a text file, change the IN_GAME_SENS to match your in-game settings, and then drag that file into JoyShockMapper and hit Enter to use it right away. Some games have their own limitations with certain controllers or require some extra setup, so make sure to check for any notes near top of the main Barony page.