Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller not working #16

Open
Rxdilez opened this issue Nov 19, 2023 · 1 comment
Open

Controller not working #16

Rxdilez opened this issue Nov 19, 2023 · 1 comment

Comments

@Rxdilez
Copy link

Rxdilez commented Nov 19, 2023

After creating the correct file paths and everything I load up a game and input isn't recognised. When I look at the input I comes up with loads of ?'m??° stuff and I can't change it to an Xbox controller. Anyone got an idea of what to do?

@Seany1990
Copy link

I have the exact same issue

SirMangler pushed a commit that referenced this issue Apr 14, 2024
When the divisor is a constant value, we can emit more efficient code.
For powers of two, we can use bit shifts. For other values, we can
instead use a multiplication by magic constant method.

- Example 1 - Division by 16 (power of two)
Before:
mov    w24, #0x10                ; =16
udiv   w27, w25, w24

After:
lsr    w27, w25, #4

- Example 2 - Division by 10 (fast)
Before:
mov    w25, #0xa                 ; =10
udiv   w27, w26, w25

After:
mov    w27, #0xcccd              ; =52429
movk   w27, #0xcccc, lsl #16
umull  x27, w26, w27
lsr    x27, x27, dolphin-emu#35

- Example 3 - Division by 127 (slow)
Before:
mov    w26, #0x7f                ; =127
udiv   w27, w27, w26

After:
mov    w26, #0x408               ; =1032
movk   w26, #0x8102, lsl #16
umaddl x27, w27, w26, x26
lsr    x27, x27, dolphin-emu#38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants