- SN30 Pro
- Watt the Hack?
- Search This Blog
- 8Bitdo NES 30 Pro on linux
- Firmware Update
- Bluetooth Connection
- Xboxdrv mapping
- Auto Start/Stop on BT connect
- Delightly Linux
- RetroPie 3.5 and the 8Bitdo NES30 Pro
- The Short Answer
- The Controller
- The Appearance
- Support
- Bluetooth Support for RetroPie 3.5 (Jessie)
- Upgrading the Firmware
- Kinivo Bluetooth USB Adapter
- Online Tutorials
- The (Unfruitful) Process
- RetroPie Setup
- Edit udev
- No Gamepads Detected
- jstest
- Conclusion
- N30 Pro 2
- Ретро-дизайн для современных игр
- Полнофункциональный геймпад
SN30 Pro
- Android (4.0 и выше)
- MacOS (10.7 и выше)
- Windows (7 и выше, Bluetooth 4.0)
- Steam (Windows 7 и выше, MacOS 10.9 и выше)
- Switch (1.0.0 и выше)
- Raspberry Pi (2B, 2B+, 3B, Zero, Bluetooth 2.0 и выше)
- Беспроводное подлкючение по Bluetooth 4.0
- Проводное подключение по USB Type-C
- Крестовина (D-Pad), 2 нажимаемых аналоговых стика, 4 кнопки действия (A, B, X, Y), триггеры L1/R1, L2/R2 Start, Select, Star, Home
- Виброотдача
- Управление наклоном (Motion Control)
- Функция кнопки Turbo
- Встроенный аккумулятор на 480 мАч
- Время работы на полностью заряженном аккумуляторе — 16 часов
- Время полной зарядки аккумулятора — 2 часа
- Автоматичеcкое отключение геймпада при простое
- Обновляемая прошивка
- Геймпад SN30 PRO
- Кабель USB Type-C (1.2 м)
- Инструкция
- Упаковка 158x98x50 мм (300 гр)
- Геймпад 144x64x33 мм (115 гр)
- X-input
- D-input
- Mac mode
- Nintendo Switch mode
Крепление для смартфона в комплект не входит и приобретается отдельно. Уточняйте наличие у менеджера.
Источник
Watt the Hack?
Search This Blog
8Bitdo NES 30 Pro on linux
This post will go over the setup I had to do to get my 8Bitdo NES30 Pro controller working on my Arch linux desktop with steam. This results in the system loading the xboxdrv automatically when the controller is connected, and unloading once finished.
Firmware Update
The basic syntax of the command is:
The controller will need to be put into ‘Firmware update mode’. Be aware that the final command will also update all eligible firmware on your system, so If you don’t want that, please dig into the documentation
Bluetooth Connection
Getting the controller connected is basically a matter of following along with the Arch Wiki. To summarize:
install bluez bluez-utils bluez-plugins xboxdrv
enable bluetooth service
Connect to controller, get the name and uniq
grep NES -B1 -A9 /proc/bus/input/devices
Xboxdrv mapping
I couldn’t find a propper mapping for the controller, to Xboxdrv, so I created the following:
#8Bitdo NES30 Pro Config
[xboxdrv]
evdev-debug = true
evdev = /dev/btjoy
evdev-grab = true
rumble = false
mimic-xpad = true
silent = true
[evdev-absmap]
ABS_HAT0X = dpad_x
ABS_HAT0Y = dpad_y
ABS_X = X1
ABS_Y = Y1
ABS_Z = X2
ABS_RZ = Y2
[axismap]
-Y1 = Y1
-Y2 = Y2
[evdev-keymap]
# Map start and select
BTN_START=Start
BTN_SELECT=Back
# Map power to guide
BTN_C=Guide
# Map buttons to the printed key
BTN_SOUTH=A
BTN_EAST=B
BTN_NORTH=X
BTN_WEST=Y
# L1 R1 as Triggers
BTN_TL=LT
BTN_TR=RT
# L2 R2 as buttons
BTN_TL2=LB
BTN_TR2=RB
# Thumbs as thumbs
BTN_THUMBL=TL
BTN_THUMBR=TR
Auto Start/Stop on BT connect
Create a new service file /etc/systemd/system/nes30pro.service
[Unit]
Description=NES30 Pro controller driver daemon
Documentation=man:xboxdrv(1)
BindsTo=dev-btjoy.device
After=dev-btjoy.device
[Service]
User=root
PIDFile=/var/run/nes30pro.pid
ExecStart=/usr/bin/xboxdrv —pid-file /var/run/nes30pro.pid -c /etc/default/nes30pro —detach-kernel-driver —deadzone 4000 —deadzone-trigger 10%
edit the udev rule for the device, and append the following to the device line
Источник
Delightly Linux
RetroPie 3.5 and the 8Bitdo NES30 Pro
📅 February 25, 2016
a
Life is happy, all is well, and…What? You say that the tiny Raspberry Pi 2 is too modern and sleek to provide full retro nostalgia?
Then, why not add a retro-themed controller to complete the experience?
One such controller is the 8Bitdo NES30 PRO wireless Bluetooth/USB controller. This is a small, pocket-sized controller that offers enough buttons for most games you will encounter, and it is styled after the 8-bit Nintendo controller. How retro-themed is that?
Is this just a gimmick, or does it work with RetroPie 3.5 Jessie?
Note: Nobody sponsors this. Any links to Amazon are affiliate links to help readers locate the items and to help cover the time spent writing this article at no cost to readers.
The Short Answer
Yes, this controller is 100% plug and play compatible with RetroPie 3.5 *IF* it is connected with a USB cable. There is a micro USB connector on the NES30 PRO that lets you connect the controller to any USB port. Simply plug it in and go. EmulationStation and RetroArch automatically recognize it as a standard controller. It really is that easy.
“What about wireless Bluetooth connectivity?”
Wireless Bluetooth operation is another matter that is difficult to set up, and I never got it working in its entirety…and neither have many others from reports.
The Controller
8Bitdo sounds like a cheap, Chinese manufacturer of ripoff junk, but I was surprised with the build quality and packaging.
The controller is packaged snugly with hard foam and includes a color manual.
The foam packaging. The color manual. This controller is well-packaged. Yes, it is made of plastic, but it does not feel “cheap.” It’s lightweight, but it feels sturdy and does not flex or bend.
Box Front. The actual controller does indeed look like the picture but more plastic gray than metallic silver.
Back of the box. Proudly proclaims Linux compatibility. Yes, it works with Linux in addition to most other operating systems.
All buttons are well-made, snappy, and have a satisfying feel when pressed. Great for those frantic button-mashing moments.
Bluetooth and USB are supported. At the top of the controller is a micro-USB port for connection to a computer (or RetroPie) via a USB cable and for charging the internal battery. Different wireless modes are available depending upon which button combinations are held down when the controller is powered on.
The color instruction manual unfolds into a single page. Despite the odd English grammar, it conveys the point. Most important is the section describing the different button combinations and operating modes.
The Appearance
The best part is the appearance. The NES30 PRO possesses the 8-bit Nintendo style that looks like it belongs to a bygone era yet blends modern technology for use on today’s computers. The theme is half the experience, and 8Bitdo produces controllers in other themes as well. And if that was not enough, LED lights along both sides glow a satisfying electric blue.
NES30 PRO paired with the Bluetooth USB adapter connected to the RetroPie. The blue lights fade in and out slowly to indicate a successful pairing. The two buttons on the bottom are for powering the controller on and off (left) and for Bluetooth pairing (right).
The lights also change different colors and blink to provide visual feedback regarding the controller mode.
A USB cable is included, so even if Bluetooth wireless connectivity might not work with RetroPie 3.5, you can still use it as a wired controller. There is no input lag.
When connected as a wired USB controller, EmulationStation recognizes the NES30 PRO automatically. “BITDO NES30 PRO” appears twice here due to previous tinkering with configuration files while trying to get the controller to work with EmulationStation via Bluetooth.
Support
At first, I thought this would be a cheaply-produced “abandon all hope ye who purchase” type of product, but I have been pleased. The 8bitdo web site (available in English) provides somewhat useful help and support. A PDF version of the manual is available for viewing.
The firmware can be upgraded via software downloads from the NES30 PRO page to resolve bug fixes with the controller and to provide new features. However, the upgrade software only runs on Mac or Windows, not Linux.
Bluetooth Support for RetroPie 3.5 (Jessie)
As a USB controller, the NES30 PRO is perfect!
No problems whatsoever. Just plug and play. However, Bluetooth support for this particular controller is difficult at this time with RetroPie 3.5.
Despite successful pairing of the NES30 PRO and the Kinivo Bluetooth adapter, EmulationStation in RetroPie 3.5 refuses to recognize it.
I have tried numerous tutorials, guides, advice, and my own tinkering to no avail. While I can get some elements working wirelessly, EmulationStation refuses to recognize the controller due to SDL errors.
After setup and pairing, press buttons on the controller at EmulationStation’s gamepad detection screen. Then, press F4 to exit to the terminal. These SDL (Simple DirectMedia Layer) errors will appear.
Other tutorials have reported this controller working with RetroPie 3.4 (both versions), but not with RetroPie 3.5. The PlayStation 4 Dual Shock 4 controller requires time to set up, but it works fine with RetroPie 3.5. By contrast, I have spend great amounts of time wrestling with the NES30 PRO without any usable results.
Upgrading the Firmware
I updated the NES30 PRO firmware to version 1.68, which is the latest version as of this writing. This was an easy process that required a Windows computer.
Kinivo Bluetooth USB Adapter
The goal was to use one NES30 PRO controller by itself paired with the Raspberry Pi 2 using the Kinivo BTD-300 Bluetooth USB adapter.
The Kinivo is a plug and play Bluetooth USB adapter that works well with Linux and RetroPie.
This Bluetooth adapter is a joy to use with Linux, and I have found it compatible with every Bluetooth device tried (mostly controllers, such as the DS3 and DS4).
Due to its reliability, I can rule this out as the source of problems.
Online Tutorials
First, research the issue. Using wireless controllers with RetroPie is not plug and play like it is with wired USB controllers. Bluetooth often requires manual configuration for specific controllers…and then you chant and perform a rain dance hoping it will work.
The RetroPie forum is a good place to start, and there is a basic tutorial for Bluetooth controllers and RetroPie 3.4.
None of this helped.
The (Unfruitful) Process
With the Pi powered on, press F4 at the EmultationStation screen to go to a terminal. (This requires a USB keyboard connected to the Pi or a connection via SSH.)
After updating the RetroPie setup script, return to the command line prompt and enter:
Power on the NES30 Pro and put it in pairing mode. The LED lights will flash quickly in succession to indicate that is making itself known to the world.
After a few moments, the controller’s MAC address should appear in the terminal. Note the name of the controller. It should read “8Bitdo NES30 Pro.”
RetroPie Setup
RetroPie-Setup tries to aid Bluetooth installation. Make sure to run the bluetoothctl commands first. For me, RetroPie-Setup did not recognize the controller until the Bluetooth system was enabled via the terminal.
Setup Configuration > Configure Bluetooth Devices > Register and Connect to Bluetooth Device
Available from the RetroPie-Setup script. This menu handles the detection and setup of Bluetooth controllers.
The NES30 PRO will pair, and RetroPie-Setup will recognize it. However, be sure to activate Bluetooth using bluetoothctl and power on the NES30 PRO in pairing mode first.
Neither option helped EmulationStation recognize the NES30 PRO, but DisplayYesNo seemed to work better with jstest.
If this is the first time to pair a Bluetooth device after a fresh install of RetroPie 3.5, then you will see a number of Bluetooth security dialogs such as this one.
Edit udev
Some tutorials reported some success editing this file:
Make sure that the name is entered exactly as reported earlier: “8Bitdo NES30 Pro.”
Save and reboot the Raspberry Pi with sudo reboot. I saw no improvement.
No Gamepads Detected
After all of this effort, EmulationStation refused to detect the controller.
Still no success despite successful pairing during RetroPie 3.5 booting.
Powering on the controller in other modes did not help. However, pressing buttons on the NES30 Pro and then exiting with F4 showed error lines.
Report this to the SDL mailing list?
If this is an SDL issue, then it will require more effort to fix. SDL (Simple DirectMedia Layer) is often used with Linux to provide controller support. RetroPie-Setup recognized the controller fine. It was possible to navigate the menus using the NES30 PRO.
jstest
As long as the NES30 PRO is powered on, it should pair automatically when RetroPie boots. If not, it might take few retries by placing the NES30 PRO in pairing mode during boot time. We can see that the buttons work by running jstest and observing the button states as the buttons are pressed.
Something must be working behind the scenes because of the SDL errors:
(If joystick is not already installed)
In this case, js0 is the wireless Bluetooth NES30 PRO.
Hmm. It looks like the NES30 PRO is working fine after all. All buttons and joysticks respond instantly and without lag. The issue seems to be on the RetroPie 3.5/EmulationStation software side, not the hardware.
Conclusion
The quality and enjoyability of the NES30 Pro was certainly an unexpected surprise! As a retro USB controller, it is a superb match with RetroPie 3.5.
I never found a working solution when using Bluetooth, so this might require more time. Since NES30 PRO Bluetooth support is reported working with RetroPie 3.4, this might be a RetroPie issue, not a hardware issue.
With this in mind, if you desire a controller that puts the “retro” in RetroPie and you do not mind a wired USB connection, then you should be pleased with this fine little gem.
Источник
N30 Pro 2
- Android (4.0 и выше)
- MacOS (10.7 и выше)
- Windows (7 и выше, Bluetooth 4.0)
- Steam (Windows 7 и выше, MacOS 10.9 и выше)
- Switch (1.0.0 и выше)
- Raspberry Pi (2B, 2B+, 3B, Zero, Bluetooth 2.0 и выше)
- Беспроводное подлкючение по Bluetooth 4.0
- Проводное подключение по USB Type-C
- Крестовина (D-Pad), 2 аналоговых нажимаемых стика, 4 кнопки действия (A, B, X, Y), триггеры L1/R1, L2/R2, Start, Select
- Виброотдача
- Управление наклоном (Motion Control)
- Функция кнопки Turbo
- Встроенный аккумулятор на 480 мАч
- Время работы на полностью заряженном аккумуляторе — 18 часов
- Время полной зарядки аккумулятора — 2 часа
- Автоматичеcкое отключение геймпада при простое
- Обновляемая прошивка
- Соответствие стандартам CE, Reach, RoHS, TELEC, BQB, FCC
- Виброотдача
- Геймпад N30 PRO 2 (N Edition)
- Кабель USB Type-C
- Инструкция
- Упаковка 158x98x50 мм (300 гр)
- Геймпад 132x64x15 мм (90 гр)
- X-input
- D-input
- Mac mode
- Switch mode
Ретро-дизайн для современных игр
Огромный потенциал в небольшом устройстве. Это один из самых маленьких, но полнофункциональных контроллеров на рынке.
Качество сборки, материалов и элементов управления на высоте (это обычно для 8bitdo).
Теперь вам подвластны не только эмуляторы, но и полноценные современные игры.
Крепление для смартфона в комплект не входит и приобретается отдельно. Уточняйте наличие у менеджера.
Цена: 400 руб.
Полнофункциональный геймпад
Приятные бонусы сразу из коробки:
— Четыре дополнительных шифта (можно использовать как save/load, ускорение эмуляции и прочее)
— Два аналоговых нажимаемых стика
— Светодиодная подсветка боковин контроллера (невозможно оторвать взгляд)
— Провод USB
Идеальное применение этого контроллера — современные игры + эмуляторы ретро-консолей:
Sony PlayStation One
Sony PlayStation Portable
Nintendo 64
Nintendo Entertaiment System (NES) / Famicom / DENDY
SUPER Nintendo Entertaiment System (SNES) / Super Famicom
Sega MegaDrive (Genesis)
GameBoy (Original и Color)
GameBoy Advance
Источник