rajan72 / imame4all

Automatically exported from code.google.com/p/imame4all
0 stars 0 forks source link

mahjong game n slot game #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. all slot game can add credit but cannot bet
2. mahjong game cannot input a to z
3.

What is the expected output? What do you see instead?

is possible to use v keyboard to play mahjong?

What version of the product are you using? On what operating system?

xepria play android 2.3

Please provide any additional information below.

Original issue reported on code.google.com by Ngeri...@gmail.com on 7 Mar 2012 at 10:53

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. all slot game can add credit but cannot bet
2. mahjong game cannot input a to z

What is the expected output? What do you see instead?
I actually have an usb keyboard hooked up and it doesn't work as well.  it 
seems like the keys work as mapped keys but the inputs are not available.

What version of the product are you using? On what operating system?
HiSense Sero7 Pro w/ usb keyboard, android version 4.2

Please provide any additional information below.
looking through the source I can see that the keys used for Mahjong games 
IPT_MAHJONG_A to IPT_MAHJONG_SMALL from inptport.h don't seem to be able to be 
outputed.

The flow seems to be 
onKey takes input and maps it explicitly to a "keymapping" value
Then it's passed to handlePADKey -> setPadData -> setPadStatus
but because the keymapping filters basically set the input to "UP_VALUE,
DOWN_VALUE,LEFT_VALUE,RIGHT_VALUE, B_VALUE, X_VALUE, A_VALUE, Y_VALUE, 
L1_VALUE, R1_VALUE, SELECT_VALUE, START_VALUE,L2_VALUE,R2_VALUE" you will never 
be able to generate the IPT_MAHJONG_A to IPT_MAHJONG_SMALL needed for mahjong.

either more "emulator input values" need to be added for the case of mahjong or 
perhaps we need another inputhandler specifically for mahjong than can be set 
by the preference or options.  either way this (usb hard keyboards) must be 
tackled first before any talk of virtual keyboards can be addressed.

Original comment by SPoon...@gmail.com on 17 Aug 2013 at 9:55