Sponsored Content
Full Discussion: Use of bits.....
The Lounge What is on Your Mind? Use of bits..... Post 302911881 by bharat1211 on Monday 4th of August 2014 08:18:24 AM
Old 08-04-2014
Use of bits.....

Hi Friends..

Can anyone explain me the usage of bits....
I am unable to understand .....




Moderator's Comments:
Mod Comment I've moved this to a more appropriate forum on the board. Please consider where you are posting.

Last edited by rbatte1; 08-04-2014 at 10:35 AM.. Reason: moved thread and added comment
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing 24 bits to 8 bits display

Hello all, I was wondering if anyone can tell me how to change 24 bits depth display to 8 bits depth display for Sun Ultra1, running Solaris 8? THANKS in advance. I think that the command is ffbconfig, but it has nothing about depth. (4 Replies)
Discussion started by: larry
4 Replies

2. AIX

How to convert a partition usin 64 bits kernel to 32 bits kernel?

Hello there: I know that exist a procedure to convert an OS using 32bits kernel to 64 bits kernel. But, exist a procedure to convert an OS using 64bits to 32 bits kernel? Please help me. Regards. (2 Replies)
Discussion started by: GEIER
2 Replies

3. Post Here to Contact Site Administrators and Moderators

Bits

My bits count is increasing and decreasing frequently. I haven't get infractions at present. But my bits count is getting increasing and decreasing frequently. Previously it was not like that. May know the reasons please? Thanks in Advance. (3 Replies)
Discussion started by: thillai_selvan
3 Replies

4. UNIX for Dummies Questions & Answers

32 bits procesaor with 64 bits Solaris

people i have a problem i have a 32 bits sparc processor, and solaris 64 bits processor, i install a oracle data base 64 bits, but my oracle will not run because my processor is from 32 bits this is ok??, i know if i have x86 i cannot install a 64 bits operatin system in a 32 bits processor. ... (0 Replies)
Discussion started by: enkei17
0 Replies

5. Post Here to Contact Site Administrators and Moderators

Purchase from bits

I am referring this thread. New Bits Services for Forum Members I assumed this means that we can purchase the mentioned services from the bits available in the account. ( or I took it wrongly ?). When I click "Purchase" from the row "Request User Name Change (One Time)" The message... (2 Replies)
Discussion started by: clx
2 Replies

6. What is on Your Mind?

Place Bits & Win Bits!!! - 17th Annual Satellite Awards

Ten movies have been nominated as best motion picture by the International Press Academy, presentation of the 2012 Satellite Awards will be held on 16th December at Los Angeles, CA. Place your bits here on one of the below nominated movie of your choice:- Argo ... (0 Replies)
Discussion started by: Yoda
0 Replies

7. Post Here to Contact Site Administrators and Moderators

Where have all my Bits gone?

Hi there admins/moderators, I've just found that all my bits have vanished... both Savings and Checking accounts are showing '0' as the balance. I initially thought it was nefarious carry-on to blame but I can't see any evidence of a transfer out. Then I figured that bits had been... (3 Replies)
Discussion started by: Smiling Dragon
3 Replies
SDL_keysym(3)							 SDL API Reference						     SDL_keysym(3)

NAME
SDL_keysym- Keysym structure STRUCTURE DEFINITION
typedef struct{ Uint8 scancode; SDLKey sym; SDLMod mod; Uint16 unicode; } SDL_keysym; STRUCTURE DATA
scancode Hardware specific scancode sym SDL virtual keysym mod Current key modifiers unicode Translated character DESCRIPTION
The SDL_keysym structure is used by reporting key presses and releases since it is a part of the SDL_KeyboardEvent. The scancode field should generally be left alone, it is the hardware dependent scancode returned by the keyboard. The sym field is extremely useful. It is the SDL-defined value of the key (see SDL Key Syms. This field is very useful when you are checking for certain key presses, like so: . . while(SDL_PollEvent(&event)){ switch(event.type){ case SDL_KEYDOWN: if(event.key.keysym.sym==SDLK_LEFT) move_left(); break; . . . } } . . mod stores the current state of the keyboard modifiers as explained in SDL_GetModState. The unicode is only used when UNICODE translation is enabled with SDL_EnableUNICODE. If unicode is non-zero then this a the UNICODE character corresponding to the keypress. If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character: char ch; if ( (keysym.unicode & 0xFF80) == 0 ) { ch = keysym.unicode & 0x7F; } else { printf("An International Character. "); } UNICODE translation does have a slight overhead so don't enable it unless its needed. SEE ALSO
SDLKey SDL
Tue 11 Sep 2001, 23:00 SDL_keysym(3)
All times are GMT -4. The time now is 09:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy