This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pcm.!default { | |
| type plug | |
| slave.pcm "dmixer" | |
| } | |
| pcm.dmixer { | |
| type dmix | |
| ipc_key 1024 | |
| slave { | |
| pcm "hw:0,0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # SPDX-License-Identifier: GPL-2.0-or-later | |
| # Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert) | |
| # Copyright (C) 2022-present Joshua L (https://github.com/Langerz82) | |
| # Source predefined functions and variables | |
| . /etc/profile | |
| # Configure ADVMAME players based on ES settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var BinToHex = function (uint8array) { | |
| var len = Math.ceil(uint8array.length / 4); | |
| var hex = ""; | |
| for (var i=0; i < len; i++) { | |
| j=i*4; | |
| var num = uint8array.slice(j,j+4).join(''); | |
| hex += parseInt(num, 2).toString(16).toUpperCase(); | |
| } | |
| return hex; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import time | |
| from bluetool import Bluetooth | |
| if __name__ == "__main__": | |
| bt = Bluetooth() | |
| print('Scanning for available devices for 60 seconds, please wait...') | |
| bt.start_scanning(60) | |
| time.sleep(10) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import time | |
| import logging | |
| import sys | |
| from bluetool import Bluetooth | |
| logger = logging.getLogger(__name__) | |
| if __name__ == "__main__": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CoreELEC3:~ # dmesg | grep "fb\|hdmi" | |
| [ 0.000000@0]d Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,2160p60hz maxcpus=4 vout=2160p60hz,enable hdmimode=2160p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 androidboot.fake_rom_size=16 fake_mem_size=2 jtag=apao quiet androidboot.hardware=amlogic androidboot.logo_mode=0 androidboot.serialno=FB19201334 mac=80:00:ff:05:75:dc androidboot.mac=80:00:ff:05:75:dc androidboot.slot_suffix=_a bootfromsd systemd.show_status=auto | |
| [ 0.000000@0]d fb: osd1 | |
| [ 0.000000@0]d fb: loaded | |
| [ 0.000000@0]d fb: 0x3d800000 | |
| [ 0.000000@0]d fb: 2160p60hz | |
| [ 0.000000@0]d vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) | |
| [ 0.000000@0]d fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB) | |
| [ 0.000000@0]d PCI I/O : 0xf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: GPL-2.0-or-later | |
| # Copyright (C) 2021-present Shanti Gilbert (https://github.com/shantigilbert) | |
| PKG_NAME="gptokeyb" | |
| PKG_VERSION="0a9005074b6355bab8bc10a72a8302204e692862" | |
| PKG_ARCH="any" | |
| PKG_LICENSE="GPLv2" | |
| PKG_SITE="https://github.com/EmuELEC/gptokeyb" | |
| PKG_URL="$PKG_SITE.git" | |
| PKG_DEPENDS_TARGET="toolchain SDL2 libevdev" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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. | |
| # Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # SPDX-License-Identifier: GPL-2.0-or-later | |
| # Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert) | |
| . /etc/profile | |
| CONFIG_DIR="/emuelec/configs/advmame" | |
| export DISPLAY=:0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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. |