G27 Wheel causes UI control issues

Hey all,

Any insight would be great. I decided to see if I could use my racing wheel on the Arcade cabinet I’m building for the old school racing games, A lil overkill considering the wheel abilities, but figured the simple analog steering input could really help smooth out games that need to over rapid tapping a button type control.

However when I plug the USB for my wheel into my laptop running lakka I see the yellow words stating G27 wheel found which I was amazed to see, but then my keyboard remappings (since thats how my "joystick is seen as another keyboard) don’t work, at least from boot. If I plug in the wheel after lakka has booted my keyboard controls only somewhat work. E.G. I can move only to the bottom menu item pressing down (num2), and only go back up the top item pressing up (num8) and I cannot navigate any items in between.

Has anyone ever experienced anything like this?

I was able to make a bit of head way with this issue… OK so here’s a bit of info:

  1. Since my “Joystick” (X-Arcade) is using a USB adapter that plugs into serial then into the Joystick system, so it’s interface when it comes to any system you use it on, will register as a Keyboard.

  2. Keyboard don’t seem to register on lakka as a device type, so no actual Joystick ever gets bound to “Port 0”

  3. with only these 2 devices plugged into my Lakka installation, and having bound all player 1 controls to “keyboard keystrokes” when I plug in the G27 wheel, Lakka considers this the only “Gamepad” thats available on the system, this is why you see the yellow Text “G27 Wheel connected to Port 0” Then by default Lakka wants to use the first “gamepad” to user one (You can see this under Input -> User 1 Binds -> User Device Index)

  4. The only way I was even able to figure this out was by plugging in a generic USB controller to take over “Port 0” and auto binds to player 1. This way with the generic USB gamepad being able to navigate the Lakka menu, I then plug in my gaming wheel and it shows “G27 wheel connected on Port 1”.

  5. Checking the user binds it seems it auto gave user 1 the USB generic gamepad, and user 2 the wheel.

  6. I tried to replicate this, however I found that once I moved User 1 Device index to the wheel I couldn’t control the Lakka menu anymore (I don’t have the shifter part connected, I do have it, but wasn’t connected) checking the bindings it appears most buttons are auto bound based on a cfg file I presume (awesome!) However, I had to use the keyboard to navigate.

  7. Once you change the User Device index for user 1, then unplug that device, it will not about bind to user 1 the next time you plug in a device… super weird… E.G. After having User one as generic USB gamepad, and switched to to wheel, I then disconnected the wheel hoping the generic USB gamepad would get auto bound back to player 1, it did not (even though it did when I fist plugged it in). So I rebooted the lakka setup… only keyboard plugged in… got into lakka, now when I plugged in the USB controller it did not bind to user automatically like it did the first time I plugged it in.

  8. Keyboard does not show up as a Device Index type to choose from in the User Bind options

So again it appears that since my Xarcade joystick shows up as a keyboard it’s making my life an extreme PITA…

Alright so using the gamepad trick I was able to navigate the Lakka menu after pluging in the wheel, and then I was able to have both keyboard inputs, and wheel inputs bound for player 1.

lil bit more tweaking and I’ll have what I’m going after… played a quick round of Outrun with it, and it was AMAZING!

One thing though… does anyone know how to adjust the steering ratio (sensitivity) a game or a core should be using? usually with windows you can adjust the wheel turn percentage.

This guys video is very similar… different hardware for emulation (doesn’t matter) and different (newer) wheel. But he simply binds his controls manually. I didn’t have to as Lakka seemed to have an appropriate config file to auto map everything for me… however he doesn’t seem to have the raito issue, once he truns a quater turn it shows in game as a full turn… I however have to turn my wheel several rotations to hit the max steer…

input_device = "G27 Racing Wheel"
input_driver = "udev"
input_vendor_id = 1133
input_product_id = 49819
input_b_axis = "-2"
input_y_axis = "-3"
input_select_btn = "11"
input_start_btn = "8"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "2"
input_x_btn = "3"
input_l_btn = "7"
input_r_btn = "6"
input_l2_btn = "20"
input_r2_btn = "18"
input_l3_btn = "21"
input_r3_btn = "19"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "h0down"
input_l_y_minus_axis = "h0up"
input_r_x_plus_axis = "+0"
input_r_x_minus_axis = "-0"
input_r_y_plus_axis = "h0down"
input_r_y_minus_axis = "h0up"
input_analog_dpad_mode = "0"

I installed Lakka OS on an old PC. Managed to get PS1 games running. I was wondering if there is a way to get my Logitech G27 driving wheel to work on it? I would like to play games Colin McRae Rally 2.0 and Gran Turismo. My keyboard and gamepad worked just by plugging in. I know that you can configure .cfg files but I’m not sure how to edit them…You can find the file in question in here

/etc/retroarch-joypad-autoconfig/udev

and the file is: G27_Racing_Wheel.cfg

It’s contents are:

input_device = “G27 Racing Wheel” input_driver = “udev” input_vendor_id = 1133 input_product_id = 49819 input_b_axis = “-2” input_y_axis = “-3” input_select_btn = “11” input_start_btn = “8” input_up_btn = “h0up” input_down_btn = “h0down” input_left_btn = “h0left” input_right_btn = “h0right” input_a_btn = “2” input_x_btn = “3” input_l_btn = “7” input_r_btn = “6” input_l2_btn = “20” input_r2_btn = “18” input_l3_btn = “21” input_r3_btn = “19” input_l_x_plus_axis = “+0” input_l_x_minus_axis = “-0” input_l_y_plus_axis = “h0down” input_l_y_minus_axis = “h0up” input_r_x_plus_axis = “+0” input_r_x_minus_axis = “-0” input_r_y_plus_axis = “h0down” input_r_y_minus_axis = “h0up” input_analog_dpad_mode = “0”

Can someone help on this one as I’ve spent some time on this already?

I can’t modify G27s .cfg file directly. It cannot be deleted or modified and turning retroatrch off with command “systemctl stop retroarch” doesn’t help. So, it’s located at /etc/retroarch-joypad-autoconfig/udev/G27_Racing_Wheel.cfg.

Do I have to some way make an override for G27s .cfg file? How do you do that?

Lakka gets some of the G27s input but for example when pressing up or down it scrolls too fast and it’s impossible to configure and map all keys…

I know I can place a .cfg file in this location: /storage/joypads/udev

…but how would the file be named? I have already modified “G27_Racing_Wheel.cfg” file but I couldn’t still get it to work. I think the bindings are right but…it doesn’t work…

Here is my modified file:

input_device = "G27 Racing Wheel"
input_driver = "udev"
input_vendor_id = 1133
input_product_id = 49819
input_b_axis = "1"
input_y_axis = "0"
input_select_btn = "0"
input_start_btn = "1"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "17"
input_x_btn = "18"
input_l_btn = "15"
input_r_btn = "16"
input_l2_btn = "20"
input_r2_btn = "22"
input_l3_btn = "21"
input_r3_btn = "19"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_plus_axis = "+2"
input_r_x_minus_axis = "-2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"
input_analog_dpad_mode = "2"