Older operating systems like Windows XP will need 'Raw input' selected. Newer operating systems like Windows 10 will require you to choose 'Windows messaging'.
If you're using a keyboard to play your PlayStation 2 games, you need to choose from one of these three options. You'll see the red box in the image below, where we will select our keyboard configuration type. This will open a new window where you can start customizing your keyboard, controller, or mouse. Then, choose 'Controllers' and click once on 'Plugin Settings'.