Advertisement
GrandeM

Layout-OBS

May 17th, 2020
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. # Input Overlay config v.4
  2. #
  3. # The amount of keys in the overlay
  4. 0_key_count=18
  5. # The type of layout (1 for mouse, 2 for keyboard)
  6. # Make sure that this value is before all values below!
  7. 0_layout_type=2
  8. # Amount of Key rows
  9. 0_key_rows=3
  10. # Amount of Key Coloumns
  11. 0_key_cols=7
  12. # Global Key size of a key
  13. 0_key_abs_w=28
  14. 0_key_abs_h=25
  15. # Space vertically and horizontally (Negative numbers for offset left/up offset)
  16. 0_key_space_v=1
  17. 0_key_space_h=2
  18. # The amount of buttons per row in the texture file
  19. 0_texture_w=7
  20. # The space between two rows of textures (usually button height * two) if a button takes up
  21. # two times the height or more adjust this value (3px gap will be added by the plugin)
  22. 0_texture_v_space=50
  23. ###
  24. #
  25. # Order of buttons in the texture file
  26. # Special keys need hexadecimal value
  27. # Get them here (Search for "VC_" and then the key name):
  28. # https://github.com/univrsal/input-overlay/blob/master/libuiohook/include/uiohook.h#L137
  29. #
  30. # The Texture needs to contain the buttons in that oder going from left to right
  31. # With the top row containing the texture for unpressed buttons and the bottom
  32. # row for pressed buttons. The plugin calculates a 3px gap between all textures
  33. # and 1 px border around the entire texture
  34. # After the amount of buttons specified in texture_w the plugin will stop searching
  35. # for textures to the right and start in the next row
  36. #Keys:
  37. #Tab, Q, W, E, R, esc
  38. #Shift, A, S, D, F, up
  39. #Space, z, X, left, right, down
  40. 1_key_order=0x000F,0x0010,0x0011,0x0012,0x0013,0x0001,0x002A,0x001E,0x001F,0x0020,0x0021,0xEE48,0x0039,0x002C,0x002D,0xEE4B,0xEE4D,0xEE50
  41. # tab q w e r esc Shift a s d f up Space z x left right down
  42.  
  43. # Width & Height of the buttons in the order specified above
  44. # These values are multipliers
  45. # Meaning '1' resultes in a width/height that is specified in key_w/key_h
  46. # '2' results in key_w/key_h * 2
  47. 1_key_width=2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1
  48. 1_key_height=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
  49. # Coloumn = X, Row = Y postion of the buttons in the order spcified above for the overlay
  50. # Once again not absolute numbers but rather multipliers
  51. # E.g. key_row=3 means that the y position is 3 times the button height
  52. 1_key_row=0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2
  53. 1_key_col=0,2,3,4,5,6,0,2,3,4,5,6,0,2,3,4,5,6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement