yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Accessories] oswade:
qwerty.kl layout for MS BT Mobile 6000

Here is my custom layout for MS BT Mobile 6000, plus its BT numberpad. Not sure whether it will work well with other keyboards or not, it only has 3 media keys (vol up, vol down, mute), so it wont provide any remapped media functions like the DX one.

Originally, one of the numberpad keys were mapped. Not sure if that is because it's different to standard numberpads, or if the default android layout just doesn't support numberpads. I mapped all keys to their corresponding functions except for num lock (Which I made "=").

I added notification bar pull down (PgDn), and remapped some keys which were in extremely awkward positions. Many keys are still unmapped (Most of the F keys), but imo its way better than the default layout.

Left ctrl + windows key + right ctrl are mapped to "Menu" This is because some apps, such as thinkfree office (quickoffice wont work) free with our SGS (FTW!) will allow you to copy by holding Menu+C (just like ctrl+c on windows). (thanks to TheBeano for that information 5ish posts above)

PgUp/Home is home (as printed, seems intuitive enough). Del is search (because android doesn't seem to have "Right delete" as a keycode. Someone please notify me if I have missed it).

Mute is power button (so lock/turn off screen, hold for popup menu etc). This is because the MUTE keycode didn't seem to do anything on my galaxy S in either the media player or ringtone.

I think thats about it. I didn't make a huge amount of changes, but it feels much more functional now to me. Especially that most of the android function keys - power, search, home, and notification bar, are grouped together on the far right of the keyboard.

Since I spent some time on it (mostly just figuring out how things worked, and testing different layouts), figured it would be a good idea to share.

I also included chris boyle's key test apk in the zip (in case it ever gets pulled), which was infinitely useful in knowing what code each key generated.

EDIT: Oh, and btw, there is no caps lock keycode in android. But if you press shift twice it will locks caps, just like in the soft keyboard :)

I'm going to be using my SGS as a poor mans netbook (or a rich mans phone?) to take notes at uni from now on hehe.

EDIT2: Realized I uploaded the wrong file T_T. fixed now :)
[Galaxy S I9000 Accessories] compuse:
Nokia's bluetooth keyboard is working like a charm, tried doom yesterday on the tv, just like the true experience =)

It's even noticing the ctrl and esc keys for shooting and quitting!

Scrolling trough the menu's is a little bit of a pain though, .. =/

I connected without any app inbetween, just directly by bluetooth!

SU-8W is a go!

(btw; pairing was weird but it worked, no idea what i did)
[Galaxy S I9000 Accessories] NZtechfreak:
Thanks Compuse, first post updated.
[Galaxy S I9000 Accessories] MadBob:
Just Bought an iGo stowaway like the dell one in the video, dont think you mention it on your post though, need to figure out the key mappings for the SGS. Also need to buy a mouse any suggestions?
[Galaxy S I9000 Accessories] NZtechfreak:
I haven't even worked them out to be honest!

Since I'm using the mouse as well I use that for back/context menus etc. The Dell mouse I have (the UN733) works well, right click is back, pressing the scroll wheel brings up the context menu, left click is select, long left click is long press, short press and move up/down/left/right functions as a screen swype... Perfect!
[Galaxy S I9000 Accessories] Kangal:
So let me get this straight,

the Zeemote works?

the Wiimote doesn't work?

the PS3 Sixaxis doesn't work?

the PS3 Dual-Shock3 doesn't work?

does the Logitec Mini-keyboard work? link: http://liliputing.com/2010/07/logitech-mini-keyboard-turns-the-dell-streak-into-a-mini-netbook.html
[Galaxy S I9000 Accessories] NZtechfreak:
The Logitech thing should work, Dell Streak has BT HID profile support so that will be how its interfacing with the device I would think.

The rest of your post is accurate. FWIW I don't think the Sony controllers work with any Android phone at present...
[Galaxy S I9000 Accessories] 12paq:
I have this Keyboard! Left over from my Pocket PC beta tester days (yes I'm old). ;) Wow so cool to here it will work on Froyo on the Galaxy S. I really agree the design of that keyboard is sheer genius. I'm stuck on 2.1 Ji6 on a US Vibrant, Froyo should come slow like all US upgrades, argh!

Are there any USB drivers that could be flashed as mods to my current firmware or do i have to wait again? I feel like a kid waiting for Christmas with these slow updates, comeon already!:cool:
[Galaxy S I9000 Accessories] MadBob:
Logitech M305 mouse doesn't work
[Galaxy S I9000 Accessories] ickyboo:
With a bit of modding you prob could do it with a Logitech Dinovo Mini :)
[Galaxy S I9000 Accessories] conorb101:
Will the Microsoft Bluetooth Number Pad work with Galaxy S? As for portable first person shooters all you need is tv out cable, a mouse and number pad. Maybe mouse and ZeeMote combo would work too.
[Galaxy S I9000 Accessories] oswade:
As I posted earlier, it will work however it requires you to map the buttons. Whether you can map them to the game buttons or not, I'm not sure (the game will probably need to support external controllers/keyboard itself)

Also, it's probably not very ergonomic for gaming...
[Galaxy S I9000 Accessories] m_i_e_p:
Logitech DiNovo EDGE

Hi.

I'm using Logitech DiNovo EDGE...

Galaxy with Froyo works fine with this keyboard/mouse-combo.

Just one click in bluetooth-settings and the keyboard appeared.

Entered the code and that's it.
[Galaxy S I9000 Accessories] OrionTC:
Someone in the voodoo project thread commented playing snes emulator using the wii mote? O_o
[Galaxy S I9000 Accessories] NZtechfreak:
Thanks for that pick up, I have messaged him to see what he's done - really hope there is a way!

First post updated with the Dinovo EDGE.
[Galaxy S I9000 Accessories] conorb101:
Thanks

The Mouse & Keyboard is the best combo for first person shooters, you don't need a full keyboard, just the number pad to move, mouse to aim.
[Galaxy S I9000 Accessories] OrionTC:
me too, i quoted his comment but had no reply, i then checked the Wii mote apps to see if there had been some update and i couldnt see anything!

still fingers crossed though!
[Galaxy S I9000 Accessories] chaoz666:
I'm using the KeySonic "Super Mini Keyboard" ACK-340BT. Even the touchpad works perfectly. Super Nintendo (Super Famicom) Emulators working without lags! :)
[Galaxy S I9000 Accessories] NZtechfreak:
Thanks chaoz666, first post updated.

I've not heard back from the guy claiming to be using WiiMotes with a GS, so I have to call BS on that one for now.
[Galaxy S I9000 Accessories] francoml:
Hi, my iGo Stowaway don´t work as it should...

All letters work, except for the H letter, that brings the lock screen and the letter D that don´t work...

Everything else is really smooth... anyone with the same problem? thanks

I am using froyo JP2.. should I update to JPM?
[Galaxy S I9000 Accessories] NZtechfreak:
No problems here, but I'm on JPK, so that could be why.
[Galaxy S I9000 Accessories] sukka69:
I bought the Nokia SU-8W mini keyboard from ebay and tested out. Paired and connecting without much problem, but some of the key not match when pressed. Can someone help out to solve this? I am using JPM Froyo 2.2 ROM.
[Galaxy S I9000 Accessories] maartenjanvdwielen:
Logitech v470 works like al charm

Ik love this mouse, easy to connect. Works out of the box!
[Galaxy S I9000 Accessories] TheBeano:
If you look back on page 4 of this thread there are some messages and links from me and oswade about setting up custom keymaps to fix problems like this.
[Galaxy S I9000 Accessories] svpb:
logitech multimedia pro for ps3 works great with the hid stack on froyo. there is some small problems with esc and function keys .. can any one tell me how to build a custom qwerty.kl to bind all keys
[Galaxy S I9000 Accessories] oswade:
Download keytest.apk https://github.com/chrisboyle/keytest/downloads

Pair keyboard and run keytest.apk

Press the keys that you want to map and note down their code values (iirc it provides 2 values, I can't remember which one.. im doing this from memory)

Then open qwerty.kl with a text editor and add/change the entries.

For example, you press ESC and the keycode is 100. So you can add to qwerty.kl

"key 100 BACK" (will be mapped to android back button)..

The events such as "BACK" are all here http://developer.android.com/reference/android/view/KeyEvent.html

But leave out the keycode part, so KEYCODE_BACK is just BACK.

Hope thats enough info for you to figure it out.
[Galaxy S I9000 Accessories] memamu:
I still tryed my Logitech Bluetooth Desktop MX5000 (keyboard) together with the MX Laser mouse with the I9000 on Froyo.

It worked great.
[Galaxy S I9000 Accessories] svpb:
This is awesome ,, thank you
[Galaxy S I9000 Accessories] maartenjanvdwielen:
it hurts so bad.......

*ordered a apple bluetooth keyboard

i need a keyboard that i can stay on my table and leaf it there for use with my Galaxy and pc, other keyboards look silly or huge if left open.

lets wait and see,

thanks for this threat it made me buy a keyboard and mouse :D
[Galaxy S I9000 Accessories] curti.nogg:
Sent from my Captivate
[Galaxy S I9000 Accessories] Matarick:
Please add the Sony Wireless Keypad for the Playstation 3 to the list.

Here is a quote from the Vibrant Accessories forum
[Galaxy S I9000 Accessories] wdkp:
First thanks a lot for the info

And YES it's working, thanks a lot!!!

I bought the Wireless Keypad for PS3 and tried with my Galaxy S, JPK.

Works really fine, except for the touchpad but it's not really important.

I just have a problem, if anyone try it out : The keypad i bought is Azerty, with french characters etc but when i use it it's like a Qwerty so if someone knows how to fix that, thanks a lot =)
[Galaxy S I9000 Accessories] xcreatir:
Using the following guide I was able to make the German Apple Bluetooth keyboard produce the keys it is supposed to.

http://xdaforums.com/showthread.php?t=504710

I attached the querty.kcm.bin file, which should work with most German QWERTZ keyboards. Just replace the original one (BACKUP!) within /system/usr/keychars

Edit: There are two keys, that do not work at all. The key above the tabulator (Keys: ^ ° ) and the between "y" and left shift (Keys: < >). Both do not generate a keycode, but a scancode, but I have no idea how to use those.
[Galaxy S I9000 Accessories] TheBeano:
If they're not generating a keycode you need to add the scancodes to qwerty.kl, see previous posts in this thread.
[Galaxy S I9000 Accessories] FlanFlinger:
Get in there my son!!!

I have just returned from Maplin (electrical/gadget/component shop) clutching one of these beauties, and it works a treat, even the joystick mouse, I'll go through and sort out what keys do what when young PoohFlinger is asleep.

http://www.maplin.co.uk/Module.aspx?ModuleNo=400035

http://cgi.ebay.ie/Mini-Wireless-Bl...rComponents_KeyboardsMice&hash=item1c17361145

Just the Zeemote to buy and I'll be in PSX4Droid and UAE4Droid heaven ! :D
[Galaxy S I9000 Accessories] xcreatir:
Ok.

With the hint from TheBeano I now have a completely working German QWERTZ Apple Bluetooth Keyboard connected to my Galaxy S Android Phone :)

Every key and even the Media Keys work fine. Chatting is thrice the fun now.

Just replace the files within the /system/usr/... directories with the files contained in the adjoined zip file.
[Galaxy S I9000 Accessories] jutezak:
When I type "wel " my phone turns it into "we'll ".

"im " turns into "I'm ".

This is with US locale and dutch Swype keyboard. Any way to turn this off?
[Galaxy S I9000 Accessories] NZtechfreak:
BT HID devices appear to no longer be working on the JPU 2.2.1 firmware - can anybody else replicate this problem?
[Galaxy S I9000 Accessories] TheBeano:
Keyboard still works for me in JPU.
[Galaxy S I9000 Accessories] NZtechfreak:
Damn, I wonder whats up with mine then... Other than flashing to JPU I also flashed Chainfires Root/2e recovery, is that the problem?

It sees them, recognises them for what they are, but when I try to pair it just does nothing, if I try again it says 'wrong passkey (or password, whatever)"...

EDIT: OK, strange, tried again and its working fine (gives a message that the Samsung keyboard must be in use in order to use a BT keyboard though).

EDIT EDIT: Thought it was working with Swype, but it changes the keyboard to the Samsung keyboard when its connected to a BT keyboard, sadly doesn't change it back afterwards...
[Galaxy S I9000 Accessories] Forge94:
EDIT: Never mind. Just realised I needed the scan codes, not the keycodes
[Galaxy S I9000 Accessories] gulbrillo:
Logitech diNovo Mini (mini keyboard and mouse media remote) is working quite nicely :)

http://www.logitech.com/de-de/keyboards/keyboard/devices/3848
[Galaxy S I9000 Accessories] bsc7080xsc:
PS3 Keyboard also works
[Galaxy S I9000 Accessories] karl999999:
chinfai blouetooth keyboard with german keys

after some searching and testing. this is what works for me and that keyboard to have almost all german chars. in the right place:

adb root
adb shell busybox mount -o remount,rw /system
adb push g2.kcm.bin /system/usr/keychars/Broadcom_Bluetooth_HID.kcm.bin
adb push g2.kl /system/usr/keylayout/qwerty.kl
adb shell "chmod 644 /system/usr/keychars/*"
adb shell "chmod 644 /system/usr/keylayout/*"

first of course download the 2 attached files (attached as 1 zip-file).

and you should have a rooted phone of course.

this should not affect your touchscreenkeyboard

!!use at own risk!!

PS: tested on Doc Rom JPX 6.2 with speedmod K12F kernel
[Galaxy S I9000 Accessories] bapsack:
i have a cygnet BT keyboard which should be hid compatible.

SGS i9000 JPY froyo 2.2.1 won´t accept it though

i cann connect but can´t write anything
[Galaxy S I9000 Accessories] bapsack:
Yep I recognize it as the cygnet BT keyboard mentioned above!

As many of the early BT Keyboards discontinued

But HID compatible

Though I don´t either have a clou how to connect

If it helps here´s the link to the brand http://www.cygnetuk.com/bluetooth_keyboard.htm

EDIT: Well I just connected the old Lady to my PC and could only see SPP but no HID! So I asume it doesn´t support HID profile!!! Quite a pity
[Galaxy S I9000 Accessories] frauhottelmann:
I just got a cheap BT-keyboard from dealextreme, I'll post a link one I find it again on their website. Works really well for typing and gaming (SNES and Gameboy emulator on my TV :D)...

EDIT: http://www.dealextreme.com/details.dx/sku.37154

Not all keys work (like caps lock (but pressing shift twice doees the job)), but most do!

And another edit: I am on JPX (Doc's ROM).
[Galaxy S I9000 Accessories] sci05:
hey i was just about to buy one, just wondering, does the capacitive keys work on it as well? cause that would be a very cheap alternative to the logitech.

*Update* wow. i just bought this and it's amazing! everything works. just trying to figure out the key maping. I highly recommend it.
[Galaxy S I9000 Accessories] OTOGY2002:
I tried the mini bluetooth keyboard for ps3, that is mounted on the dual shock 3, and it works perfectly !!!!!!!!

Please update your first post.
[Galaxy S I9000 Accessories] hakkers420:
how do you pair it??
[Galaxy S I9000 Accessories] sci05:
Hold the blue button on the top while turning the switch to on position. You should see some lights flashing and then search for devices on the galaxy s. Enter the passcode on the keyboard and hit return.

and if you experience a jittery mouse (enable mouse with the burton in the middle) you have to calibrate it by holding the top two buttons (red and blue) down.

Enjoy.
[Galaxy S I9000 Accessories] OTOGY2002:
WHEN WILL 'The use of the Wiimote ALSO AVAILABLE FOR U.S.?
[Galaxy S I9000 Accessories] pgibby081965:
Stowaway Keyboard

So chuffed as last night I finally got my old Stowaway Keyboard to work on my Galaxy. :D

Just a couple of questions:

1) Seems to be really long winded way to start it up each time - turn on bluetooth, go to paired devices & then connect to paired device - any shortcut available?

2) Haven't figured out how to map the function keys - can I do this with Android (Froyo). Worked great on my olde WinMo devices!

3) Or - is there a better keyboard I can get that does have function keys that work?

Thanks for any help/suggestions.

Phil
[Galaxy S I9000 Accessories] FlanFlinger:
My elcheapo one from Maplin, once paired initially, all you need to do is

1) turn on bluetooth on the phone

2)turn on the keyboard

3)hit enter on the keyboard

bobs your sisters brother and it's all running
[Galaxy S I9000 Accessories] TheBeano:
Yes look back a bit in this thread for keyboard mapping info and examples.
[Galaxy S I9000 Accessories] CuriousTech:
Here's one for this DX keyboard

It's very similar to the TheBeano's DX keyboard as far as media keys, but has a few more customized keys as well as function keys. Check comments at the bottom and make modifications as needed.
[Galaxy S I9000 Accessories] ilcontefabio:
Remote control to play, but if i want use to browse on internet?

With my SGS i can watch browser images on my samsung tv 50 inch plasma, with cable for tv-out (nokia cable), but the problem was that tv is far 3 meter to sofa and cable is 1 meter. Is there a Wireless/Bluetooth Keyboard with pad that i use to control my Android phone to browse on internet?
[Galaxy S I9000 Accessories] bapsack:
well i got this beauty for my sgs by now!

with the patched qwerty.kcm.bin I could apply a german keyboard layout! I also modified the qwerty.kl to made some functionkeys work..... but there are still 2 Problems:

1.: some keys doesn´t give out a scancode but only a keycode! How to modify the kcm.bin

2.: Sometimes especially when a word starts with a caital letter, the following "Umlaut" is written capital as well even though i didn´t press shift e.g. MÄnnchen or HÄuser or GrÜße

any Ideas????

ye old bapsack
[Galaxy S I9000 Accessories] CuriousTech:
Edit the kcm.bin in a hex editor. Look for the 16 byte row of the key you want to modify. I believe the 1st byte is scan code, then each char with modifiers (none, shift, alt, ctrl...) not sure what the order is. Like for A...

D1 A 2 a A a A

Put new values in and see what changes.
[Galaxy S I9000 Accessories] drxela:
Hello, I´m xela, from Spain. I have a Galaxy S with Bluetooth keyboard (HID). It´s a spanish brand, Inves. (Inves WKB-1500BT)

i56.tinypic.com/205z1uq.jpg

This keyboard (20 cm) works 50% with Android. It has joystick-mouse and touch-zone to scroll. It costs 35 €.

Well, almost all functions works with Android... letters, dots, commas, numbers, mouse...Only symbols fail. (Symbols are the blue characters under the letters, which are activated with "Fn" key at the same time).

With that...spanish have a problem:

"Juan José comió plátanos"

I don´t know the translate of ´ but it´s necessary to write correctly. Another character like Ñ also fail (holy spanish letter).

For that, I ask a way to "re-map" or fix these keys.

Thank you very much.

Regards
[Galaxy S I9000 Accessories] TheBeano:
You have to patch the keymap in /system/usr/keychars/qwerty.kcm.bin file to use Spanish characters. There are more details about this file here: http://jahrome.free.fr/index.php/keyboard-mapping-android-htc-desire?lang=en

Use a hex editor like Winhex to patch the file. If you look back in this thread there is more info about patching definition keyboard files.
[Galaxy S I9000 Accessories] drxela:
Thank you very very much. I´m glad with your answer. I´m going to read that blog...

Really, I never would have found the info. As you can see, english isn´t my best skill, for that I haven´t read all the topic.

Regards
[Galaxy S I9000 Accessories] drxela:
Well, I think I have advanced. I know how edit the "qwerty" file to change a character (Key Ç to APOSTROPHE) and it works.

But...I have another problem. Where is the ´ character? It´s the character that we use to write in spanish (especificación) .

I´ve search at KeyEvent list of Android Developers but it isn´t in any place... Neither Ñ character...

Android has these character because I use them with Virtual-touch keyboard...

Anybody knows what is the function to ´ character (accent mark)?

Regards
[Galaxy S I9000 Accessories] CuriousTech:
You'll need to look up each character, like on http://www.ascii-code.com/

If you can find spanish.kcm.bin it would be easier to start from there and rename that to querty.kcm.bin, or at least I'd think (backup your orginals).

Also I think it would be easiest to modify the Alt character that corespond to similar plain chars rather than Fn.
[Galaxy S I9000 Accessories] drxela:
Thank you for the answer and link. I´ve been working with qwerty.kcm.bin file and I understand it 50%.

i53.tinypic.com/dffab.jpg

I understand that each character (for example !) corresponds to a hex digit (in this example, 21). I also understand that "Offset" corresponds the scancode of the keys. But...how do I convert the numbers of "Offset" column?

Each key of keyboard is a line at .bin document but I don´t know which is each key...

Regards

PD: Thanks for the help, I feel I´m near to get it
[Galaxy S I9000 Accessories] CuriousTech:
Ignore the offset. That's just the position in the file for reference. i.e. offset 120h is 21h.

First go back up and install keytest

http://xdaforums.com/showpost.php?p=9217963&postcount=63

When pressing different keys you'll see the scan code (raw keyboard code). i.e. when you press 'E' it will show 21h. The .kl file translates that 21h to e, E or 3 depending on the modifier (Fn, shift, alt, ctrl). Change whichever ones are wrong.
[Galaxy S I9000 Accessories] drxela:
Thank you again.

Ok. With your information, I managed to edit the binary file and now I have the ACCENT MARK character (´) instead APOSTROPHE character.

I have host the accent mark at "ç" key to comfort, and..it works, but...not 100% again. The accent mark appears but not above the letter.

For example: I want to write "preocupación" but it appears "preocupaci´on".

Really, I don´t know what I should to do now...
[Galaxy S I9000 Accessories] CuriousTech:
Ah, I see what you're saying. You need to change all the characters. The ´ character and the ó are seperate characters. The ó is F3h so you need to change a key for each character. For example the Alt+O might be good.

In the .bin file the default entry is:

0001c0 2B 00 00 00 4F 00 36 00 6F 00 4F 00 28 00 00 00 +...O.6.o.O.(...

That last one "(" is Alt+O, so change the 28 to F3 and it will look like this:

0001c0 2B 00 00 00 4F 00 36 00 6F 00 4F 00 F3 00 00 00 +...O.6.o.O.ó...

So when you hold Alt and press O it will be a ó. Then you'll have to do that for each character using the ASCII table linked above.

Edit: I just found an easier or alternate way. It appears the last column of the row is for the Shift+Alt modifier. Using the original files, press Shift+Alt+E then press the normal key. So Shift+Alt+E then just E will type an é.

If you get into 16 bit unicode, I'm pretty sure it's little endian so something like 0123h would be 23 01 where 28 00 currently is, but you shouldn't have to mess with it when dealing with Spanish.
[Galaxy S I9000 Accessories] CuriousTech:
drexela try what I mentioned (edit) in the post above with your modified key. It may or may not work. If not, then you may have to use the method mentioned (Shift+Alt+E) then letter. I've never actually seen that kind of thing before.