Bluetooth mouse/keyboard emulation [closed] - keyboard

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm having a hard time finding a software that would emulates a Bluetooth keyboard (and/or mouse) that follows HID standard.
I've already found one, but I couldn't get it working: http://mulliner.org/bluetooth/xkbdbthid.php
I'm only interested in a solution that uses HID standard so that other machines can immediately recognize the soft as Bluetooth hid device, without the need of any pre-installed softwares. (Running under Windows or Linux if possible.)
Would it be possible to write a code in java to emulate Bluetooth hid devices?
Any help would be very appreciated, thanks!

It's been a while since you asked the question, but I'm going to add this answer anyway, it may help you or someone else.
I'm also interested in Bluetooth HID emulation, ideally from within some Java/Android code. However, I came across this Python-based script/project:
http://code.google.com/p/hidemulator
I've not tried this code myself, but from what I can see, the script is reasonably easy to follow. It currently only supports the PS3's six-axis controller, but maybe you (or I, if I ever get the time) could adapt the Nokia project's Keyboard and Mouse routines into the Python script (or convert it to Java/Groovy, which is my ultimate goal ;-) ).
Cheers
Rich

It's not you are searching for but for Android devices.
AndroHid
http://code.google.com/p/androhid/
You need rooted device.
Unfortunately it doesn't work on my Nexus S - Cyanogen 9

btkbdd does this for Linux with Bluez. See: https://github.com/lkundrak/virtkbd/blob/master/btkbdd.pod

Related

Bluetooth Beginner, Need Advice [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
So I'm hopelessly lost right now. I found an attractive bluetooth chip from Nordic Semiconductor (the NRF52840) that I want to use for a couple project ideas I have. Now I have an HC-05 module for my arduino, so I'm not entirely lost on programming a bluetooth module perse, but I really need advice on how I can make my own. I want to make a bluetooth module that works exactly like the HC-05 but on a much smaller scale. I'm talking fitbit small. I'm not making a smartwatch or fitbit, but that's relatively the size I would need it to be.
So bottom line to whoever got lost in that mumbling explanation of my hopelessness, I need some advice on how to develop my own Bluetooth module PCB. The onboard chip will be the aforementioned NRF52480. Thank you to anybody who helps!!
Given that you are endeavoring in a very complex task, I would recommend you to start from the reference designs provided by the chip manufacturer. They are very valuable, especially when dealing with RF.
See here and here, for example. About RF design, this talk may be interesting for you as well.

High level mp3 player library under linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I need to add some mp3 file playing functionality to my Linux based embedded application. Until now I used a system call (mpg123 -qm list of mp3 files). But now I don't have all the elements of the playlist, but get the next one only when I'm ready with the previous one. With mpg123 it means that I have some stupid noise between the tracks, as I always have to restart the mpg123 binary.
I was looking around for some libraries and found libmad, lame, sdl and co. But they seem to be a bit overcomplicated at first to handle. I found the fmod (http://www.fmod.org/index.php/download) library easy to use. But it's available only in binary format, which doesn't fit my ARM-based target (not to mention the licensing problems). Does anybody know about any similar, open source library capable of playing mp3 files similar to fmod?
mpg123 has an API, perhaps you could use that instead of calling the binary?
OK, finally with the help of houbysoft's hint i found a solution which uses libmpg123 and libao, here, and with some tuning i managed to get pretty smooth file-by-file playing. Thx for the hint!

Creating a Linux Desktop Envoriment [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Suppose I want to create my own desktop envoriment for Linux, without X. Like Google with the Android did. Where do I start? Is it actually a normal application that just draws stuff, and starts after the kernel boot? And how does it draw it? Using OpenGL or is there something more generic? And graphics drivers, how is it going? You should develop custom graphics drivers for your desktop or it comes with the Linux kernel?
Note: It's for normal PCs and not embedded devices.
Thanks.
See: DirectFB (and Wikipedia).
You can use the frame buffer device.
There are a few toolkits that render directly to the frame buffer for embedded device - even fully featured toolkits like Qt and wxWidgets can do it.
Well, you could study how OS X works in some detail.
You're probably best advised to keep most of the X server... it has a set of good device drivers already, and they're a very large part of the work.

Good framework for the game of Go (weiqi, baduk)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I enjoy the game of Go (also known as weiqi in China or baduk in Korea). I want to create a program (an evaluation function) to play it.
I would prefer if the framework handled two important tasks:
Handle rules for the game, including captures, ko rules, and final scoring.
Handle communication between a server like KGS and my program.
Also, my home machines run Linux or Mac OS X; I cannot use any only-Windows platforms.
Thank you!
GNU Go is a great open source Go program. Its evaluation function is well-documented and it provides an easy way to output the explanation for every move the program made. You can either replace the evaluation function from scratch with your own, or tinker with the existing one.
Open Go is an open source tool with code for communicating using the Go Modem Protocol. I believe that's what you need for the second part of your question.
This is an old question, but for people out there interested in an Android implementation of Go (Baduk/Weiqi) take a look at my project on https://github.com/amgreg/AndroidGo
It's a simple validator with a user-interface attached. Drawbacks are: No AI; no scoring; no server connection.

GUI Development in Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Wondering what are tools out there and which is better to use in GUI development that supports ARM and X86 arch applications.
thanks in advance,
T3nG
The Qt framework should work well for this.
Take a look on the Qt Creator IDE. It's has free(LGPL) version.
OpenMoko Freerunner¹ is ARM-based and it runs Qtopia/QtE, GTK and E17 UI stacks. All of them are also supported on x86. GTK is Cairo-based and I heard (not sure) that it uses lots of floating-point calculations though, so ARM with GTK might not be very fast.
¹http://wiki.openmoko.org/wiki/Neo_FreeRunner
you can use olso GTK with ruby or C.
much easier than swing
Maemo drives Nokia's internet tablets, which are ARM based.
Depending on the power of your device...
The biggest now could be:
GNOME Mobile
Qt Embedded
or if you have devices with much less capabilities, you can try simpler things like
Microwindows / NanoX
Of course, if your device is a mobile-like, you can also consider using Android ... who knows...
For a really RAD solution you can use
fpGUI
https://sourceforge.net/projects/fpgui/
http://www.turbocontrol.com/easyfpgui.htm
http://www.turbocontrol.com/embeddedfreepascal.htm
CodeTyphon
http://www.pilotlogic.com/sitejoom/index.php/gallery
http://www.pilotlogic.com/codetyphon/help/codetyphon_current_status.htm
http://www.pilotlogic.com/sitejoom/index.php/codetyphon
http://www.pilotlogic.com/codetyphon/help/layers_and_areas.htm

Resources