Skip to content

Instantly share code, notes, and snippets.

> bluetoothctl power on
Changing power on succeeded
> bluetoothctl agent on
> bluetoothctl discoverable on
Changing discoverable on succeeded
> bluetoothctl pairable on
Changing pairable on succeeded
@Langerz82
Langerz82 / emuelec-bluetooth
Last active June 2, 2023 12:02
EmuELEC dev - emuelec-bluetooth - v3 - issues - see comments.
#!/usr/bin/env python
from subprocess import Popen, PIPE
from dataclasses import dataclass
import time
DEBUG = True
@dataclass
@Langerz82
Langerz82 / emuelec-bluetooth
Last active June 2, 2023 22:10
emuelec-bluetooth 4.7 - Author: ebeem (https://github.com/ebeem)
#!/usr/bin/env python
from subprocess import Popen, PIPE
from dataclasses import dataclass
import time
import sys
DEBUG = False
@Langerz82
Langerz82 / fbneo-debug.txt
Created May 7, 2023 11:54
fbneo - debug - output
FBNeo v1.0.0.02
Loading config from /home/joslan/.local/share/fbneo/config/fbneo.ini
Loading config from /home/joslan/.local/share/fbneo/config/fbneo.ini
Found a joypad : XInput Controller
mapping (null)
mapping (null)
SDLSoundInit (44100Hz) (6000FPS)
*** Starting emulation of - 1944 - the loop master (000620 USA).
Cheat cpu-register INIT.
- 68K ROM size: 0xA327B720 (Decrypted with key)
@Langerz82
Langerz82 / setres.sh
Created April 15, 2023 12:26
EmuELEC - setres.sh - 6.4.1
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2022-present Joshua L (https://github.com/Langerz82)
# Read the video output mode and set it for emuelec to avoid video flicking.
# This file sets the hdmi output and frame buffer to the argument in pixel width.
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0"
@Langerz82
Langerz82 / asound.conf-amlogic-ng
Last active February 16, 2023 02:10
asound.conf-amlogic-ng - device 0 1
pcm.!default {
type plug
slave {
pcm "hw:0,1"
format S16_LE
rate 44100
}
}
ctl.!default {
@Langerz82
Langerz82 / yabasanshiro_debug_output.txt
Created February 13, 2023 21:01
yabasanshiro_debug_output.txt
Preference: opening /storage/roms/saturn/yabasanshiro/Street Fighter Alpha 2 (USA).chd.config
Preference: getInt Resolution:2
Preference: getInt Rotate screen resolution:0
Preference: getInt Aspect rate:0
Preference: getBool Rotate screen:0
Preference: getBool Use compute shader:0
context renderer string: "Mali-G52"
context vendor string: "ARM"
version string: "OpenGL ES 3.2 git.c8adbf9.122c9daed32dbba4b3056f41a2f23c58"
Extentions: GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_m
@Langerz82
Langerz82 / keymapv2.json
Created February 13, 2023 06:09
yabasanshiro - keymap START button not working.
{
"0_Xbox 360 Controller_030000005e0400008e02000001020000": {
"a": {
"id": 0,
"type": "button",
"value": 1
},
"analogl": {
"id": 1,
"type": "axis",
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"